OPEN-SOURCE SCRIPT
Updated

Zero Cross Buy/Sell

6 050
This is an oscillator.
Buy on zero cross from below.
Sell on zero cross from above.

It prevents risky buys when price is too high and too low. It is capable of recognizing long bear runs to prevent you prom buying

Best used with Bollinger Bands.

Based on RSI and Stochastic RSI
Release Notes
Tidied up source code so that it can easily be used in a strategy as a function.
Changed color defaults so that the main trend D is more visible
Release Notes
Added short title

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.