OPEN-SOURCE SCRIPT
Updated

The Godfather


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