From 2d44142daf714058c370206e0433d503e35b0c80 Mon Sep 17 00:00:00 2001 From: Stefano Ariestasia Date: Sat, 17 Aug 2024 11:11:07 +0900 Subject: [PATCH 1/3] fix few typo --- technical/indicators/indicators.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/technical/indicators/indicators.py b/technical/indicators/indicators.py index dee1c24b..f3725af8 100644 --- a/technical/indicators/indicators.py +++ b/technical/indicators/indicators.py @@ -984,10 +984,10 @@ def VIDYA(dataframe, length=9, select=True): by averaging the price values of the periods, over which it is calculated. In the process, some extra value (weight) is added to the average prices, as it is done during calculations of all weighted indicators, such as EMA , LWMA, and SMMA. - But during the VIDIYA indicator's calculation, every period's price + But during the VIDYA indicator's calculation, every period's price receives a weight increment adapted to the current market's volatility . - select: True = CMO, False= StDev as volatility index + select: True = CMO, False= StdDev as volatility index usage: dataframe['VIDYA'] = VIDYA(dataframe) """ @@ -1021,7 +1021,7 @@ def VIDYA(dataframe, length=9, select=True): def MADR(dataframe, length=21, stds=2): """ - Moving Averae Deviation RAte just like bollinger bands ... + Moving Average Deviation Rate, similar to bollinger bands Source: https://tradingview.com/script/25KCgL9H/ Author: tarantula3535 @@ -1029,12 +1029,12 @@ def MADR(dataframe, length=21, stds=2): Simple moving average deviation rate and standard deviation. - The bollinger band is momentum value standard devition. - Bat the bollinger band is not normal distribution to close price. + The bollinger band is momentum value standard deviation. + But the bollinger band is not normal distribution to close price. Moving average deviation rate is normal distribution. - This indicator is draw Moving average deviation rate and fill area 2σ standard devition. - If it exceeds 2σ, it is a trading opportunity. + This indicator will define area within stds-σ standard devition. + If it exceeds stds-σ, it is a trading opportunity. """ From c737494ab68186d6ace7ffcdfdab7cc70c238fdd Mon Sep 17 00:00:00 2001 From: Stefano Ariestasia Date: Sat, 17 Aug 2024 11:12:35 +0900 Subject: [PATCH 2/3] fix typo --- technical/indicators/indicators.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/technical/indicators/indicators.py b/technical/indicators/indicators.py index f3725af8..fa37e822 100644 --- a/technical/indicators/indicators.py +++ b/technical/indicators/indicators.py @@ -1033,7 +1033,7 @@ def MADR(dataframe, length=21, stds=2): But the bollinger band is not normal distribution to close price. Moving average deviation rate is normal distribution. - This indicator will define area within stds-σ standard devition. + This indicator will define upper and lower boundaries based of stds-σ standard deviation. If it exceeds stds-σ, it is a trading opportunity. """ From 4f11a486b2aa396c5349c6e89bf59f977761bac2 Mon Sep 17 00:00:00 2001 From: Stefano Ariestasia Date: Sat, 17 Aug 2024 11:54:42 +0900 Subject: [PATCH 3/3] fix explanation of MADR --- technical/indicators/indicators.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/technical/indicators/indicators.py b/technical/indicators/indicators.py index fa37e822..6590847a 100644 --- a/technical/indicators/indicators.py +++ b/technical/indicators/indicators.py @@ -1033,7 +1033,7 @@ def MADR(dataframe, length=21, stds=2): But the bollinger band is not normal distribution to close price. Moving average deviation rate is normal distribution. - This indicator will define upper and lower boundaries based of stds-σ standard deviation. + This indicator will define upper and lower bounds based of stds-σ standard deviation of rate column. If it exceeds stds-σ, it is a trading opportunity. """