Looking for Feedback – EA Idea (SL & TP Logic w/ Trailing)

 

Hey everyone,

I’m looking to get an EA developed or to know if there are any avablibe that do this and wanted to get some feedback first to see if this approach is doable and makes sense.

Here’s what I’m aiming for:

🔹 The EA should run on just one chart and work alongside another EA I already have running. It shouldn’t interfere with any existing trade logic or management.

🔹 Core Logic:

  1. Standard TP Set on Entry:
    Trade opens with a regular TP.

  2. Stop Loss Kicks In After Partial TP Hit:
    Once a certain percentage of the TP is reached (like 50% or 75%), the EA activates a stop loss behind the price (either fixed or trailing).

  3. TP Removed & Trailing SL Enabled at Higher Profit:
    If the price continues and hits a higher percentage of the TP (say 90%), the EA removes the TP and enables a trailing stop to let the trade run and capture more profit.

Basically, I want to lock in some gains once a trade moves favorably, but still give it room to keep going beyond the TP if momentum continues.

Has anyone built something similar? Does this logic seem clean and realistic to code without conflicts?
Open to any feedback, improvements, or even warnings if there are better ways to approach this.

Cheers!

 
This is feasible. The orders you're referring to are under a different Expert Advisor, right?
 
hini #:
This is feasible. The orders you're referring to are under a different Expert Advisor, right?
That is correct a different EA will be placing orders for me, I’ll also be doing manual trades so it needs to be able to Cover all trades going on across the platform. 
 
Matt Sutton #:
That is correct a different EA will be placing orders for me, I’ll also be doing manual trades so it needs to be able to Cover all trades going on across the platform. 
No problem, you may proceed to find a suitable freelance developer to implement this.
 
Matt Sutton #:
That is correct a different EA will be placing orders for me, I’ll also be doing manual trades so it needs to be able to Cover all trades going on across the platform. 

There are many forums that these requests would be welcome, however, this is not one of those. I recommend that you search the codebase as your description details a number of trade management eas that I have found on there and what i use daily from there.

This forum is mainly for coding advice when the op includes their real attempt at coding, excluding those done by AI and ChatGPT.

 
if 2 different EA's and same trading instrument and applied on different charts then both EA's must have a separate magic number placed in coding. Magic number will differentiate trades of both EA's with interference with each other... and for tp, go for ATR multiplier tp with trailing system in place.. It will increase tp if deal goes in favor and will adjust automatically as per market volatility.