PROTECTED SOURCE SCRIPT

OBV A / D with MA + Signals

3 738
This script focuses on On Balance Volume and detection of varying Accumulation and Distribution phases.

It also incorporates Moving Average Cross-Over/Cross-Under alert/shapes, to provide plots and alerts for these events, which correspond as Buy / Sell warning signals.

The default length of the Moving Average is 21 periods, and the default MA type is SMA. You can customize the length, as well as switch it to an EMA or HMA.

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.