I understand how the IsFirstTickOfBar works on live data...
My plan is to use "Calculate on each tick" in every indicator, but really calculate only on the first tick of the bar in order to get previous close...
Like "Close[1]"...
However, how will historical bars be treated when I have condition "IsFirstTickOfBar" but current state is historical?
Do I need to write a new logic in order to treat historical bars correctly?
All I really want is to calculate on BarClose, but being able to run indicator "OnEachTick" in live data (and OnBarClose when historical state or running through strategy analyzer which is same).
Thanks
Comment