OPEN-SOURCE SCRIPT

Overnight inventory

Telah dikemas kini
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.
Nota Keluaran
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
Nota Keluaran
just code cleaning
Nota Keluaran
  • 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.
Nota Keluaran
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.
Nota Keluaran
  • some bug fixing
  • added information about contracts traded during overnight session - expressed as absolute value and as a standard deviation from a mean
Nota Keluaran
Small refinements
Volume Profile

Skrip sumber terbuka

Dalam semangat sebenar TradingView, penulis telah menerbitkan kod Pine ini sebagai sumber terbuka supaya pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda boleh menggunakan perpustakaan ini secara percuma, tetapi penggunaan semula kod dalam penerbitan ini adalah dikawal oleh Peraturan dalaman. Anda boleh menyukainya untuk menggunakannya pada carta.

Ingin menggunakan skrip ini pada carta?

Penafian