OPEN-SOURCE SCRIPT

Volume Difference Indicator

This indicator is a simple volume difference indicator.

How it works:
First we calculate the on balance volume, and then we calculate the price volume trend.

For those unaware, the OBV subtracts all volumes when price records a lower close and adds them in the case of a higher price close. In contrast, PVT subtracts or adds only a proportion of the volume from its cumulative total in relation to a percentage change in price.

Using this knowledge, we are using the difference of OBV (the indicator with the entire amount added or subtracted), minus PVT (which subtracts a percent based on the percentage in price), this gives us a unique indicator which out puts a more whole picture of the two indicators. It shows us the difference of absolute volume minus relative volume based on the percent of close price. It allows us to see large shifts in volume BEFORE it happens.

How to use this indicator:
When there is a sharp increase of Volume Difference Indicator, but close has NOT risen, price tends to rise immediately following this. When the Volume Difference Indicator drops, but price has NOT changed, price tends to fall immediately following this.
Breadth IndicatorsVolume

סקריפט קוד פתוח

ברוח TradingView אמיתית, מחבר הסקריפט הזה פרסם אותו בקוד פתוח, כך שסוחרים יוכלו להבין ולאמת אותו. כל הכבוד למחבר! אתה יכול להשתמש בו בחינם, אבל השימוש החוזר בקוד זה בפרסום כפוף לכללי הבית. אתה יכול להכניס אותו למועדפים כדי להשתמש בו בגרף.

רוצה להשתמש בסקריפ זה בגרף?

כתב ויתור