luisneves:
The counter is not set to zero when the order is placed, it is set to zero if the OrderSend() fails
Hi all,
Could you help me here,
Using the code I want to put to zero the counter if the condition fails.
Right now if;
if(BounceCount >= Bounce && Bid > BuyTrigger)
is true the ea puts the order and the counter is set to zero, but if it fails the ea do not put the order and the counter is not set to zero.
I appreciate any support from you and thank you in advance.
Luis Neves
Hi all,
Could you help me here,
Using the code I want to put to zero the counter if the condition fails.
Right now if;
if(BounceCount >= Bounce && Bid > BuyTrigger)
is true the ea puts the order and the counter is set to zero, but if it fails the ea do not put the order and the counter is not set to zero.
I appreciate any support from you and thank you in advance.
Luis Neves