Noon Barbari

Torna alla libreria di strategie

Mean reversionSolo long15m1h4h

Bollinger band reversion strategy

Fade a 2-sigma stretch below the mean and exit when price tags the middle band.

Tesi

Fade a 2-sigma stretch below the mean and exit when price tags the middle band.

Si adatta ai setup Mean reversion — funziona meglio quando il comportamento del mercato sottostante combacia con la tesi, e si rompe quando no. Abbinala alla modalità walk-forward del backtester prima di impegnare capitale reale.

Smooth equity curve in low-volatility regimes with frequent small wins. Sharp drawdowns when a trend extends and price stays pinned below the lower band — the strategy expects mean reversion that may not arrive.

Set di regole YAML

Usa il pulsante «Apri nella dashboard» qui sopra per caricare la strategia con un clic — senza copiare. Oppure copiala e incollala nel campo «Importa rule set» dello Strategy Designer.

name: bollinger_revert
weight: 1.0
long_only: true
indicators:
  bb20: {kind: bollinger, period: 20, std_mult: 2.0}
entry:
  combine: AND
  rules:
    - {lhs: {bar: close}, op: lt, rhs: {indicator: bb20, field: lower}}
exit:
  combine: OR
  rules:
    - {lhs: {bar: close}, op: gt, rhs: {indicator: bb20, field: mid}}
risk:
  stop_loss_pct: 0.03
  trailing_stop_pct: 0.02
  cooldown_bars: 3

Indicatori

  • bb20Bollinger Bands (period 20, σ × 2)

    20-bar SMA with ±2σ bands. The mid line is the 20-bar mean; the lower band is the 2-standard-deviation oversold envelope.

Condizioni d'ingresso

Il bot apre una posizione nella candela successiva al verificarsi di tutte le condizioni qui sotto.

  • Enter long when close is below the lower Bollinger band — a 2σ stretch below the 20-bar mean.
  • Single position; 3-bar cooldown after exit.

Condizioni di uscita

Una qualsiasi delle condizioni qui sotto chiude la posizione.

  • Exit when close pushes back above the middle band.
  • Hard 3% stop-loss; 2% trailing stop locks in any reversion gain.

Comportamento atteso

Smooth equity curve in low-volatility regimes with frequent small wins. Sharp drawdowns when a trend extends and price stays pinned below the lower band — the strategy expects mean reversion that may not arrive.

Carattere della curva di equity, non una previsione di rendimento. I backtest non sono promesse sulla performance live.

Provala con i tuoi dati

Apri il template nella dashboard per fare backtest su BTC, ETH o qualsiasi simbolo CCXT — oppure copia il YAML nel Strategy Designer per modificarlo prima.

Il comportamento passato nei backtest non garantisce la performance futura. I mercati cambiano; i set di regole vanno rivalidati. Si fa trading a proprio rischio.