Issue Managing Two Trades with Different Exit Logic (EMA Cross Strategy)
-
I’m currently building an EA in fxDreema based on an EMA cross strategy
I was able to successfully create the initial version of the EA using a fixed take profit, and it works as expected.
However, I’m now trying to modify the exit logic as follows:- Open two trades per signal
- Trade 1: Exit on an exit indicator flip
- Trade 2: Exit on the opposite EMA cross
The issue I’m facing is that this new setup is not working correctly as the exit logic is not working
Here is my project link: https://fxdreema.com/shared/sGD94oM0bI appreciate any sort of help, ty!
-
Easy. Just use group numbers. Group 1 can be used for exit one and group 2 for exit 2. You can see how to create groups here:
https://fxdreema.com/documentation/builder/groups-and-magic-numbers -
@l-andorrà Many thanks

-
You're welcome.