Initial Balance & extensions Custom session time and IB duration

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.
- 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.
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.
Also, the auto-selection of session times depending of the futures contract on the chart has been improved.
Now, labels will be hidden by default.
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Sie können dieses Script für einen schnellen Zugang auf einem Chart Ihren Favoriten hinzufügen — erfahren Sie hier mehr.
Follow me on YouTube: youtube.com/channel/UCOyirS9cpfhDoh4ktRBJH8g
Haftungsausschluss
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Sie können dieses Script für einen schnellen Zugang auf einem Chart Ihren Favoriten hinzufügen — erfahren Sie hier mehr.
Follow me on YouTube: youtube.com/channel/UCOyirS9cpfhDoh4ktRBJH8g