Switching over from higher time frame to lower time frame

I am in 5 chart, Say I am writing a moving crossover system. I can see if moving average cross over happened in higher time frames from 5 minutes and higher ( 15min, daily or weekly) using TimeFrameSet() and TimeFrameRestore() functions. What if I want to see if moving average crossover happened in 1 minute or 3 minute time frame from 5 minutes time frame? Which means I have to access lower time frame values being in higher time ? Is it Possible ? Please help…

Thanks in Advance…

Yes it is possible, but you have to work with the lowest period you want to access, in your example you need to work with 1 minute data and timeframe to 3, 5, 15, etc

2 Likes