Translation of indicator from Pine Script to MQL4 and add EA auto trading function. The indicator gives buy & sell signals with ⬇ or⬆ plot arrows. The indicator does not give TP so I would need the sell trades to close if a buy signal is given and the buy trades to close if a sell signal is given.
The EA should use Heiken Ashi candles. I would like to have an option to have fixed lots and dynamic lots/ lot rising. This EA should have money management/ risk percentage. I want to be able to control MaxOpenTrades = 1000, MaxLongTrades = 1000, MaxShortTrades = 1000 and MaxPendingOrders=1000.
Pine script code is simple and does not have very many lines of code. EA must give the exact same results compared to TradingView indicator and must be error free of course. The indicator/EA has to execute trades at the same signals as the one in TradingView. The EA should work on all timeframes for BTCUSD, LTCUSD, ETHUSD, BCHUSD and XRPUSD pairs.