![Logo „[Stellar Strategies] Market Regime Filter”](https://market-prod-23f4d22-e289.s3.amazonaws.com/cb84a98c-46f6-4cfd-b0ba-16518a618cb1_cT_cs_4141285_EURUSD_2025-04-20_16-50-30.png)
Market Regime Filter Indicator for cTrader
Overview:
This indicator attempts to classify the current market condition or "regime" based on a combination of technical inputs. Its primary purpose is to help traders understand the prevailing market environment (trending, ranging, volatile) to potentially filter trading signals or adjust their strategy accordingly.
It analyzes:
- Trend Direction & Strength: Using Exponential Moving Averages (EMAs) and the Average Directional Index (ADX).
- Volatility: Using either Average True Range (ATR) or Bollinger Band Width.
- Volume: Optionally using Tick Volume compared to its moving average to confirm trend strength.
Features:
- Multiple Regime States: Classifies the market into distinct states:
- Strong Bull / Strong Bear
- Weak Bull / Weak Bear
- Bull Pullback / Bear Pullback (Temporary counter-moves within a trend)
- Range High Vol / Range Low Vol
- Initializing (During indicator startup)
- Selectable Volatility Measure: Choose between ATR or Bollinger Band Width via parameters (
Volatility Source
). - Regime Persistence Filter: Requires a new regime to persist for a minimum number of bars (
Min Bars In Regime
) before confirming the change, reducing noise. - Optional Volume Filter: Allows filtering strong trend signals based on whether volume is significantly above its moving average (
Enable Volume Filter
). - Sound Alerts: Provides optional sound notifications (
Enable Sound Alert
) when the confirmed market regime changes. - Histogram Output: Displays the current confirmed regime as a histogram in the indicator sub-window. The height corresponds to the regime's numerical value (see reference below).
- Text Label: Shows the name of the current confirmed regime in the top-right corner of the indicator window for quick reference.
How to Use:
- Apply to Chart: Add the "Market Regime Filter" indicator to your cTrader chart.
- Configure Parameters: Adjust the input parameters to suit the specific instrument, timeframe, and your trading style. Key parameters include:
- MA Periods (Fast/Slow)
- ADX Settings (Period, Thresholds)
- Volatility Source and its settings (ATR/BB Width)
- Min Bars In Regime (Confirmation setting)
- Volume Filter settings (Enable, Period, Factor)
- Alert settings
- Interpret Histogram: The histogram level indicates the current confirmed regime. Refer to the numerical values below. Generally:
- Higher values (6-8): Bullish conditions.
- Lower values (1-3): Bearish conditions.
- Middle values (4-5): Ranging conditions.
- Pullback values (2, 7): Potential counter-trend moves within a larger trend.
- Filter Signals: Use the regime reading as a context filter for signals from other indicators or strategies.
- Example: Only consider long trend-following signals when the regime is Strong Bull, Bull Pullback, or Weak Bull. Only consider range-based signals (e.g., oscillator reversals) when in Range Low Vol or Range High Vol.
- Adapt Strategy: Adjust trade management based on the regime.
- Example: Use wider stop-losses or let profits run longer during Strong Trend regimes. Consider tighter profit targets during Range Low Vol regimes. Be cautious during regime transitions.
- Use Text Label: Glance at the text label for an immediate understanding of the current state.
- Enable Alerts: Turn on sound alerts if you want notifications for regime changes.
What to Watch For:
- Parameter Sensitivity: The indicator's performance is highly dependent on the chosen parameters. Settings that work well on one timeframe or market may not work on another. Backtesting and optimization are recommended.
- Lag: As the indicator relies on moving averages and other lagging components (like ADX), regime changes will be identified with some delay after the actual market shift.
- Whipsaws/Transitions: Markets don't always transition cleanly between regimes. Expect potential whipsaws (quick flips back and forth) especially around range boundaries or when trends weaken. The
Min Bars In Regime
parameter helps reduce this but doesn't eliminate it. - Volume Reliability: The volume filter uses Tick Volume, which may not represent true market volume, especially in decentralized markets like Forex. Use this filter with discretion.
- Context is Crucial: This indicator provides one view of the market. Do not use it in isolation. Always consider price action, support/resistance levels, chart patterns, and potentially other indicators for confirmation.
- Initialization: The indicator requires a certain number of historical bars (
Required Bars
value printed in the Automate > Log tab on startup) to fully initialize its calculations. Ensure sufficient data is loaded on your chart.
Regime Histogram Values (Reference):
8
: Strong Bull7
: Bull Pullback6
: Weak Bull5
: Range High Vol4
: Range Low Vol3
: Weak Bear2
: Bear Pullback1
: Strong Bear0
: Initializing
More from this author
Wskaźnik
signal
[Stellar Strategies] Wave Trend Pro
Momentum oscillator identifying reversals using dual WaveTrend lines, histogram, and OB/OS levels with optional signals.
Możesz także polubić
Wskaźnik
indices
E7 BlackScholes Model
Option pricing using the BlackScholes model and the Math.Numerics packages
Wskaźnik
forex
VegaXLR - Fibonacci Alerts
Alerts you when price touches Fibonacci levels. Stay organized and trade efficiently!
Wskaźnik
signal
[Stellar Strategies] Wave Trend Pro
Momentum oscillator identifying reversals using dual WaveTrend lines, histogram, and OB/OS levels with optional signals.
Wskaźnik
forex
VegaXLR - Candlestick Patterns Pro
Identify 34 candlestick patterns, track trends across timeframes, and get instant alerts with this powerful trading tool