ninjatrader/strategies/5-period-rsi/README.md

34 lines
1.1 KiB
Markdown
Raw Normal View History

# 5-Period RSI
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.
## 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.
## 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)
## 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)
### 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)
---