OPEN-SOURCE SCRIPT
已更新

First Candle

878
🕯️ First Candle Indicator (First 5-Minute Candle High/Low)
The First Candle indicator automatically marks the high and low of the first 5-minute candle of the U.S. trading session . These levels can act as key intraday support and resistance zones, often used in breakout, scalping, or opening-range trading strategies.

📌 Key Features:
Automatic detection of the first candle of the U.S. session based on the selected timeframe (default is 5 minutes).

Horizontal lines are plotted at the high and low of that candle, with fully customizable colors and thickness.

Labels show the exact level and timeframe used for the high and low.

Resets daily, removing previous session data at the start of a new session.

Displays a visual marker (blue triangle) when the first candle is detected.

Allows users to select different timeframes for defining the "first candle" (e.g., 1, 5, 15 minutes).

⚙️ Customizable Inputs:
Show First Candle Lines: toggle the display of high/low lines.

Timeframe for Marking: choose the timeframe to detect the first candle (e.g., 5 minutes).

High Line Color / Low Line Color: set the color of each level line.

Line Thickness: adjust the width of the lines (1 to 5 pixels).

🧠 Strategic Applications:
Identify breakout zones right after the market opens.

Define opening range for pullback or continuation setups.

Set clear reference levels for intraday trading decisions.
版本注释
Fix bug time.

免责声明

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