Forum

PERIOD_H8

I have written an EA in MQL4 which returns some information about the previous bar with the following lines: double H1 = iHigh( NULL , PERIOD_H4 , 1 ); double L1 = iLow( NULL , PERIOD_H4 , 1 ); double R1 = H1 - L1; double HC = (H1 - C1) / R1; This works fine there is no problem. However if I change

MT4 build 610

Can somebody provide a link to download this build

Scripting Moving Averages of other indicators

Hi, Is it possible to create a moving average based on the value of another indicator, rather than price? I would like to create an EA which takes a signal when an indicator such as momentum or CCI crosses a moving average of itself. Is this possible, can anbody link me to anything which details how