2024-11-25 16:18:08 +00:00
# IBS + RSI
2024-11-25 17:04:10 +00:00
This is a mean reversion strategy based on the [IBS (Internal Bar Strength) ](https://moshferatu.dev/moshferatu/ninjatrader/src/branch/main/indicators/internal-bar-strength ) and RSI (Relative Strength Index) indicators.
The strategy was inspired by the following:
[![IBS + RSI Rules ](https://static.moshington.com/images/strategies/ibs-rsi/strategy-rules.png )](https://x.com/QuantifiedStrat/status/1708949863084535856)
2024-11-25 17:07:03 +00:00
## Rules
1. The asset's (e.g., SPY) IBS must be < 0.25.
2. If the 21-period RSI is < 45 , enter a long trade .
3. Exit the trade when the current day's close is higher than the previous day's close.
2024-11-25 17:08:33 +00:00
## Parameters
**RSI Period**: The period used in the RSI calculation. (Default: 21)
**IBS Threshold**: The IBS value below which a long trade can be entered. (Default: 0.25)
**RSI Threshold**: The RSI value below which a long trade can be entered. (Default: 45.0)
2024-11-25 17:11:34 +00:00
## Backtest Results
### SPY
![SPY Analysis ](https://static.moshington.com/images/strategies/ibs-rsi/spy-analysis.png )
![SPY Summary ](https://static.moshington.com/images/strategies/ibs-rsi/spy-summary.png )
2024-11-25 17:31:04 +00:00
### QQQ
![QQQ Analysis ](https://static.moshington.com/images/strategies/ibs-rsi/qqq-analysis.png )
![QQQ Summary ](https://static.moshington.com/images/strategies/ibs-rsi/qqq-summary.png )
2024-11-25 17:33:48 +00:00
### DIA
![DIA Analysis ](https://static.moshington.com/images/strategies/ibs-rsi/dia-analysis.png )
![DIA Summary ](https://static.moshington.com/images/strategies/ibs-rsi/dia-summary.png )
2024-11-25 17:36:06 +00:00
### IWM
![IWM Analysis ](https://static.moshington.com/images/strategies/ibs-rsi/iwm-analysis.png )
![IWM Summary ](https://static.moshington.com/images/strategies/ibs-rsi/iwm-summary.png )
2024-11-25 16:18:08 +00:00
---