OPEN-SOURCE SCRIPT
Multi-Timeframe Hull Moving Average (HMA) Candle Projection

### Overview
The **Multi-Timeframe Hull Moving Average (HMA) Candle Projection** is a lightweight, clean chart overlay designed for traders utilizing multi-timeframe analysis.
Instead of traditional higher timeframe candlestick data, this tool applies a **Hull Moving Average (HMA)** calculation directly to the Open, High, Low, and Close (OHLC) values of a higher session. This extracts the noise-filtering benefits of a Hull Moving Average while still structuring the resulting data into recognizable candle bodies and wicks.
### Key Features
* **Live Sidebar Projection:** Rather than plotting blocks directly on top of your current price chart, this script cleanly isolates the real-time higher timeframe Hull candle to the right margin of your layout. This keeps your execution window clutter-free.
* **Lag Minimization:** By processing structural candle boundaries through the Hull formula, it smooths out higher timeframe data without introducing the heavy lag associated with standard simple moving averages.
* **Pine Script v6 Compliant:** Rewritten using the strict syntax rules of version 6 to ensure rapid rendering and seamless compatibility with modern TradingView engine performance metrics.
### How to Read & Use
1. **Trend Identification:** When the projected candle body is green, the higher timeframe Hull trend is bullish (Close >= Open). When it is red, the higher timeframe Hull trend is bearish (Close < Open).
2. **Top-Down Coordination:** This is highly effective for filtering micro-execution charts against macro-trends. For example, look for long setups on a 5-minute chart only when the 15-minute or 1-hour projected Hull candle on the right is green.
3. **Settings Controls:** Double-click the indicator to alter the higher timeframe source resolution (e.g., changing it from 15 to 60 or W for Weekly), modify the HMA lookback length (default is 9), or shift the candle further into your right margin screen space.
The **Multi-Timeframe Hull Moving Average (HMA) Candle Projection** is a lightweight, clean chart overlay designed for traders utilizing multi-timeframe analysis.
Instead of traditional higher timeframe candlestick data, this tool applies a **Hull Moving Average (HMA)** calculation directly to the Open, High, Low, and Close (OHLC) values of a higher session. This extracts the noise-filtering benefits of a Hull Moving Average while still structuring the resulting data into recognizable candle bodies and wicks.
### Key Features
* **Live Sidebar Projection:** Rather than plotting blocks directly on top of your current price chart, this script cleanly isolates the real-time higher timeframe Hull candle to the right margin of your layout. This keeps your execution window clutter-free.
* **Lag Minimization:** By processing structural candle boundaries through the Hull formula, it smooths out higher timeframe data without introducing the heavy lag associated with standard simple moving averages.
* **Pine Script v6 Compliant:** Rewritten using the strict syntax rules of version 6 to ensure rapid rendering and seamless compatibility with modern TradingView engine performance metrics.
### How to Read & Use
1. **Trend Identification:** When the projected candle body is green, the higher timeframe Hull trend is bullish (Close >= Open). When it is red, the higher timeframe Hull trend is bearish (Close < Open).
2. **Top-Down Coordination:** This is highly effective for filtering micro-execution charts against macro-trends. For example, look for long setups on a 5-minute chart only when the 15-minute or 1-hour projected Hull candle on the right is green.
3. **Settings Controls:** Double-click the indicator to alter the higher timeframe source resolution (e.g., changing it from 15 to 60 or W for Weekly), modify the HMA lookback length (default is 9), or shift the candle further into your right margin screen space.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.