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:
진정한 TradingView 정신에 따라, 이 스크립트의 저자는 트레이더들이 이해하고 검증할 수 있도록 오픈 소스로 공개했습니다. 저자에게 박수를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 출판물에서 이 코드를 재사용하는 것은 하우스 룰에 의해 관리됩니다. 님은 즐겨찾기로 이 스크립트를 차트에서 쓸 수 있습니다.