if we need to do some calculations like:
(iHigh("EURUSD",PERIOD_H1,0)-OrderOpenPrice())>0.0030) and used timeframe one hour, the problem when we move to the next frame may be the condition will not be available. I need to specify iHigh for the bar that i got OrderOpenPrice from it.
some people advice me to use OrderOpenTime() and shiftbar(), but i do not know how can i used them please provide me with example and many thanks.
(iHigh("EURUSD",PERIOD_H1,0)-OrderOpenPrice())>0.0030) and used timeframe one hour, the problem when we move to the next frame may be the condition will not be available. I need to specify iHigh for the bar that i got OrderOpenPrice from it.
some people advice me to use OrderOpenTime() and shiftbar(), but i do not know how can i used them please provide me with example and many thanks.