Noon Barbari
Sign up

Back to strategy library

ConfluenceLong only15m1h4h

RSI dip with trend filter strategy

Buy oversold RSI dips, but only when price is still above the 50 EMA.

Thesis

Buy oversold RSI dips, but only when price is still above the 50 EMA.

Fits Confluence setups — works best when the underlying market behavior matches the thesis, and breaks down when it doesn't. Pair with the backtester's walk-forward mode before committing real capital.

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.

YAML rule-set

Paste this into the Strategy Designer's Text tab, or use the dashboard button above to load it as a 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

Indicators

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

Entry conditions

The bot opens a position the bar after every condition below has fired.

  • RSI(14) below 35 AND
  • Close is above the 50-bar EMA — the dip is with the trend, not against it.

Exit conditions

Any of the conditions below will close the position.

  • RSI(14) above 65, OR close drops below EMA(50).
  • Hard 2.5% stop; 5% take-profit.

Expected behavior

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.

Equity-curve character, not a return forecast. Backtests are not promises about live performance.

Try it on your own data

Open the template in the dashboard to backtest it on BTC, ETH, or any CCXT symbol — or copy the YAML into the Strategy Designer to edit it first.

Past behavior on backtests is not a guarantee of future performance. Markets change; rule sets need re-validation. Trade at your own risk.