I'm coding a strategy just to manage positions. I will open this only when I want to enter to market, and close when this exit the positions. The problem is that when I open the strategy on chart, this initially try to operate the past data of the chart and make a sort of historic run. This is not desired, because this change some variables that I need with initialized values at the beginning of the script.
In resume, I would like to know if I can avoid this historical run of the strategy, so the strategy start to run just with the current data, the data which is in the current bar as I open the strategy, it should be the start bar, not to try to run on past bars.
Thanks
Comment