EA31337/EA31337-strategies

RSI Price Filter

Opened this issue · 0 comments

kenorb commented

Discussed in #63

Originally posted by kenorb August 11, 2023

      if (rsi_buffer[i] < rsi_oversold && close[i] > ma_buffer[i])
      {
         // Generate a BUY signal (you can implement your own actions here)
      }
      else if (rsi_buffer[i] > rsi_overbought && close[i] < ma_buffer[i])
      {
         // Generate a SELL signal (you can implement your own actions here)
      }