OPEN-SOURCE SCRIPT

MTF HMA (es. H4) on current chart

101
MTF HMA (Multi-Timeframe Hull Moving Average)
The MTF HMA indicator plots a Hull Moving Average (HMA) from a higher timeframe directly on your current chart.
This allows you to use the trend direction of a higher timeframe as a filter for your entries on a lower timeframe.
🔹 How it works
The indicator calculates the HMA (default: period 89) on a user-selected higher timeframe (default: H4).
The HMA is then displayed on your current chart (e.g. H1).
The line color can change depending on the slope:
Teal = uptrend (HMA rising)
Red = downtrend (HMA falling)
(Optional: keep a neutral color if slope-based coloring is disabled).
The script can also mark crossovers between price and the MTF HMA with arrows:
Triangle up (HMA↑) when price crosses above → potential bullish entry filter.
Triangle down (HMA↓) when price crosses below → potential bearish entry filter.
Alerts are included so you can be notified when price crosses above/below the MTF HMA.
🔹 How to use it
Trend filter:
Take long trades only when price is above the higher-timeframe HMA and slope is positive.
Take short trades only when price is below the higher-timeframe HMA and slope is negative.
Entry timing:
Use your lower-timeframe system (e.g. VWAP pullbacks, RSI(3) signals) only if they align with the higher-timeframe trend.
This helps avoid false signals against the dominant market direction.
Customization:
Change the higher timeframe (e.g. H4, Daily, Weekly).
Adjust the HMA length for smoother or faster response (e.g. 55 = faster, 100+ = slower).
Enable/disable crossover markers and alerts.

Feragatname

Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.