OPEN-SOURCE SCRIPT
Updated

The Godfather

2 704

This indicator uses a custom MA as well as RSI bar-flips, as a form of pivot point, to signal the direction of the trend.

The triangle markers on the chart are the RSI flipping from negative to positive, and vice versa.

The lighter shaded candles are up candles, the darker shaded candles are down candles.

Release Notes
Fixed a small quirk that I did not like:

The code now handles the previous RSI bar-flip, when the other conditions are not met, by comparing the closing price of the current bar with the MA.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.