obv 그래프 오류
This commit is contained in:
@@ -472,7 +472,13 @@ function normalizeSignalLineIndicatorPlots(
|
||||
if (type === 'OBV') {
|
||||
const nextPlots = merged.map(p => {
|
||||
const reg = registryPlots.find(r => r.id === p.id);
|
||||
return reg ? normalizeDualLinePlotDef(p, reg) : p;
|
||||
if (!reg) return p;
|
||||
const normalized = normalizeDualLinePlotDef(p, reg);
|
||||
// OBV 본선 — DB 저장색(투명·신호선과 동일) 무시, registry 기본색 유지
|
||||
if (p.id === 'plot0') {
|
||||
return { ...normalized, color: reg.color };
|
||||
}
|
||||
return normalized;
|
||||
});
|
||||
return {
|
||||
plots: nextPlots,
|
||||
|
||||
Reference in New Issue
Block a user