Download MetaTrader 5

EA To trade only once per MA cross

To add comments, please log in or register
Eng How Tan
841
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 ?
Biantoro Kunarto
17014
Biantoro Kunarto  
You must show your code, otherwise people can't help you
Irwan Adnan
922
Irwan Adnan  
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
5566
Alejandro Cuartas  
You need to add a check if there are open operations
To add comments, please log in or register