MTF Trend MAs (H1+H4) MTF Trend MAs (H1+H4) — per-line styles
This indicator plots three trend moving averages (20 / 50 / 200) from two higher timeframes (H1 and H4) directly on your current chart. It is designed to help you monitor multi-timeframe dynamic support/resistance levels and overall trend structure without switching charts.
Features
Multi-timeframe overlay
Plots H1 and H4 moving averages on any chart timeframe.
Three MA sets
Fast: 20
Mid: 50
Slow: 200
Configurable MA types
Choose the calculation type for each MA length: EMA / SMA / WMA / RMA.
Independent visibility toggles
Enable/disable each individual line:
H1 20 / 50 / 200
H4 20 / 50 / 200
Per-line styling
For every MA and timeframe you can set:
Color
Line width
Line style (Solid / Dashed / Dotted)
Notes / Limitations
The script uses request.security(..., lookahead_off) to avoid repainting from future data.
TradingView plot() does not support true dashed/dotted line rendering like line.new().
In this script the style options are approximations:
Solid = normal line
Dashed = linebr (broken/stepped appearance)
Dotted = circles
If you need true dashed/dotted styles, the indicator can be rewritten using line.new() for real line styles.
Indikator Pine Script®






















