Download MetaTrader 5

EA To trade only once per MA cross

To add comments, please log in or register
Download documentation as one file. It is easy!
Eng How Tan
810
Eng How Tan 2016.06.16 11:15 
Hi, im trying to code an EA, but the trade continue to open once the condition is meet.. i need some help.. so the trade only trigger per MA cross, until wait for next cross to trigger next trade.. any one who good in programming can help ?
Biantoro Kunarto
14896
Biantoro Kunarto 2016.06.18 06:57  
You must show your code, otherwise people can't help you
Irwan Adnan
886
Irwan Adnan 2016.06.19 05:13  
Eng How Tan:
Hi, im trying to code an EA, but the trade continue to open once the condition is meet.. i need some help.. so the trade only trigger per MA cross, until wait for next cross to trigger next trade.. any one who good in programming can help ?
I think you need one other variable which is indicate buy or sell already prevail.
Alejandro Cuartas
4716
Alejandro Cuartas 2016.06.24 09:00  
You need to add a check if there are open operations
To add comments, please log in or register