PROTECTED SOURCE SCRIPT
On Balance Volume Mod

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
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
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由使用,沒有任何限制 — 點擊此處了解更多。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由使用,沒有任何限制 — 點擊此處了解更多。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。