This project is to create a MetaTrader EA that can recognize when a trade has been manually altered by the user and stops managing that trade. More specifically, the following steps are involved:
1. Create an EA that (using a set magic number) upon first attachment enters three trades - a sell, buy and a sell if . The EA has a trailing stop of a set amount of pips and every tick updates the trailing stop as necessary for each of the trades.
2. The EA should recognize if the stoploss or takeprofit of each trade was altered manually, and if so, it should cease using the trailing stop on that trade. The EA should continue to update the other trades.
The EA must be able to, upon restart, continue to recognize a trade was manually altered and not alter its stoploss for the trailing stop. However, the EA should open three more trades and add them to the trade "pool".