OPEN-SOURCE SCRIPT
Mis à jour

Show Extended Hours (Futures & Crypto)

OVERVIEW
This indicator mimics TradingViews "Extended trading hours" background color settings. It is most useful on symbols that do not conventionally have extended hours, but are available to trade during those hours (ie. Futures and Crypto). Because market participation (ie. volatility) in a given symbol can change dramatically at or near these transitions, seeing conventional market open / closures expedites price action context around these transitions.

INPUTS
You can configure:
  • Background colors for both Premarket and After Hours
  • Which extended hours you would like to see
  • Market Hours and Time Zone
Notes de version
  • Minor cleanup.
  • Added ability to change the background color 1 hour before the open or close of the market.
Notes de version
The previous update added the ability to change the background color 1 hour before the market opens or closes. This update adds the ability to specify any number of minutes before a markets open or close.
Notes de version
Minor cleanup.
Notes de version
• User inputs were set to not display in the status line to minimize chart clutter.
Notes de version
Updated settings to use the session input and reduced script length.
Notes de version
• Visual cleanup of settings panel.
Notes de version
• Added Midday option. This is off by default.
• Minor setting format changes.
Notes de version
• Adjusted time evaluation to more reliably produce a bool.
• Removed unnecessary "var" from variables to reduce performance penalties.
• Logic format cleanup.

Clause de non-responsabilité