Tesi
Buy oversold RSI dips, but only when price is still above the 50 EMA.
Si adatta ai setup Confluenza — 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.
Cleaner equity curve than vanilla RSI mean reversion because the EMA filter cuts the worst counter-trend trades. Fewer setups, but each one comes with a stacked deck.
Set di regole YAML
Incollalo nella scheda «Text» del Strategy Designer, oppure usa il pulsante della dashboard sopra per caricarlo come template.
name: rsi_with_trend_filter
weight: 1.0
long_only: true
indicators:
rsi14: {kind: rsi, period: 14}
ema50: {kind: ema, period: 50}
entry:
combine: AND
rules:
- {lhs: {indicator: rsi14}, op: lt, rhs: {value: 35.0}}
- {lhs: {bar: close}, op: gt, rhs: {indicator: ema50}}
exit:
combine: OR
rules:
- {lhs: {indicator: rsi14}, op: gt, rhs: {value: 65.0}}
- {lhs: {bar: close}, op: lt, rhs: {indicator: ema50}}
risk:
stop_loss_pct: 0.025
take_profit_pct: 0.05
cooldown_bars: 4
Indicatori
rsi14RSI (period 14)14-bar momentum oscillator; the 35 threshold is slightly looser than the classic 30 to fire alongside the trend filter.
ema50EMA (period 50)Long-horizon trend baseline. Price above EMA(50) is treated as 'still in an uptrend' — dips below the EMA are skipped.
Condizioni d'ingresso
Il bot apre una posizione nella candela successiva al verificarsi di tutte le condizioni qui sotto.
- RSI(14) below 35 AND
- Close is above the 50-bar EMA — the dip is with the trend, not against it.
Condizioni di uscita
Una qualsiasi delle condizioni qui sotto chiude la posizione.
- RSI(14) above 65, OR close drops below EMA(50).
- Hard 2.5% stop; 5% take-profit.
Comportamento atteso
Cleaner equity curve than vanilla RSI mean reversion because the EMA filter cuts the worst counter-trend trades. Fewer setups, but each one comes with a stacked deck.
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.