OPEN-SOURCE SCRIPT
Atualizado Initial Balance & extensions Custom session time and IB duration

The indicator will plot Initial Balance levels and extensions. The session start and end times are configurable depending on instrument, as well as the Initial Balance end time. The session times must be entered in the underlying instrument's timezone, for example:
ES-futures (Chicago Timezone)
Session Start: 0830
Initial Balance End: 0930
Session End: 1515
US-Stocks (New York Timezone)
Session Start: 0930
Initial Balance End: 1030
Session End: 1600
Europe Futures (Madrid Timezone)
Session Start: 0800
Initial balance End: 0900
Session End: 2200
Colors and linewidths are also customisable.
ES-futures (Chicago Timezone)
Session Start: 0830
Initial Balance End: 0930
Session End: 1515
US-Stocks (New York Timezone)
Session Start: 0930
Initial Balance End: 1030
Session End: 1600
Europe Futures (Madrid Timezone)
Session Start: 0800
Initial balance End: 0900
Session End: 2200
Colors and linewidths are also customisable.
Notas de Lançamento
Added fancy labelsNotas de Lançamento
Now you can control how many days you want the Initial Balance displayed on, in order not to clutter your charts too much. For the same reason, you can also control now whether labels will be displayed only for today or on all days selected.Notas de Lançamento
Great update to include following features:- AUTOSET SESSION & IB TIMES: the script will auto-set the session start and end times, as well as initial balance times, depending on the chart symbol (only for US and EUR futures). No need then to adjust the times if you change symbol. If the symbol is not found or you disable this feature, it will use the times set in the parameters.
- optional Initial Balance background fill
- optional background fill for the open range (first bar of session)
-optional background fill for all bars outside the cash session.
Notas de Lançamento
Added the possibility to extend the Initial Balance and Open Range levels and fills into the next overnight session.Also, now the draw Initial Balance for the last nDays parameter will now only affect the extra lines and labels, not the IB levels themselves.
Removed the background fill for the Overnight session, which has now been implemented in my OHLC RTH and ON script.
General code overall simplified.
Notas de Lançamento
Bugfix that prevented the current IB lines to be drawn in real timeNotas de Lançamento
Now you can select the Initial Balance duration.Also, the auto-selection of session times depending of the futures contract on the chart has been improved.
Notas de Lançamento
Improved auto selection of session times for different instruments and implementation of my library SetSessionTimes.Now, labels will be hidden by default.
Notas de Lançamento
Minor bugfixNotas de Lançamento
Improved labels, now showing the session you chose in parameters and optionally the price value of each level.Notas de Lançamento
Fixed strange bug preventing some levels and labels to be shown if the chart timeframe was the same as the IB duration.Script de código aberto
No verdadeiro espirito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam entendê-lo e verificá-lo. Parabéns ao autor Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações e regida pelas Regras da Casa.
Para acesso rápido no gráfico, adicione esse script para seus favoritos — saiba mais aqui.
PolloLoco Trader
Follow me on YouTube: youtube.com/channel/UCOyirS9cpfhDoh4ktRBJH8g
Follow me on YouTube: youtube.com/channel/UCOyirS9cpfhDoh4ktRBJH8g
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.
Script de código aberto
No verdadeiro espirito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam entendê-lo e verificá-lo. Parabéns ao autor Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações e regida pelas Regras da Casa.
Para acesso rápido no gráfico, adicione esse script para seus favoritos — saiba mais aqui.
PolloLoco Trader
Follow me on YouTube: youtube.com/channel/UCOyirS9cpfhDoh4ktRBJH8g
Follow me on YouTube: youtube.com/channel/UCOyirS9cpfhDoh4ktRBJH8g
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.