PROTECTED SOURCE SCRIPT
Mis à jour

Higher Timeframe Candles (Dynamic Display)

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

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.