2025-01-02 16:59:19 +00:00
# 5-Period RSI
2025-01-02 17:04:14 +00:00
This strategy was inspired by the following:
[![5-Period RSI Rules ](https://static.moshington.com/images/strategies/5-period-rsi/strategy-rules.png )](https://x.com/QuantifiedStrat/status/1864591983798571278)
Refer also to the [2-Period RSI ](https://moshferatu.dev/moshferatu/ninjatrader/src/branch/main/strategies/2-period-rsi ) strategy which is closely related to this one.
2025-01-02 17:06:01 +00:00
## Rules
1. Enter a long trade when the 5-Day RSI is < 35.
2. Exit the trade when the current day's close is > the previous day's high.
2025-01-02 17:07:36 +00:00
## Parameters
**RSI Period**: The period to use in the RSI calculation. (Default: 5)
**Entry Threshold**: The RSI value below which to enter a long trade. (Default: 35)
2025-01-02 17:09:45 +00:00
## Backtest Results
### SPY
![SPY Analysis ](https://static.moshington.com/images/strategies/5-period-rsi/spy-analysis.png )
![SPY Summary ](https://static.moshington.com/images/strategies/5-period-rsi/spy-summary.png )
2025-01-02 17:11:45 +00:00
### QQQ
![QQQ Analysis ](https://static.moshington.com/images/strategies/5-period-rsi/qqq-analysis.png )
![QQQ Summary ](https://static.moshington.com/images/strategies/5-period-rsi/qqq-summary.png )
2025-01-02 16:59:19 +00:00
---