Download MetaTrader 5
To add comments, please log in or register
Learning MQL5? Start with documentation!
Deklin
26
Deklin 2015.05.22 01:08 

I would like to know how many minutes have passed since EURUSD was exactly 30 Pips lower than it is right now.

How can this be done with MT4? 

Keith Watford
Moderator
7960
Keith Watford 2015.05.22 02:13  

Loop back through the bars on the M1 chart using iLow if M1 is not the current chart 

If difference between the current price and the low is >=30 pips get the time of that bar and subtract it from TimeCurrent, divide by 60 

/
To add comments, please log in or register