macd 추가수정
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user