How to close trade when the EA gives the opposite signal
-
please this is the EA am testing https://fxdreema.com/shared/OmuEGMsE
but l would like to know how to set close trade when the EA gives the opposite signal. thanks in advance -

-
@ebony Just add a two 'close trades' block immediately below both buy/sell now blocks. Specify closing buys below 'Sell now, and sells below 'Buy now'.
-
please can you show me the graphical step am a bit lost because l cant find sell now /buy now
-
Here you go. Check in the trading actions bar and look for closed trades. Then select buys or sells to close and put them in your tree

-
thank so much but can you let me see how you add it properly because that is where l get lost and l dont know how to set setting of "Close trades"

-
@ebony Below the 'buy now' block select:
Filter by type ---> Sells.
And the opposite for the block below 'sell now'.
-
thank you so much please help me look in to it am I getting it right

-
Correct.
-
THANKS. you don't know how happy l am now though l have no programming knowledge
-
@ebony You're welcome.
