From fb6ffc3bdac0f46402af35cb15d1a31077934d26 Mon Sep 17 00:00:00 2001 From: moshferatu Date: Sun, 1 Sep 2024 05:44:45 -0700 Subject: [PATCH] Add documentation for RSI divergence strategy parameters --- strategies/rsi-divergence/README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/strategies/rsi-divergence/README.md b/strategies/rsi-divergence/README.md index 7e97f7f..1843bba 100644 --- a/strategies/rsi-divergence/README.md +++ b/strategies/rsi-divergence/README.md @@ -9,6 +9,16 @@ This strategy was inspired by the following post on X: 1. On the hourly SPY chart, enter a long when the RSI is > than it was 5 bars ago but price is lower. 2. Exit the position when the RSI is > 70. +## Parameters + +**RSI Period**: The period to use in the RSI calculation. (Default: 14) + +**RSI Smoothing**: The smoothing period to use in the RSI calculation. (Default: 3) + +**Divergence Period**: The number of bars over which to check for divergence in the price and RSI value. (Default: 5) + +**Exit Threshold**: The RSI value over which to exit the position. + ## Backtest Results ### ETFs