Need help!

 
Hello guys,

I'm trying to get the high/low value of the bar BEFORE the entry bar. How do I do it?

I think this is the entry bar's low/high (?): HighestValueOfTheBarBeforeEntryBar = High[iBarShift(NULL, 0, OrderOpenTime(), false)
What does the last variable (true/false) stands for anyway?

Thanks a lot
-Newbie
 

The last parameter in the iBarShift() function is used to give you an indication whether the exact bar you asked about exists.

For example, if the time is a Saturday, and the last parameter = true, it will return -1 because there are no FX bars on Saturday
(on most Dealers charts, there may be exceptions)

Reason: