PROTECTED SOURCE SCRIPT

On Balance Volume Mod

14
A/D doesnt take into account the opening price, it just sees the difference in high to close wik vs close to low wik and adds volume
however if the closing price is above the opening price then arguably there was more buying action than selling
so adjusting A/D formula so that if close > open then it adds to volume not subtract
Effectively this becomes something in bw OBV and A/D
also we need not worry about gaps, since no tradding happens in gaps, so just a gap up / gap down doesnt have any accumulation / distribution effect

Wyłączenie odpowiedzialności

Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.