PROTECTED SOURCE SCRIPT

On Balance Volume Mod

108
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

Declinazione di responsabilità

Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.