OPEN-SOURCE SCRIPT
已更新 Overnight inventory

The indicator is dedicated for market / volume profile traders. It presents overnight inventory as a yellow number next to the indicator name on your charts. It does not plot anything.
If the number is positive then the inventory is net long and vice versa.
It is calibrated for US indicies, so it makes sense to use it only on US futures.
If the number is positive then the inventory is net long and vice versa.
It is calibrated for US indicies, so it makes sense to use it only on US futures.
版本注释
Update: - added an option to switch between:
1) just "ON inventory net long / short"; AND
2) "ON inventory long" (as a positive green color label) + "On inventory short" (as a negative red color label)
- improved how close is calculated
版本注释
just code cleaning版本注释
- changed how data are presented - it is table now instead of just numbers next to indicator name.
- added information about overnight range in a relation to previous period. It is 20 days by default. You can increase it, but watch out as Tradingview might not load the needed data if you go too far in the past and you end up with incorrect results. The lower the TF, the less in the past you can go. Anyway, the number presents standard devations (sigma) from the mode.
版本注释
I decided to change how overnight inventory is calculated. Instead on calculating a range above & below a previous close, now the script calculates volume traded above & below a close. 版本注释
- some bug fixing
- added information about contracts traded during overnight session - expressed as absolute value and as a standard deviation from a mean
版本注释
Small refinements开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。