OPEN-SOURCE SCRIPT

Quant Trend + Donchian (Educational, Public-Safe)

182
What this does
Educational, public-safe visualization of a quant regime model:
Trend: EMA(64) vs EMA(256) (EWMAC proxy)
Breakout: Donchian channel (200)
Volatility-awareness: internal z-scores (not plotted) for concept clarity

Why it’s useful
• Shows when trend & breakout align (clean regimes) vs conflict (chop)
• Helps explain why volatility-aware systems size up in smooth trends and scale down in noise

How to read it
• EMA64 above EMA256 with price near/above Donchian high → trend-following alignment
• EMA64 below EMA256 with price near/below Donchian low → bearish alignment
• Inside channel with EMAs tangled → range/chop risk

Notes
• Indicator is educational only (no orders).
• Built entirely with TradingView built-ins.
• For consistent visuals: enable “Indicator values on price scale” and disable “Scale price chart only” in Settings → Scales.

免責事項

これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。