OPEN-SOURCE SCRIPT
已更新 Net Positions (Net Longs & Net Shorts) - Volume Adjusted

Net Positions (Net Longs & Net Shorts) - Volume Adjusted
Based on the legendary LeviathanCapital - Net Positions Indicator
Adjusted to use volume calculation for more percise data
Few important caveats:
- EVERY BUYER NEED A SELLER AND EVERY SELLER NEED A BUYER
- This indicator is meant to give you a sense of direction for the market orders ("who is the aggresive side") and should be used as confluence not as true values
In reality, in market movement each candle will contain both buying and selling, contracts closing and opening but due to some limitations that is hard to make properly.
Even with these limitations this indicator can provide a better picture than some other even external tools out there.
The main benefit of using volume delta and open interest instead of just open interest and candle closes G/R that it solves the problem with extreme cases where there might be an absorption of market orders.
Example of the Volume Edge in Action:
Bullish Absorption (The "Trap" for Sellers)
Candle Close + OI: A large Red Candle forms with Rising OI. The interpretation is simply: "New shorts are opening"
Volume Delta + OI: The same Red Candle with Rising OI has a Positive Volume Delta.
The True Story: Aggressive buyers tried to push the price up, but they were completely absorbed by large passive sell orders.
The "Volume Delta" logic:
If OI ↑ → new positions opened
• Delta ↑ → net longs added
• Delta ↓ → net shorts added
If OI ↓ → positions closed
• Delta ↑ → shorts closing
• Delta ↓ → longs closing
The "Price" logic:
If OI ↑ → new positions opened
• Price ↑ → net longs added
• Price ↓ → net shorts added
If OI ↓ → positions closed
• Price ↑ → shorts closing
• Price ↓ → longs closing
Based on the legendary LeviathanCapital - Net Positions Indicator
Adjusted to use volume calculation for more percise data
Few important caveats:
- EVERY BUYER NEED A SELLER AND EVERY SELLER NEED A BUYER
- This indicator is meant to give you a sense of direction for the market orders ("who is the aggresive side") and should be used as confluence not as true values
In reality, in market movement each candle will contain both buying and selling, contracts closing and opening but due to some limitations that is hard to make properly.
Even with these limitations this indicator can provide a better picture than some other even external tools out there.
The main benefit of using volume delta and open interest instead of just open interest and candle closes G/R that it solves the problem with extreme cases where there might be an absorption of market orders.
Example of the Volume Edge in Action:
Bullish Absorption (The "Trap" for Sellers)
Candle Close + OI: A large Red Candle forms with Rising OI. The interpretation is simply: "New shorts are opening"
Volume Delta + OI: The same Red Candle with Rising OI has a Positive Volume Delta.
The True Story: Aggressive buyers tried to push the price up, but they were completely absorbed by large passive sell orders.
The "Volume Delta" logic:
If OI ↑ → new positions opened
• Delta ↑ → net longs added
• Delta ↓ → net shorts added
If OI ↓ → positions closed
• Delta ↑ → shorts closing
• Delta ↓ → longs closing
The "Price" logic:
If OI ↑ → new positions opened
• Price ↑ → net longs added
• Price ↓ → net shorts added
If OI ↓ → positions closed
• Price ↑ → shorts closing
• Price ↓ → longs closing
版本注释
*Up to 500 price labels update版本注释
- Add experimental Multi-exchnage aggregated option- Fixed some quote/base currency problems
版本注释
Small mistake :)开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。