Noon Barbari
S'inscrire

Retour à la bibliothèque de stratégies

ConfluenceLong uniquement1h4h1d

Buy-the-dip (Bollinger + RSI) strategy

Two-condition confluence: lower-band stretch AND oversold RSI before taking the dip.

Thèse

Two-condition confluence: lower-band stretch AND oversold RSI before taking the dip.

Adapté aux setups de Confluence — fonctionne mieux quand le comportement du marché correspond à la thèse, et déraille quand non. À combiner avec le mode walk-forward du backtester avant d'engager du capital réel.

Fewer trades than either rule alone — the AND filter is strict — but higher conviction per signal. Long flat periods waiting for the two conditions to align, then a cluster of trades during real selloffs.

Jeu de règles YAML

Colle-le dans l'onglet « Text » du Strategy Designer, ou utilise le bouton dashboard ci-dessus pour le charger comme modèle.

name: buy_the_dip
weight: 1.0
long_only: true
indicators:
  bb20: {kind: bollinger, period: 20, std_mult: 2.0}
  rsi14: {kind: rsi, period: 14}
entry:
  combine: AND
  rules:
    - {lhs: {bar: close}, op: lt, rhs: {indicator: bb20, field: lower}}
    - {lhs: {indicator: rsi14}, op: lt, rhs: {value: 35.0}}
exit:
  combine: OR
  rules:
    - {lhs: {bar: close}, op: gt, rhs: {indicator: bb20, field: mid}}
risk:
  stop_loss_pct: 0.03
  take_profit_pct: 0.05
  cooldown_bars: 4

Indicateurs

  • bb20Bollinger Bands (period 20, σ × 2)

    Volatility envelope around the 20-bar SMA. The lower band marks a 2-standard-deviation stretch below the mean.

  • rsi14RSI (period 14)

    14-bar momentum oscillator. The 35 threshold here is slightly looser than the textbook 30 so the rule fires alongside a fresh Bollinger stretch.

Conditions d'entrée

Le bot ouvre une position à la bougie suivant le déclenchement de toutes les conditions ci-dessous.

  • Close is below the lower Bollinger band AND
  • RSI(14) is below 35 — momentum confirms the price stretch.

Conditions de sortie

N'importe laquelle des conditions ci-dessous ferme la position.

  • Close returns above the 20-bar mean (the middle band).
  • Hard 3% stop; 5% take-profit.

Comportement attendu

Fewer trades than either rule alone — the AND filter is strict — but higher conviction per signal. Long flat periods waiting for the two conditions to align, then a cluster of trades during real selloffs.

C'est le caractère de la courbe d'equity, pas une prévision de rendement. Les backtests ne sont pas des promesses sur la performance en direct.

Essaie-la sur tes propres données

Ouvre le modèle dans le dashboard pour le tester sur BTC, ETH ou n'importe quel symbole CCXT — ou copie le YAML dans le Strategy Designer pour le modifier d'abord.

Le comportement passé en backtest ne garantit pas la performance future. Les marchés évoluent ; les jeux de règles doivent être revalidés. Tu trades à tes risques.