This forum is in read-only mode now. You may discuss your questions on forums of MQL4.community and MQL5.community

how to calculate the deference between High and LOW?


Back to topics list
avatar
1
PIPLINE 2010.06.14 05:08 

hello every body

i want to know how can i calculate the deference between High and LOW for last candle (High[1], Low[1]) and make it as a condition to start trade in my expert.


for example i tray the following code but didn't work


if (High[1] - Open[1] > 1)

return (1);


can any one help me??

Back to topics list  
Download MetaTrader 5 (450 Kb, web installer) — a new terminal for financial markets