Manage Other EA to Stop Buy or Sell Positions
-
I had a portfolio EA with 100 strategy. I need a help to create an EA to stop this EA form Buy only or Sell only or completely stop when the market price is above or below certain level.
-
@jimmy-chee Not completely sure I understand. Do you want an EA stopping and/or closing other EA's trades?
-
I already created an EA successfully closing other EA trades.
But I don’t know how to create this EA to stop Buy (Sell only) when market price above (limit) or below (anchor) specific (manual insert) value. Please advise.
-
@l-andorrà, I already created an EA successfully closing other EA trades.
But I don’t know how to create this EA to stop Buy (Sell only) when market price above (limit) or below (anchor) specific (manual insert) value. Please advise.
-
@jimmy-chee Ok. How are those price limits supposed to be inserted into the EA, manually or by any calculation?
-
@l-andorrà The limit and anchor price insert manually. Thank.
-
@jimmy-chee So let me put it together. You wil have several charts with several open trades created by those EA. Then you want to create a new separated EA that should stop those EAs from opening new trades. Is that correct? If so, I'm afraid that is not possible unless you 'connect' them in any way. For example by catching all their different magic numbers.
-
@l-andorrà Only one EA open in one chart. This EA contain 100 strategy inside. The magic number for this EA is 100. But very strategy have their specific number. EXP: strategy one is 000, trading under magic number 100000. Strategy two 001, trading under magic number 100001 and so on.
It is possible to create a new separated EA that should stop those EAs from opening new trades base on anchor and limit price.
EXP, If the anchor price is set for EURUSD 1.10000.
The EA do not open any new trades as buy if the strategy meets the criteria. But only open any new trades as sell if the strategy meets the criteria. -
@jimmy-chee AFAIK, I would say it is not possible. But why do you need a different EA if you can add those stopping conditions in the first one?
-
@l-andorrà Thank you, you are right.
-
@jimmy-chee You're welcome.