Due to the complicated calculation the EFS file is taking all of my CPU and there is no need to calculate on every tick only on new candle, therefore I’m using setComputeOnClose() in preMain() but of course this way I have to wait for the first candle to close on market open to get the correct trendlines of my study. I’m using 60,30,13,8,5,3,1 Min Charts which means I would have to wait 60,30,13,8,5,3,1 minutes until I get the correct lines.
Is there a way to get the EFS study to update once upon market open and then on every new Candle not tick by using setComputeOnClose() or something else?
Thank you
Keto
Is there a way to get the EFS study to update once upon market open and then on every new Candle not tick by using setComputeOnClose() or something else?
Thank you
Keto
Comment