Determining what happened first

 
Is there a way in mql on a 5 min chart or any chart to look a bar other than the current bar and find out whether the high was made before the low and vice versa. Im trying to do this on the 5min chart. Im guess i could someone making a searching system on a 1 min chart to do this but imo it would be a real pain.
 
morpheus305 wrote >>
Is there a way in mql on a 5 min chart or any chart to look a bar other than the current bar and find out whether the high was made before the low and vice versa. Im trying to do this on the 5min chart. Im guess i could someone making a searching system on a 1 min chart to do this but imo it would be a real pain.

You can look at any bar you like in mql :)

https://docs.mql4.com/series

https://docs.mql4.com/predefined/variables

 
marynarz15:

You can look at any bar you like in mql :)

https://docs.mql4.com/series

https://docs.mql4.com/predefined/variables

From the standard functions you cannot tell if the high was made before the low.

morpheus305, you can look at smaller chart, e.g. 1 min, and i wouldn't say it's a big pain..

Regards!

 
marynarz15 wrote >>

You can look at any bar you like in mql :)

https://docs.mql4.com/series

https://docs.mql4.com/predefined/variables

you can assume that if bar is bullish low was first and high was second in time...

not precise but sometimes it works

Reason: