Skip to content
All library documents

Volatility Percentile Regimes and Trading Applications

Article MQL5 code base

Summary

The indicator estimates volatility using ATR, a Parkinson high-low estimator, or close-to-close return variation, then ranks the current reading against a rolling history as a percentile. Thresholds divide that percentile into five regimes, from unusually calm to extreme volatility. Smoothing and a persistence rule reduce noisy changes. A separate signal module combines the regime with higher-timeframe confirmation and a volume filter; the described signal is active only in the low-volatility regime when those checks pass.

The document outlines several possible uses: trend-aligned entries with ATR-based stops and risk-reward targets, breakouts after quiet periods, reducing exposure in high-volatility states, and contrarian trades during extreme readings. It also describes a dashboard score, but explicitly distinguishes that heuristic from a validated probability of profit. No backtest or empirical evidence supports the proposed methods. Thresholds and behavior may vary by instrument and timeframe, so the suggestions require independent testing.

Key ideas

  • Current volatility is ranked against a rolling lookback to classify five market regimes.
  • The volatility estimate can use ATR, Parkinson range, or historical return variation.
  • The stated buy or sell signal requires a low-volatility regime, higher-timeframe confirmation, and adequate volume.
  • Potential uses include trend entries, post-compression breakouts, and volatility-based exposure controls.
  • The dashboard confidence score is heuristic and is not established as a real win probability.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.