From 57c40ab25fbcef1803767c4f5ca73388648b7e8b Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Tue, 20 Feb 2018 15:38:19 +0100 Subject: [PATCH] onFileCursorReady --- Candlestick.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Candlestick.js b/Candlestick.js index 3e64038e8..42531266c 100644 --- a/Candlestick.js +++ b/Candlestick.js @@ -73,6 +73,9 @@ function onFileCursorReady() { + recalculateCandles(); + console.log("onFileCursorReady"); + let newFileCursor = fileCursorCache.getFileCursor(pTimePeriod); if (newFileCursor !== undefined) { // if the file ready is the one we need then it and we dont have it yet, then we will continue here.