Hello Every one i am new here.i am not a programmer.i have a problem with my ea..can any one help
The problem is: EA Should open trade only Once when it gets a New Signal. it wont open any New trade unless it gets the Opposite Signal.
i am posting the code that i have find in a post..
and the final code that i have find is below..i haved attached my ea...just plz enter this code in my ea...thanks
Static bool Buy_Once=false,Sell_Once=false;
if(Buy Condition Met && !Buy_Once)
Buy=Open Buy Trade function;
Print("Buy Order Opened");
if(Sell Condition Met && !Sell_Once)
Sell=Open Sell Trade function;
Print("Sell Order Opened");