I am developing an indicator. I have included a data series of 1 month:
AddDataSeries("", new BarsPeriod { BarsPeriodType = BarsPeriodType.Month, Value = 1 }, 15, "", false);
I have also used:
Calculate = Calculate.OnEachTick;
Then when I try to print the time onbarupdate:
if(BarsInProgress == 1) {
Print(Time[0]);
}
the result is:
31/07/2020 23:00:00
31/08/2020 23:00:00
30/09/2020 23:00:00
30/10/2020 22:00:00
30/11/2020 23:00:00
31/12/2020 23:00:00
29/01/2021 23:00:00
26/02/2021 23:00:00
31/03/2021 23:00:00
30/04/2021 23:00:00
31/05/2021 19:00:00
30/06/2021 23:00:00
30/07/2021 23:00:00
Why it is onlyupdate on bar close and no on each tick?
Thanks

Comment