Tesis
Fade a 2-sigma stretch below the mean and exit when price tags the middle band.
Encaja con los setups de Reversión a la media — funciona mejor cuando el comportamiento del mercado coincide con la tesis, y falla cuando no. Combínala con el modo walk-forward del backtester antes de comprometer capital real.
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.
Conjunto de reglas YAML
Pégalo en la pestaña «Text» del Strategy Designer, o usa el botón del panel de arriba para cargarlo como plantilla.
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
Indicadores
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.
Condiciones de entrada
El bot abre una posición en la vela siguiente al cumplimiento de todas las condiciones de abajo.
- 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.
Condiciones de salida
Cualquiera de las condiciones siguientes cierra la posición.
- Exit when close pushes back above the middle band.
- Hard 3% stop-loss; 2% trailing stop locks in any reversion gain.
Comportamiento esperado
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.
Es el carácter de la curva de equity, no una previsión de retorno. Los backtests no son promesas sobre el desempeño en vivo.
Pruébala con tus datos
Abre la plantilla en el panel para hacer backtest sobre BTC, ETH o cualquier símbolo CCXT — o copia el YAML en el Strategy Designer para editarlo primero.
El comportamiento pasado en backtests no garantiza el desempeño futuro. Los mercados cambian; los conjuntos de reglas necesitan revalidarse. Operas bajo tu propio riesgo.