Need help with simple RSI buy Sell code - page 2

 

Hi Traders and Coders 

I need assistance with a code on MT5 RSI, below are how the EA should function.

BUY when RSI is below 20 (only open a trade/position at the close of current candle)

Sell when RSI is above 80  (only open a trade/position at the close of current candle)

additional conditions 

open a second position at the previous BUY or SELL 

 

If you don't get a response here, use the link below.

https://www.mql5.com/en/job

Trading applications for MetaTrader 5 to order
Trading applications for MetaTrader 5 to order
  • 2022.05.05
  • www.mql5.com
The largest freelance service with MQL5 application developers
 
sizwemsomi #: Hi Traders and Coders I need assistance with a code on MT5 RSI, below are how the EA should function. BUY when RSI is below 20 (only open a trade/position at the close of current candle)

Sell when RSI is above 80  (only open a trade/position at the close of current candle). additional conditions open a second position at the previous BUY or SELL 

Forum on trading, automated trading systems and testing trading strategies

Simple RSI Coding - please Help

Fernando Carreiro, 2022.05.05 11:00

Search the CodeBase there are several existing EAs for RSI with adjustable levels (30/70, or 20/80, etc.). Modify them according to your needs.