ninjatrader/strategies/r3/README.md

51 lines
2.2 KiB
Markdown
Raw Normal View History

2024-09-25 13:23:15 +00:00
# R3
This strategy was taken from chapter 4 of [*High Probability ETF Trading*](https://moshferatu.dev/moshferatu/high-probability-etf-trading) (2009) by Larry Connors.
2024-09-25 13:27:47 +00:00
## Rules
**Long**
1. The ETF (e.g., SPY) is above its 200-day moving average.
2. The 2-period RSI drops 3 days in a row and the first day's drop is < 60.
3. If the 2-period RSI closes < 10, enter a long trade.
4. **(Optional Aggressive Version)** Enter a second long if price closes lower than the initial entry price at any point during the first trade.
5. Exit the trade when the 2-period RSI closes > 70.
2024-09-25 13:28:13 +00:00
**Short**
1. The ETF (e.g., SPY) is below its 200-day moving average.
2. The 2-period RSI rises 3 days in a row and the first day's rise is > 40.
3. If the 2-period RSI closes > 90, enter a short trade.
4. **(Optional Aggressive Version)** Enter a second short if price closes higher than the initial entry price at any point during the first trade.
5. Exit the trade when the 2-period RSI closes < 30.
## Parameters
**Long-Term Trend Period**: The period of the long-term trend as measured by a simple moving average. (Default: 200)
**RSI Period**: The period used in the RSI calculation. (Default: 2)
**RSI Smoothing**: The smoothing used in the RSI calculation. (Default: 1, no smoothing)
**Consecutive Days**: The number of days in a row that RSI must drop / rise. (Default: 3)
**Enable Long Trades**: Whether to enable taking long trades. (Default: true)
**Long First Day RSI**: The RSI value below which the first day's drop must be to enter a long trade. (Default: 60.0)
**Long RSI Entry**: The RSI value below which to enter a long trade. (Default: 10.0)
**Long RSI Exit**: The RSI value above which to exit any long trades. (Default: 70.0)
**Enable Short Trades**: Whether to enable taking short trades. (Default: true)
**Short First Day RSI**: The RSI value above which the first day's rise must be to enter a short trade. (Default: 40.0)
**Short RSI Entry**: The RSI value above which to enter a short trade. (Default: 90.0)
**Short RSI Exit**: The RSI value below which to exit any short trades. (Default: 30.0)
**Enable Aggressive Entries**: Whether to enable the optional aggressive trade entries. (Default: true)
2024-09-25 13:23:15 +00:00
---