From cbba89ef0f534fc28507156efa2a8fc69a1ef224 Mon Sep 17 00:00:00 2001 From: DiTus Date: Wed, 18 Mar 2026 22:58:17 +0100 Subject: [PATCH] Set price format precision to 0 (integer) and minMove to 1 for all series --- js/ui/indicators-panel-new.js | 2 +- js/ui/indicators-panel.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/js/ui/indicators-panel-new.js b/js/ui/indicators-panel-new.js index 0e4b6bb..1abb654 100644 --- a/js/ui/indicators-panel-new.js +++ b/js/ui/indicators-panel-new.js @@ -906,7 +906,7 @@ function renderIndicatorOnPane(indicator, meta, instance, candles, paneIndex, li if (plot.type === 'histogram') { series = window.dashboard.chart.addSeries(LightweightCharts.HistogramSeries, { color: plotColor, - priceFormat: { type: 'price', precision: 4, minMove: 0.0001 }, + priceFormat: { type: 'price', precision: 0, minMove: 1 }, priceLineVisible: false, lastValueVisible: false }, paneIndex); diff --git a/js/ui/indicators-panel.js b/js/ui/indicators-panel.js index cc79035..a740e8a 100644 --- a/js/ui/indicators-panel.js +++ b/js/ui/indicators-panel.js @@ -550,8 +550,8 @@ function renderIndicatorOnPane(indicator, meta, instance, candles, paneIndex, li color: plotColor, priceFormat: { type: 'price', - precision: 4, - minMove: 0.0001 + precision: 0, + minMove: 1 }, priceLineVisible: false, lastValueVisible: false