CBG MultiAverages Colors

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.
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.
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
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Untuk akses pantas pada carta, tambah skrip ini kepada kegemaran anda — ketahui lebih lanjut di sini.
Penafian
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Untuk akses pantas pada carta, tambah skrip ini kepada kegemaran anda — ketahui lebih lanjut di sini.