OPEN-SOURCE SCRIPT

Total Death and Golden Crosses Calculator

The Indicator calculates the total number of the death and golden crosses in the total chart which can help the moving average user to compare the number of signals generated by the moving average pair in the given timeframe.
All you need is to plot any two moving average then change the source of the indicator to get the total number of crosses.

If Indicator is not plotting anything then right click on the indicator's scale and click on "Auto(data fits the screen" option.
movingaveagecrossmoving_averageMoving AveragesnoisePine utilitiesTrend Analysis

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?

Disclaimer