dman103

Moving Averages Histogram

An interesting idea is to simplify the display of whether ONE fast-moving average crosses FIVE other slower-moving averages using just a histogram.
The idea is to increase the step counter by 1 every time a fast-moving average crosses OVER one of the five slower-moving averages until reaching 5 (highest value) and decrease the step counter by 1 every time the fast-moving average crosses UNDER each one of the five slower moving averages until reaching 0 (lowest value of the histogram).

=== Cut To Chase ===
If the histogram is at the top value 5 (green), it means the FAST moving average is ABOVE ALL slower-moving averages, Hench, the asset is up trending.
If the histogram is at the bottom value 0 (red), it means the FAST moving average is BELOW ALL slower-moving averages, Hench, the asset is down trending.
If the histogram is in the midways between 0 to 5, it means the FAST moving average is starting to cross the slower moving averages which could lead to a trend reversal, up or down, it depends on the direction of the crossing.

=== Notes ===
You can change from a variety of moving averages like RMA, EMA, ALMA, HMA, and so on.
You can reduce the number of slow-moving averages by placing the same length.
You can visualize the moving averages in case you want to see how it works behind, by going to settings and clicking 'Show MA lines'.
Every moving average length can be modified inside settings.
Note that the fast-moving average should have the lowest length.

You can visualize how the moving average is plotted:

Appreciation of my work: paypal.me/dman103
Premium Pivot Points Algo Indicator: www.tradingview.com/script/LFBaHNuA-Pivot-Points-Algo/
LIVE Stream - Pivot Points Algo: www.youtube.com/channel/UCFyqab-i0xb2jf-c18ufH0A/live
Skrip sumber terbuka

Dalam semangat TradingView yang sebenar, penulis skrip ini telah menerbitkannya dengan menggunakan sumber terbuka supaya pedagang-pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda dapat menggunakannya secara percuma tetapi penggunaan semula kod ini dalam penerbitan adalah dikawalselia oleh Peraturan Dalaman. Anda boleh menyukainya untuk menggunakannya pada carta.

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.

Ingin menggunakan skrip ini pada carta?