Hi everyone, I was just wondering if there is any possible way of avoiding using a loop and time arithmetic to find the index of a bar on a higher/lower timeframe that covers a specified time period. Similar to the iBarShift function in MQL4. Thanks in advance,