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
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
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