PROTECTED SOURCE SCRIPT
已更新

Higher Timeframe Candles (Dynamic Display)

1 508
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.
版本注释
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提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。