Volatility Regime Switch

Detects volatility regimes via Bollinger Band width. Enters with the trend after a squeeze expands.

By STLab · Published 2026-06-11 · CC-BY-SA-4.0

Reliability

Read with caution — from 17 trades, fewer than the 30 a result needs to mean much.

Backtest result

Return+6.8%
Sharpe0.21
Max drawdown5.0%
Profit factor1.73
Win rate52.9%
Trades17

Run on ETH/USDT 1h · 6m · 4320 bars · data from deepcoin. Frozen at publish time, captured 2026-07-15.

Strategy rules

{
  "exit": {
    "logic": "AND",
    "conditions": [
      {
        "value": 0,
        "params": {},
        "operator": "<",
        "indicator": "PRICE",
        "compareParams": {
          "period": 20,
          "stdDev": 2
        },
        "compareSubField": "middle",
        "compareIndicator": "BB"
      }
    ]
  },
  "name": "Volatility Regime Switch",
  "risk": {
    "stopLoss": 4,
    "takeProfit": 15,
    "positionSize": 100
  },
  "entry": {
    "side": "long",
    "logic": "AND",
    "conditions": [
      {
        "value": 0,
        "params": {},
        "operator": ">",
        "indicator": "PRICE",
        "compareParams": {
          "period": 20,
          "stdDev": 2
        },
        "compareSubField": "upper",
        "compareIndicator": "BB"
      },
      {
        "value": 0,
        "params": {
          "period": 20
        },
        "operator": "crosses_above",
        "indicator": "EMA",
        "compareParams": {
          "period": 50
        },
        "compareIndicator": "EMA"
      }
    ]
  },
  "source": "preset",
  "version": "1.0"
}

All published strategies