Need MT3 Code help

To add comments, please log in or register
Dave77
168
Dave77  

Logic Statement Check:

ma3_0 = iMAEx(27,MODE_LWMA,0,PRICE_LOW,0);

If Close[1] < ma3_0 then . . .

Question: is Close[1] proper in this statement??

Scorpion
4009
Scorpion  

Yes, it is. Close[1] means the close price of previous bar.

Dave77
168
Dave77  

Thanks Scorpion!

Scorpion
4009
Scorpion  

You're welcome, mate.

To add comments, please log in or register