OPEN-SOURCE SCRIPT

CBG MultiAverages Colors

Updated
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.


Release Notes
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.

Release Notes
Added new methods for paining candles and backgrounds.
Release Notes
Fixed screen shot
Release Notes
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

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


Also on:

Disclaimer