Weekly Regime Filter - Trend + Momentum + Structure (MTF)A multi-timeframe weekly regime indicator that classifies market conditions into BULL , BEAR , or CHOP using three components: trend, momentum, and market structure.
Works on any timeframe while always referencing weekly data โ no repainting.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ฏ WHAT IT DOES
Answers one question: What is the weekly regime?
โข Trend โ EMA hierarchy (Price > EMA Fast > EMA Slow)
โข Momentum โ DI+ vs DI- with optional ADX filter
โข Structure โ Break of Structure (BOS) and Change of Character (CHOCH)
BULL = All three bullish
BEAR = All three bearish
CHOP = Mixed signals
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โก KEY FEATURES
โข Multi-Timeframe (MTF) โ View on 1H, 4H, Daily; regime stays consistent
โข Auto-Detect Asset Type โ Automatically applies optimized settings for Crypto, Stocks, Forex, Gold, Silver, Oil, Commodities
โข BOS/CHOCH Labels โ Visual market structure breaks on chart
โข Live Status Panel โ Shows regime, components, and active parameters
โข Non-Repainting โ Uses confirmed weekly closes only
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ ASSET PRESETS
โข Crypto โ EMA 50/200, ADX Off, Pivot 2
โข Stocks/Indices โ EMA 50/200, ADX >20, Pivot 3
โข Forex โ EMA 30/100, ADX >25, Pivot 2
โข Gold โ EMA 40/150, ADX >20, Pivot 3
โข Silver โ EMA 40/150, ADX >22, Pivot 3
โข Oil โ EMA 30/100, ADX >25, Pivot 2
โข Commodities โ EMA 40/120, ADX >20, Pivot 3
Select "Custom" to use your own values.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ HOW TO USE
For Swing Trading:
โข Set chart to Daily
โข Use Auto-Detect or select preset
โข Long only when BULL, short only when BEAR
โข Reduce size or avoid when CHOP
Structure Signals:
โข CHOCH โ after bear regime = Early reversal signal
โข CHOCH โ after bull regime = Tighten stops
โข BOS in regime direction = Trend continuation
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ ALERTS
โข Regime โ BULL
โข Regime โ BEAR
โข CHOCH โ Bull
โข CHOCH โ Bear
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ๏ธ SETTINGS
Preset: Auto-Detect, Crypto, Stocks, Forex, Gold, Silver, Oil, Commodities, Custom
Custom Settings (when Custom selected):
โข EMA Fast/Slow lengths
โข ADX Length & Threshold
โข ADX Filter toggle
โข Pivot Left/Right
Display:
โข Plot Weekly EMAs
โข Show BOS/CHOCH Labels
โข Show Regime Background
โข Background Opacity
โข Show Status Label
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ NOTES
โข Needs ~200 weeks of history for full calculation
โข Weekly signals are slower by design โ filters noise
โข Not a standalone system โ combine with entries and risk management
โข When using presets, Custom input fields won't visually update (Pine limitation) โ status label shows actual values
Pine Scriptยฎ indicator






















