macd 추가수정

This commit is contained in:
Macbook
2026-06-16 01:29:42 +09:00
parent ea13347be8
commit 52300379c4
2 changed files with 59 additions and 8 deletions
+3 -3
View File
@@ -43,7 +43,7 @@ import {
} from './chartTimeFormat';
import { DEFAULT_DISPLAY_TIMEZONE, getTimezoneOffsetSec } from './timezone';
import { getPaneHostId, sortIndicatorsForPaneLoad } from './indicatorPaneMerge';
import { calculateIndicator, enrichIndicatorConfig, getIndicatorDef, getHLineLabel, type PlotData, type MarkerData } from './indicatorRegistry';
import { calculateIndicator, enrichIndicatorConfig, getIndicatorDef, getHLineLabel, resolveHLineDrawPrice, type PlotData, type MarkerData } from './indicatorRegistry';
import { filterObvPlotDataForChart } from './customIndicators';
import { IchimokuCloudPlugin, type IchimokuCloudPoint } from './IchimokuCloudPlugin';
@@ -1249,7 +1249,7 @@ export class ChartManager {
for (const hl of hlines) {
if (hl.visible === false) continue;
const pl = hlineHost.createPriceLine({
price: hl.price,
price: resolveHLineDrawPrice(config.type, hl, hlines),
color: hl.color,
lineWidth: Math.min(4, hl.lineWidth ?? 1) as 1|2|3|4,
lineStyle: toLineStyle(hl.lineStyle),
@@ -3558,7 +3558,7 @@ export class ChartManager {
for (const hl of hlines) {
if (hl.visible === false) continue;
const pl = hlineHost.createPriceLine({
price: hl.price,
price: resolveHLineDrawPrice(config.type, hl, hlines),
color: hl.color,
lineWidth: Math.min(4, hl.lineWidth ?? 1) as 1|2|3|4,
lineStyle: toLineStyle2(hl.lineStyle),