Noon Barbari
Registrati

Torna alla libreria di strategie

Mean reversionSolo long15m1h4h

RSI mean reversion strategy

Buy when the market is overextended below the mean, ride it back to fair value.

Tesi

Buy when the market is overextended below the mean, ride it back to fair value.

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.

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.

Set di regole YAML

Incollalo nella scheda «Text» del Strategy Designer, oppure usa il pulsante della dashboard sopra per caricarlo come template.

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

Indicatori

  • 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.

Condizioni d'ingresso

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

  • 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.

Condizioni di uscita

Una qualsiasi delle condizioni qui sotto chiude la posizione.

  • Close the position when RSI(14) recovers above 70.
  • Hard stop-loss at 3% below entry; take-profit at 5%.

Comportamento atteso

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.

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.