OPEN-SOURCE SCRIPT

CBG MultiAverages Colors

已更新
The latest version of my multiple moving averages. Now includes up to 14 moving averge lines plus a separate slow and fast moving average that can be assigned a different MA type.

In the screen shot is the fast/slow set to Hull with 15/50 periods. It is overlaid on top of my Key Numbers indicator.

7 moving averages in 1 indicator, including the Hull Moving Average .

SMA
EMA
Weighted
Hull
Symetrical
Volume Weighted
Wilder
Linear Regression

Lots of other features like background shading and paint bar colors.


版本注释
Made improvements to the MultiAverages Colors indicator.

1. Bars and background are now painted based on the count of the number of Moving Averages going in a single direction. If the number of lines is greater than the Threshold amount, they will be full on green. Below that amount, red.

If the count is count is between 0 and the threshold, they will be mid green and mid red.

2. Added a toggle switch on the main parameters page to turn the fast/slow Moving Averages on and off.

3. Also added a toggle switch on the main parameters page to turn the slow and fast crossovers on and off.

4. Changed the default main Moving Average type to weighted.

5. Refactored and optimized some code.

版本注释
Added new methods for paining candles and backgrounds.
版本注释
Fixed screen shot
版本注释
Updates:
I've changed the default MAs to count from 3. This works great, especially with Renko bars.
I've added a new strategy based on the 13 / 14 MAs
Also converted to v4
I've removed all custom multi time frame code as that's now handled by default
Exponential Moving Average (EMA)hullLinear RegressionMoving Averagessmasymetricalvolumeweightedweightedwilder

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?


更多:

免责声明