PROTECTED SOURCE SCRIPT
已更新 Higher Timeframe Candles (Dynamic Display)

Key Features:
1. Higher Timeframe Candles Visualization:
Displays up to 5 candles from a user-selected higher timeframe (e.g., 15-minute, hourly).
Each candle includes:
Body (open-close range) and wicks (high-low range).
Customizable appearance settings for width, colors, and transparency.
2. Horizontal Price Levels:
Calculates and plots important levels based on the higher timeframe candles:
Max High: Highest price among the displayed candles.
Min Low: Lowest price among the displayed candles.
Midpoint: The midpoint between Max High and Min Low.
Quarter Points: 25% and 75% levels within the Max-Min range.
Each level's line appearance (color, width, style) can be customized, and price labels can be displayed.
3. Fair Value Gaps (FVG):
Detects bullish and bearish fair value gaps (FVGs) based on three consecutive candles:
Bullish FVG: Middle candle's low is higher than the previous candle's high.
Bearish FVG: Middle candle's high is lower than the previous candle's low.
Highlights FVGs with colored boxes and optional labels showing gap height.
4. Inside/Outside Bar Detection:
Identifies inside bars (current candle is entirely within the previous candle) and outside bars (current candle exceeds the previous candle's range).
Labels these patterns above the candles for easy identification.
5. Alerts for Key Levels:
Alerts are triggered when the current price crosses:
Max High
Min Low
Midpoint
Alerts help traders act without monitoring the chart constantly.
6. Customization Options:
Fully customizable input options for candles, levels, FVGs, and labels:
Appearance settings: Colors, widths, styles, transparency.
Toggle visibility for specific features (e.g., FVGs, labels, quarter points).
Label precision and positioning.
1. Higher Timeframe Candles Visualization:
Displays up to 5 candles from a user-selected higher timeframe (e.g., 15-minute, hourly).
Each candle includes:
Body (open-close range) and wicks (high-low range).
Customizable appearance settings for width, colors, and transparency.
2. Horizontal Price Levels:
Calculates and plots important levels based on the higher timeframe candles:
Max High: Highest price among the displayed candles.
Min Low: Lowest price among the displayed candles.
Midpoint: The midpoint between Max High and Min Low.
Quarter Points: 25% and 75% levels within the Max-Min range.
Each level's line appearance (color, width, style) can be customized, and price labels can be displayed.
3. Fair Value Gaps (FVG):
Detects bullish and bearish fair value gaps (FVGs) based on three consecutive candles:
Bullish FVG: Middle candle's low is higher than the previous candle's high.
Bearish FVG: Middle candle's high is lower than the previous candle's low.
Highlights FVGs with colored boxes and optional labels showing gap height.
4. Inside/Outside Bar Detection:
Identifies inside bars (current candle is entirely within the previous candle) and outside bars (current candle exceeds the previous candle's range).
Labels these patterns above the candles for easy identification.
5. Alerts for Key Levels:
Alerts are triggered when the current price crosses:
Max High
Min Low
Midpoint
Alerts help traders act without monitoring the chart constantly.
6. Customization Options:
Fully customizable input options for candles, levels, FVGs, and labels:
Appearance settings: Colors, widths, styles, transparency.
Toggle visibility for specific features (e.g., FVGs, labels, quarter points).
Label precision and positioning.
發行說明
Key Features:Higher Timeframe Candle Visualization:
The script fetches data from a higher timeframe (e.g., 15-minute candles) and draws these candles on the current chart using lines.
Custom Candle Colors:
Users can specify colors for bullish candles (green by default), bearish candles (red), and the wicks (gray).
Customizable Number of Candles and Offsets:
Users can display up to 5 higher timeframe candles and adjust their positions using offsets.
Inside/Outside Bar Labels:
Optional labels are drawn for each candle to classify them as:
Inside Bar: The current candle's high is lower than the previous candle's high, and its low is higher than the previous candle's low.
Outside Bar: The current candle's high is higher than the previous candle's high, and its low is lower than the previous candle's low.
Normal Bar: If neither condition is met.
Dynamic Updates:
The script dynamically updates the drawn candles and labels for each bar, ensuring that the display reflects the most recent data.
發行說明
ey Features:Higher Timeframe Candle Visualization:
The script fetches data from a higher timeframe (e.g., 15-minute candles) and draws these candles on the current chart using lines.
Custom Candle Colors:
Users can specify colors for bullish candles (green by default), bearish candles (red), and the wicks (gray).
Customizable Number of Candles and Offsets:
Users can display up to 5 higher timeframe candles and adjust their positions using offsets.
Inside/Outside Bar Labels:
Optional labels are drawn for each candle to classify them as:
Inside Bar: The current candle's high is lower than the previous candle's high, and its low is higher than the previous candle's low.
Outside Bar: The current candle's high is higher than the previous candle's high, and its low is lower than the previous candle's low.
Normal Bar: If neither condition is met.
Dynamic Updates:
The script dynamically updates the drawn candles and labels for each bar, ensuring that the display reflects the most recent data.
發行說明
ey Features:Higher Timeframe Candle Visualization:
The script fetches data from a higher timeframe (e.g., 15-minute candles) and draws these candles on the current chart using lines.
Custom Candle Colors:
Users can specify colors for bullish candles (green by default), bearish candles (red), and the wicks (gray).
Customizable Number of Candles and Offsets:
Users can display up to 5 higher timeframe candles and adjust their positions using offsets.
Inside/Outside Bar Labels:
Optional labels are drawn for each candle to classify them as:
Inside Bar: The current candle's high is lower than the previous candle's high, and its low is higher than the previous candle's low.
Outside Bar: The current candle's high is higher than the previous candle's high, and its low is lower than the previous candle's low.
Normal Bar: If neither condition is met.
Dynamic Updates:
The script dynamically updates the drawn candles and labels for each bar, ensuring that the display reflects the most recent data.
發行說明
Default settings發行說明
Add dynamic scaling發行說明
updated default settings發行說明
fvg box fix發行說明
update fvg box middle發行說明
Added 8 candles max發行說明
update number of candles to 8發行說明
Added a countdown script for candle 發行說明
updated default countdown settings positioning發行說明
added FVG and on lower timeframe (current timeframe candles) 發行說明
Organized Script code發行說明
Revert to previous version發行說明
organized code Still need works and created a test area發行說明
added swing levels need to be updated. Disabled by default發行說明
update label position settings受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由且不受任何限制地使用它 — 在此處了解更多資訊。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由且不受任何限制地使用它 — 在此處了解更多資訊。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。