I'm currently using the following line of code in my strategy:
csharp
Calculate = Calculate.OnEachTick; AddDataSeries(BarsPeriodType.Tick, 1);
Within my strategy, I require the use of both "OnEachTick" and "OnBarClose" calculations. Is there a way to achieve this combination?
Furthermore, when I'm inside the "OnBarClose" method, how can I leverage the prior use of AddDataSeries(BarsPeriodType.Tick, 1) to perform calculations as if I were in the "OnEachTick" context?
I genuinely appreciate the time you dedicate to helping us.

Comment