Candle close on high time frameOVERVIEW
This indicator plots persistent closing levels of higher time frame candles (H1, H4, and Daily) on the active intraday chart in real time. Unlike similar tools, it offers granular control over line projection length, fully independent toggles per timeframe, and a built-in mechanism that automatically limits the total number of historical levels to avoid chart clutter and performance issues.
CONCEPTS
Key levels from higher time frames often act as areas where price reacts or consolidates. By projecting each candle's exact closing price forward as a horizontal reference, traders can quickly identify dynamic support and resistance zones relevant to the current price action. This indicator enables seamless multi-timeframe analysis without the need to manually switch chart intervals or re-draw lines.
FEATURES
Independent Time Frame Selection: Enable or disable H1, H4, and Daily levels individually to tailor the analysis.
Custom Extension Length: Each timeframe's closing level can be projected forward for a user-defined number of bars.
Performance Optimization: The script maintains an internal limit (default: 100) on the number of active lines. When this threshold is exceeded, the oldest lines are removed automatically.
Visual Differentiation: Colors for each timeframe are fully customizable, enabling immediate recognition of level origin.
Immediate Update: New levels appear as soon as a higher timeframe candle closes, ensuring real-time reference.
USAGE
From the indicator inputs, select which timeframes you want to track.
Adjust the extension lengths to fit your trading style and time horizon.
Customize the line colors for clarity and personal preference.
Use these projected levels as part of your confluence criteria for entries, exits, or stop placement.
Combine with trend indicators or price action tools to enhance your multi-timeframe strategy.
ORIGINALITY AND ADDED VALUE
While similar scripts exist that plot higher timeframe levels, this implementation differs in:
Its efficient automatic cleanup of old lines to preserve chart performance.
The independent extension and color settings per timeframe.
Immediate reaction to new candle closes without repainting.
Simplicity of use combined with precise customization.
This combination makes it a practical and flexible tool for traders who rely on clear HTF level visualization without manual drawing or the limitations of built-in TradingView tools.
LICENSE
This script is published open-source under the Mozilla Public License 2.0.
Intraday-trading
Auto anchored VWAP Highest/Lowest Last 'n' bars The VWAP (Volume Weighted Average Price) indicator is used to calculate the average price weighted by volume. This indicator is designed to automatically draw VWAPs from the highest and lowest points of the last 'n' bars.
It utilizes arrays to calculate the values of VWAP and plot it on the chart on the last historical bar. This version was coded to get a similar version to the official "VWAP Auto anchored" with the highest/lowest selected settings.
To use VWAP, traders can look for price movements relative to the VWAP line to identify potential support or resistance levels. It can also be used in conjunction with other technical indicators to develop trading strategies.