PROTECTED SOURCE SCRIPT
Updated

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.
Release Notes
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.
Release Notes
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.
Release Notes
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.
Release Notes
Default settings
Release Notes
Add dynamic scaling
Release Notes
updated default settings
Release Notes
fvg box fix
Release Notes
update fvg box middle
Release Notes
Added 8 candles max
Release Notes
update number of candles to 8
Release Notes
Added a countdown script for candle
Release Notes
updated default countdown settings positioning
Release Notes
added FVG and on lower timeframe (current timeframe candles)
Release Notes
Organized Script code
Release Notes
Revert to previous version
Release Notes
organized code Still need works and created a test area
Release Notes
added swing levels need to be updated. Disabled by default
Release Notes
update label position settings

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.