From 9c9120c9f1f0baaba6ebc54c98916fc9ad3071fb Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Fri, 14 Feb 2020 07:49:08 +0100 Subject: [PATCH] autoscale --- Candles.js | 5 +++++ Volumes.js | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/Candles.js b/Candles.js index 71af87418..cf10c3d57 100644 --- a/Candles.js +++ b/Candles.js @@ -582,6 +582,11 @@ continue } + /* Contributing to Auto-Scale*/ + coordinateSystem.reportValue(candle.max) + coordinateSystem.reportValue(candle.min) + + //if (onScreenCandles.length < 15000) { onScreenCandles.push(candle) //} diff --git a/Volumes.js b/Volumes.js index 18d564740..3d4a72f56 100644 --- a/Volumes.js +++ b/Volumes.js @@ -699,6 +699,10 @@ thisObject.container.eventHandler.raiseEvent("Current Record Changed", currentVolume); } + /* Contributing to Auto-Scale*/ + coordinateSystem.reportValue(volume.amountBuy * 5) + coordinateSystem.reportValue(volume.amountSell * 5) + coordinateSystem.reportValue(0) } } }