I need an EA that opens trades automatically in the direction of the signal sent by BrainTrend Indicator and close current opened trade that should be in the opposite direction of this new signal. In other words, the EA should reverse trades continuously when BrainTrend indicator sends new signals (blue = BUY and red = SELL) found here: https://www.mql5.com/en/code/395 (also attached mq5 file). You can check the next image to understand what I mean:
The EA can depend on the BrainTrend Indicator or if you prefer or see it simpler, you can add the logic of the indicator to the EA as long as it works in an identical way, with same signals and same input fields.
I should be able to stop the EA manually or it should stop automatically if a fixed amount or percentage of equity or balance is reached.
The EA should be able to trade anything that can be traded in MetaTrader 5 from any broker.
I'd like a GUI (that should be able to be minimized) with the following options:
The EA should include the following Input fields in the properties:
IMPORTANT: EA should manage only the orders it opened in the chart where EA is running and should ignore orders opened in other charts, even if they were also opened by the same EA in that other chart.
I mention this because I've used other EAs that have a "Reverse" option and when selected, it reverses all open orders in MetaTrader, no matter in what currency or in what chart orders were opened.
For example, if I have the EA running for EURUSD in M5, M30 and H1 charts, EA running in M5 chart should only manage EURUSD orders it opened in his own M5 chart and should not touch other EURUSD orders opened by EAs in the M30 and H1 charts, even if they all are the same currency.
I might be adding more features in the future such as trend filters, Telegram notification, etc. so EA should be able to be updated and improved.