I have coded a multi TF indicator with a primary 5 min TF and a secondary 1 min TF. When I attach the indicator to a chart, the draw objects as well as print statments are drawn and printed at once for the entire data period until the end, before I begin scrolling the chart to the right. The same happens again if I "Reload NinjaScript". This is not the case for a single TF indicator. How can I make the MTF indicator calcuations in sync with the right end of the chart?
Best Regards,
Poseidon_Sthlm
Comment