OPEN-SOURCE SCRIPT
已更新

Show Extended Hours (Futures & Crypto)

5 144
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
版本注释
  • Minor cleanup.
  • Added ability to change the background color 1 hour before the open or close of the market.
版本注释
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.
版本注释
Minor cleanup.
版本注释
• User inputs were set to not display in the status line to minimize chart clutter.
版本注释
Updated settings to use the session input and reduced script length.
版本注释
• Visual cleanup of settings panel.
版本注释
• Added Midday option. This is off by default.
• Minor setting format changes.
版本注释
• Adjusted time evaluation to more reliably produce a bool.
• Removed unnecessary "var" from variables to reduce performance penalties.
• Logic format cleanup.
版本注释
  • Converted to Pine Script v6
  • Added custom segments.
  • Simplified time logic.
  • Other minor enhancements.
版本注释
  • Added ability to specify the exact name and time range of each segment.
  • Simplified logic.

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。