Expert Advisor (EA) Requirements for MT4 - custom indicator Trade Opening Conditions: The EA will detect buy (green arrow) and sell (red arrow) signals from a specified custom indicator. Lot Size and Take Profit Configuration: Example of configurable lot sizes and associated take profits (TP): Entry 1: Lot size 0.20 – TP1 Entry 2: Lot size 0.30 – TP2 Entry 3: Lot size 0.20 – TP3 Entry 4: Lot size 0.10 – TP4 Entry 5: Lot size 0.50 – TP5 All trades should have their stop losses set based on the signal from the indicator. all trades should have their TPs set based on the signal from the indicator Trailing Stop Logic Initial Stop Loss Adjustment Once TP1 is hit on the first trade, the stop loss of all remaining trades (those that haven't reached their own TP) should be moved to the entry level of the first trade. Subsequent Trailing Logic: After TP1 is hit and stop losses are moved to the entry level of the first trade, the stop losses for each trade should then be trailed according to each respective take profit level. For example, once TP2 is hit, the stop loss for that trade will move up to the level of TP1, and so on. This logic ensures that as each TP is hit, the remaining trades lock in profits progressively while maintaining the trailing stop logic based on the order of take profits. EA should have breakeven feature Compatibility: The EA should be compatible with all MT4 currency pairs and timeframes. The EA should be compatible with the MT4 chart template for seamless integration. Source Code: The source code of the EA should be provided. Time Considerations: • Strictly follow the timeframe note: indicator gets freeze on strategy tester so after coding the EA it should be tested on live market on demo account .