I tried adding check for IsFirstTickOfBar to indicator's OnBarUpdate, but that didn't help. I guess it's because it's receiving tick data from the parent (strategy) so it sees each tick as a new "bar"
Is the only solution to create a custom closed-bars-only data series in my strategy like "closedBarsOnly15Sec" and pass that to my indicator? Or can I somehow pass BarsArray[0] but NOT including the current open bar 0?

Comment