I have main series of 5 min timeframe and secondary series of 60 min.
On my secondary timeframe I have an SMA, and I want to calculate it not only on secondary Timeframe will close, but calculate it in realtime. How can I do this?
And one more thing - I want to calculate 5min series on bar close. How to separate this logic? Thank you.

Comment