How to find whether High came first or Low in previous finished candle ?

Created at 04 Jun 2015, 14:42
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
TR

trend_meanreversion

Joined 31.07.2014

How to find whether High came first or Low in previous finished candle ?
04 Jun 2015, 14:42


Hi ,

Can anyone please help me to code a snippet which could help me determining whether High came first or Low in previous candle ?

Urgently need help , as i can't figure it out . Please advise.

 

 


@trend_meanreversion
Replies

trend_meanreversion
04 Jun 2015, 16:07

Don't bother about it guys. I think i figured it out. I will post my code by creating a robot which will save OHLC ( Bid/Ask ) , IsHighFirstFlag , HighTime, LowTime in a file.

 

 


@trend_meanreversion