Tesis
Buy when the market is overextended below the mean, ride it back to fair value.
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.
Choppy zig-zag equity curve with frequent small wins and the occasional outlier loss when a sharp downtrend leaves RSI pinned in the oversold zone. Fits range-bound chop; struggles in strong directional regimes.
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: rsi_mean_revert
weight: 1.0
long_only: true
indicators:
rsi14: {kind: rsi, period: 14}
entry:
combine: AND
rules:
- {lhs: {indicator: rsi14}, op: lt, rhs: {value: 30.0}}
exit:
combine: OR
rules:
- {lhs: {indicator: rsi14}, op: gt, rhs: {value: 70.0}}
risk:
stop_loss_pct: 0.03
take_profit_pct: 0.05
cooldown_bars: 5
Indicadores
rsi14RSI (period 14)Relative Strength Index — a 0-100 oscillator that compares the size of recent up-closes to the size of recent down-closes. Values under 30 are typically called oversold, over 70 overbought.
Condiciones de entrada
El bot abre una posición en la vela siguiente al cumplimiento de todas las condiciones de abajo.
- Enter long when RSI(14) prints below 30 — the textbook oversold threshold.
- Only one position at a time; the cooldown blocks immediate re-entry after an exit.
Condiciones de salida
Cualquiera de las condiciones siguientes cierra la posición.
- Close the position when RSI(14) recovers above 70.
- Hard stop-loss at 3% below entry; take-profit at 5%.
Comportamiento esperado
Choppy zig-zag equity curve with frequent small wins and the occasional outlier loss when a sharp downtrend leaves RSI pinned in the oversold zone. Fits range-bound chop; struggles in strong directional regimes.
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.