How to zoom into a 4hour candle and get 1min candles ONLY relevant to it?

Hi,

As the question states I am trying to zoom into the current candle I am on and access lower time frame candles only relevant to CURRENT candle.

In my case, the data I have supplied consists of 1-min candles but I have written my backtests to trade on the 4-hour time frame. Occasionally within the backtest, I need to be able to 'zoom in' to the current 4-hour candle and get the 1-min candles only relevant to THAT 4-hour candle.

I feel that this can be performed using a combination of functions TIMEFRAMERESET() and DateTime() but I am not exactly sure how.

Appreciate any advice/code/help! Thank you!

This topic was automatically closed 100 days after the last reply. New replies are no longer allowed.