A lot of EA could be "profitable in backtest" but not in live trading.
Your algo triggered buy when
- RSI < 20
- MA cross above
- preceded by a bull candle with relatively large body
In reality, in so called oversold, there is often a bull candle and then the market continue to fall

