INVITE-ONLY SCRIPT

Institutional DMAs (50/100/200) – with Alerts

34
Title
D1 DMAs (50/100/200) – Alerts for Trend & Trend Stoppers

Summary
Plots the 50/100/200-day moving averages (DMAs) strictly from the Daily (D1) timeframe and projects them onto any chart timeframe. Comes with a focused alert engine for price↔DMA crosses and DMA↔DMA crosses (Golden/Death Cross). Designed to identify trend direction, potential regime shifts, and “trend stoppers” (dynamic S/R).

What it does
– Computes the 50/100/200 DMAs on D1 only (no matter your chart timeframe)
– Alerts for:

1. Price crossing D1 50/100/200 DMAs
2. DMA crossovers between 50/100/200 (D1-confirmed Golden/Death Cross)
– Optional “close-only” confirmation to reduce noise on price↔DMA alerts

Why DMAs (and why D1)?
DMAs (Daily SMAs) are widely tracked by institutional players—banks, hedge funds, CTAs, pensions—as trend filters and dynamic support/resistance.
– 50 DMA: short-term momentum bias
– 100 DMA: medium-term trend anchor/mean
– 200 DMA: long-term regime line (above = bullish, below = bearish)
Crossover events (e.g., 50>200 Golden Cross, 50<200 Death Cross) are often read as regime changes. D1 confirmation aligns with how institutions evaluate trends and filters intraday noise.

How it helps your trading
– Trend detection: Price above 200 DMA with 50>100>200 = healthy uptrend stacking
– Trend stoppers: Strong reactions at 100/200 DMA often precede pullbacks, pauses, or reversals
– Intraday timing: See D1 levels on lower TFs to plan entries/exits at “big picture” lines

Alerts (selection)
– Price crosses ABOVE/BELOW D1 50 DMA
– Price crosses ABOVE/BELOW D1 100 DMA
– Price crosses ABOVE/BELOW D1 200 DMA
– D1 50 crosses ABOVE/BELOW D1 100
– D1 50 crosses ABOVE/BELOW D1 200
– D1 100 crosses ABOVE/BELOW D1 200
Note: DMA↔DMA alerts are confirmed on the Daily close (fewer false signals).

How to set alerts

1. Add the indicator to your chart
2. Click “Alert” → “+”
3. Condition = this indicator → choose the desired alert line (e.g., “Price crosses ABOVE D1 200 DMA”)
4. Customize message/webhook if needed → Create

Settings
– Colors: 50 = Yellow, 100 = Green, 200 = Red (editable)
– Line width
– “Only alert on bar close” for price↔DMA (recommended for robustness)
– Enable/disable price-cross alerts
– Enable/disable DMA-cross alerts (D1-confirmed)

Best practices
– Trend follow: Favor longs when price is above the 200 DMA; favor shorts below
– Pullback entries: Watch 50/100 DMAs for reactions; add structure/volume confluence
– Regime filter: Use Golden/Death Cross alerts as a high-level bias, refine entries on lower TF signals

Technical notes
– Uses lookahead_off (no future leak)
– DMA cross logic computed and confirmed on D1
– Price↔DMA logic runs on your active timeframe with optional close confirmation

Keywords
DMA, Daily SMA, 50 100 200 MA, Golden Cross, Death Cross, Trend Filter, Dynamic Support Resistance, Institutional Levels, Regime Change, Alert Signals, Intraday with Daily Bias, Hedge Funds, Banks

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。