PROTECTED SOURCE SCRIPT
Cập nhật 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.
Phát hành các Ghi chú
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.
Phát hành các Ghi chú
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.
Phát hành các Ghi chú
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.
Phát hành các Ghi chú
Default settingsPhát hành các Ghi chú
Add dynamic scalingPhát hành các Ghi chú
updated default settingsPhát hành các Ghi chú
fvg box fixPhát hành các Ghi chú
update fvg box middlePhát hành các Ghi chú
Added 8 candles maxPhát hành các Ghi chú
update number of candles to 8Phát hành các Ghi chú
Added a countdown script for candle Phát hành các Ghi chú
updated default countdown settings positioningPhát hành các Ghi chú
added FVG and on lower timeframe (current timeframe candles) Phát hành các Ghi chú
Organized Script codePhát hành các Ghi chú
Revert to previous versionPhát hành các Ghi chú
organized code Still need works and created a test areaPhát hành các Ghi chú
added swing levels need to be updated. Disabled by defaultPhát hành các Ghi chú
update label position settingsMã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể tự do sử dụng tập lệnh mà không có bất kỳ hạn chế nào – tìm hiểu thêm tại đây.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể tự do sử dụng tập lệnh mà không có bất kỳ hạn chế nào – tìm hiểu thêm tại đây.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.