From 94cc66213dea4e3505f122696d54bef46f6c6777 Mon Sep 17 00:00:00 2001 From: moshferatu Date: Fri, 15 Nov 2024 06:27:15 -0800 Subject: [PATCH] Add parameters to Advances and Declines documentation --- strategies/advances-and-declines/README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/strategies/advances-and-declines/README.md b/strategies/advances-and-declines/README.md index d6cc227..cee4461 100644 --- a/strategies/advances-and-declines/README.md +++ b/strategies/advances-and-declines/README.md @@ -18,4 +18,18 @@ As with most of the strategies from this book, they are meant to illustrate cert 2. If the ratio of **declines to advances** is at least 2 : 1, enter a long trade. 3. Exit the trade after 5 trading days (~1 week). +## Parameters + +**Advances**: The portion of the ratio associated with advances. (Default: 1.0) + +**Declines**: The portion of the ratio associated with declines. (Default: 2.0) + +**Long-Term Trend Period**: The period of the long-term trend as measured using a simple moving average. (Default: 200) + +**Days to Exit**: The number of days to wait before exiting any trade. (Default: 5) + +*Whichever of Advances or Declines is greater is what is used as the numerator in the ratio.* + +The default settings specify a declines / advances ratio of 2 : 1. + --- \ No newline at end of file