Hello,
I am a developer coming from the mql5 official portal...
I have many ideas about your project that we can discuss by chat.
In example here some suggestion:
-close by dollar profit (at certain amount of dollar reached)
-close by equity percent (close at % of your equity, useful with automated MM)
-close by RSI (will close if the strength of the price is higher or lower of x RSI value)
-close by time (if you discover that in some moment of the day it useful to close the operations)
-close by ATR (ie. if the current price range -of the current timeframe or also other timeframe is 80 pips, you can decide to close the trade if this value or X % of this value is reached)
-close by any other STANDARD or CUSTOM indicator value is reached (Price above/below bollingers, Moving average or any other indicator)
-Breakeven, this function cannot missing in my EA's...I always merge this with trailingstop...
-Partial close takeprofit (ie. if you open 1 lot, and you set PartiaClose TP 50% at 100pips, the EA will close 0.50 lots in profit and keep another operation opened at 0.5 lots)
All of these features can be integrated into your EA, and you are free to enable and disable them separately and modify any single value.
Just ping me by chat, where we can discuss more about this...