Spezifikation
This is a fairly simple job for anyone who has done it before. Please convert Pine Script code into an MT5 EA. The code is 8 lines in total and uses no custom indicators. It is not complicated.
A Buy trade should be closed by a Sell signal and vice versa
Also please add controls for lot volume, magic number, stop loss, take profit, trailing start, trailing stop, trailing step.
The tricky but essential part, is that it should be configured to be able to trade on 1 second, 5 second, 10 second, 15 second, 30, second, and 45 second timeframes, plus all the standard mt5 timeframes. Also custom timeframes (custom seconds/minutes). There should be an option in the EA to select which timeframe that it trades on, and this would override whatever timeframe is on the chart/strategy tester.
The EA should be able to backtest and live trade properly with no issues.