TradingView
sl-wk
Jun 9, 2022 6:31 PM

Overnight inventory 

E-mini S&P 500 FuturesCME

描述

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.

版本注释

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
评论
AmandasTradesBang
Does time need adjusted when in different zone?
sl-wk
@AmandasTradesBang, the timezone is set in the code to GMT-4 (eastern time). Only thing that you can adjust is when ON session starts. By default, it is set to from 16.15 - 09.30 EST. If you need to use some other setting then just ensure that this period is in EST.
更多