OPEN-SOURCE SCRIPT

5Bar Signal

A 5 bar counting on the moving average indicator. It will show a sell signal if there are 5 bars closing below the moving average and a buy signal if there are 5 bars closing above the moving average
CyclesforecastingMoving Averages

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