02-04-2019, 02:50 PM
From a quick scan, you should just set candleSize : 1, no need for the array and random pick any more. Then you can easily check if it actually is the candle size causing the crashes.
Can't really see anything untoward otherwise. On the timeframes you have a *1 on the end, which does nothing but shouldn't cause a crash...
Can't really see anything untoward otherwise. On the timeframes you have a *1 on the end, which does nothing but shouldn't cause a crash...