If you have a statement like this...
if Cond1 and Cond2 then buyatmarket...
then in the same code do this..
If cond1 and cond2 then
1. Buyat market
2. Cond1=false, cond2=false.
That will stop the buy orders being triggered.
Maji

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 Guys,
HOw can I amend an EA so that it places only 1 order when the BUY conditions are met....no matter if the position is open for days or even months....at the moment my EA is opening another BUY order when the TP is reached...I want it to wait for the next signal...and not to open another BUY order....
Thanks
Babar