MultiTime frame for barcount for loop

Hi All,
I need help for doing multiTime frame code for explore function.
if candle is closed more than 2% last day and current day it went down less than .20% from last day close and again come back upward and break last day high.

problem I am getting is how to proceed in 5 min timeframe after daily time frame way

for loop barcount way

//Afl for checkin if candle is closed more than 2% last day and current day it went down less than .20% from last day close
// and again come back upward and break last day high.

TimeFrameSet( inDaily );
for(i=1;i<BarCount;i++){

per =  ((Close[i-1]-Open[i-1])/Close[i-1])*100;
if(per>2){
TimeFrameRestore();
//Need to go next day to check 5min if it went .10% down and again coming back previous day high close 
//*******Need help here how to proceed.******

}
}

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