Open Trades Manually But Close Trade By EA is that possible?

Komugi  

Hi there,

I just want to know if that possible to make an EA but only for closing our open trade when certain parameters have met!

for example:

I Manually open 3 trades at buy EURUSD .. whenever Completed bar close below EMA 12 LOW
all those 3 buy open trades that we opened Manually will be closed at the same time by EA!

so as you can see as a trend trader our SL & TP are based on moving avarage EMA 12 High & Low!


Rules For Close Trade

Type:Completed Bar (Only all completed bars count)

Close(Buy) Strategy: When Close Price below(Lower than) EMA 12 Low

Close(Sell) Strategy: When Close Price Above(Higher Than) EMA 12 High

thanks in advance!

Paul75  

I think, it is possible but an experienced coder can develop such EA according your closing requirements.

D-Day  
Did this EA end up getting developed? I’m looking for something very similar. Essentially an EA that will close manually opened trades when a candle closes above (sell) the 13 EMA or below (buy) the 13 EMA.
Vladimir Karputov  
D-Day :
Did this EA end up getting developed? I’m looking for something very similar. Essentially an EA that will close manually opened trades when a candle closes above (sell) the 13 EMA or below (buy) the 13 EMA.

Here is the code:  iMA Close positions opened manually