TradingView
andre_007
2022年8月11日午後10時55分

Moving Averages Refurbished 

Dow Jones Industrial Average IndexDJ

詳細

Introduction
This is a collection of multiple moving averages, where you can have a rainbow of moving averages with different types that can be defined by the user.
There are already other indicators in this rainbow style, however certain averages are absent in certain indicators and present in others,
needing the merge to have a more complete solution.

Resources
Here there is the possibility to individually define each moving average.
In addition, it is possible to adjust some details, such as themes, coloring and periods.
Regarding the calculation of averages, credit goes to the following authors.
What I've done here is to group these averages together and allow them to combine.

Credits
TradingView
PineCoders
CrackingCryptocurrency
MightyZinger
Alex Orekhov (everget)
alexgrover
paragjyoti2012

Moving averages available

1. Exponential Moving Average
2. Simple Moving Average
3. Relative Moving Average
4. Weighted Moving Average
5. Ehlers Dynamic Smoothed Moving Average
6. Double Exponential Moving Average
7. Triple Exponential Moving Average
8. Smoothed Moving Average
9. Hull Moving Average
10. Fractal Adaptive Moving Average
11. Kaufman's Adaptive Moving Average
12. Volatility Adjusted Moving Average
13. Jurik Moving Average
14. Optimized Exponential Moving Average
15. Exponential Hull Moving Average
16. Arnaud Legoux Moving Average
17. Coefficient of Variation Weighted Exponential Moving Average
18. Coefficient of Variation Weighted Moving Average
19. * Ehlrs Modified Fractal Adaptive Moving Average
20. Exponential Triangular Moving Average
21. Least Squares Moving Average
22. RSI Moving average
23. Simple Triangular Moving Average
24. Triple Hull Moving Average
25. Variable Index Dynamic Average
26. Volume-weighted Moving Average
27. Zero-Lag Exponential Moving Average
28. Zero-Lag Simple Moving Average
29. Elastic Volume Weighted Moving Average
30. Tillson T3
31. Geometric Moving Average
32. Welles Wilder Moving Average
33. Adjusted Moving Average
34. Corrective Moving average
35. Exponentially Deviating Moving Average
36. EMA Range
37. Sine-Weighted Moving Average
38. Adaptive Moving Average TABLE
39. Following Adaptive Moving Average
40. Hilbert based Kaufman's Adaptive Moving Average
41. Median
42. * VWAP
43. * Rolling VWAP
44. Triangular Simple Moving Average
45. Triangular Exponential Moving Average
46. ​​Moving Average Price Correlation
47. Regularized Exponential Moving Average
48. Repulsion Moving Average
49. * Symmetrically Weighted Moving Average

* fixed period averages

リリースノート

[Error] Removed duplicate moving average: triangular simple moving average

リリースノート

Added "End Point Moving Average".

Thanks to Franklin Moormann (cheatcountry).

リリースノート

1. Script updated to use one single library.
2. Moving averages are now sorted alphabetically.
3. New moving averages added. For more information:
tradingview.com/script/HsHPovkk-Moving-Averages-Proxy/
4. Optimization in the source code.
5. Modification in the coloring rule of the bars.

リリースノート

Updated individual moving averages.

リリースノート

Corrected the logic for the color of lines and background.
There is a situation, for example, in which moving average 1 is equal to average 2, but moving average 1 is made up of highs and moving average 2 is made up of lows, making MA1 > M2 always, even if the price is below or above.

That's why an option was added to choose the logic for choosing the colors of the lines and/or background.

Examples:



リリースノート

1. Added option to switch timeframe.
2. Optimized code (reduced from 20 averages to 15 averages: processing was too slow).
3. Added 'Donchian Middle Channel High-Low Version' average.
コメント
TheStopLossBoss
Sweeeet
Omni-Trading
A much easier way to do those ribbons with a lot less code within a function
andre_007
Updated list of moving averages, with their respective acronyms used:

AARMA = 'Adaptive Autonomous Recursive Moving Average'
ADEMA = '* Alpha-Decreasing Exponential Moving Average'
AHMA = 'Ahrens Moving Average'
ALMA = 'Arnaud Legoux Moving Average'
ALSMA = 'Adaptive Least Squares'
AUTOL = 'Auto-Line'
CMA = 'Corrective Moving average'
CORMA = 'Correlation Moving Average Price'
COVWEMA = 'Coefficient of Variation Weighted Exponential Moving Average'
COVWMA = 'Coefficient of Variation Weighted Moving Average'
DEMA = 'Double Exponential Moving Average'
DONCHIAN = 'Donchian Middle Channel'
EDMA = 'Exponentially Deviating Moving Average'
EDSMA = 'Ehlers Dynamic Smoothed Moving Average'
EFRAMA = '* Ehlrs Modified Fractal Adaptive Moving Average'
EHMA = 'Exponential Hull Moving Average'
EMA = 'Exponential Moving Average'
EPMA = 'End Point Moving Average'
ETMA = 'Exponential Triangular Moving Average'
EVWMA = 'Elastic Volume Weighted Moving Average'
FAME = 'Following Adaptive Moving Average'
FIBOWMA = 'Fibonacci Weighted Moving Average'
FISHLSMA = 'Fisher Least Squares Moving Average'
FRAMA = 'Fractal Adaptive Moving Average'
GMA = 'Geometric Moving Average'
HKAMA = 'Hilbert based Kaufman\'s Adaptive Moving Average'
HMA = 'Hull Moving Average'
JURIK = 'Jurik Moving Average'
KAMA = 'Kaufman\'s Adaptive Moving Average'
LC_LSMA = '1LC-LSMA (1 line code lsma with 3 functions)'
LEOMA = 'Leo Moving Average'
LINWMA = 'Linear Weighted Moving Average'
LSMA = 'Least Squares Moving Average'
MAMA = 'MESA Adaptive Moving Average'
MCMA = 'McNicholl Moving Average'
MEDIAN = 'Median'
REGMA = 'Regularized Exponential Moving Average'
REMA = 'Range EMA'
REPMA = 'Repulsion Moving Average'
RMA = 'Relative Moving Average'
RSIMA = 'RSI Moving average'
RVWAP = '* Rolling VWAP'
SMA = 'Simple Moving Average'
SMMA = 'Smoothed Moving Average'
SRWMA = 'Square Root Weighted Moving Average'
SW_MA = 'Sine-Weighted Moving Average'
SWMA = '*Symmetrically Weighted Moving Average'
THEME = 'Triple Exponential Moving Average'
THMA = 'Triple Hull Moving Average'
UMBRELLA = 'Triangular Exponential Moving Average'
TRSMA = 'Triangular Simple Moving Average'
TT3 = 'Tillson T3'
VAMA = 'Volatility Adjusted Moving Average'
VIDYA = 'Variable Index Dynamic Average'
VWAP = '*VWAP'
VWMA = 'Volume-weighted Moving Average'
WMA = 'Weighted Moving Average'
WWMA = 'Welles Wilder Moving Average'
XEMA = 'Optimized Exponential Moving Average'
ZEMA = 'Zero-Lag Exponential Moving Average'
ZSMA = 'Zero-Lag Simple Moving Average'
andre_007
Moving averages available:

1. Exponential Moving Average
2. Simple Moving Average
3. Relative Moving Average
4. Weighted Moving Average
5. Ehlers Dynamic Smoothed Moving Average
6. Double Exponential Moving Average
7. Triple Exponential Moving Average
8. Smoothed Moving Average
9. Hull Moving Average
10. Fractal Adaptive Moving Average
11. Kaufman's Adaptive Moving Average
12. Volatility Adjusted Moving Average
13. Jurik Moving Average
14. Optimized Exponential Moving Average
15. Exponential Hull Moving Average
16. Arnaud Legoux Moving Average
17. Coefficient of Variation Weighted Exponential Moving Average
18. Coefficient of Variation Weighted Moving Average
19. * Ehlrs Modified Fractal Adaptive Moving Average
20. Exponential Triangular Moving Average
21. Least Squares Moving Average
22. RSI Moving average
23. Triple Hull Moving Average
24. Variable Index Dynamic Average
25. Volume-weighted Moving Average
26. Zero-Lag Exponential Moving Average
27. Zero-Lag Simple Moving Average
28. Elastic Volume Weighted Moving Average
29. Tillson T3
30. Geometric Moving Average
31. Welles Wilder Moving Average
32. Adjusted Moving Average
33. Corrective Moving average
34. Exponentially Deviating Moving Average
35. EMA Range
36. Sine-Weighted Moving Average
37. Adaptive Moving Average TABLE
38. Following Adaptive Moving Average
39. Hilbert based Kaufman's Adaptive Moving Average
40. Median
41. * VWAP
42. * Rolling VWAP
43. Triangular Simple Moving Average
44. Triangular Exponential Moving Average
45. ​​Moving Average Price Correlation
46. Regularized Exponential Moving Average
47. Repulsion Moving Average
48. * Symmetrically Weighted Moving Average
詳細