complete bar need help

 
Hi, i'm new in mql4 and need help

now i'm trying to code my ea with condition;

1) run in m1 chart and do entry using complete bar on m1
2) i want do exit at m5 complete bar or above (m15,m30,m60,....).

i'm facing a problem on how to code that my m1 ea can read larger bar.
sorry for my bad english..i hope some one can help..

thanks.
 
Use iHigh(Symbol(),PERIOD_M5), iLow(Symbol(),PERIOD_M30), iTime("EURUSD", PERIOD_H1) , etc. See Timeseries access
 
Rosh:
Use iHigh(Symbol(),PERIOD_M5), iLow(Symbol(),PERIOD_M30), iTime("EURUSD", PERIOD_H1) , etc. See Timeseries access
Thanks Rosh...i'll try it..
Reason: