Noon Barbari
Registrati

Torna alla libreria di strategie

Mean reversionLong e short1h4h1d

Premium/Discount Zones strategy

Buy the discount extreme, fade the premium extreme, exit at equilibrium.

Tesi

Buy the discount extreme, fade the premium extreme, exit at equilibrium.

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.

Range trader — fits balanced markets where extremes get bought / faded back to mid. Stacks losses in strong trends that camp at one extreme for many bars.

Set di regole YAML

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

_template:
  title: Premium/Discount — fade the extremes
  category: mean_reversion
  skill: beginner
name: premium_discount_zones
weight: 1.0
long_only: false
indicators:
  pdz:
    kind: premium_discount_zones
    lookback: 200
entry:
  combine: OR
  rules:
    - combine: AND
      direction: long
      rules:
        - {lhs: {indicator: pdz, field: current_zone}, op: eq, rhs: {value: 1}}
    - combine: AND
      direction: short
      rules:
        - {lhs: {indicator: pdz, field: current_zone}, op: eq, rhs: {value: -1}}
exit:
  combine: OR
  rules:
    - {lhs: {indicator: pdz, field: current_zone}, op: eq, rhs: {value: 0}}
risk:
  trailing_stop_pct: 0.04
  cooldown_bars: 5

Indicatori

  • pdzPremium/Discount Zones (lookback 200)

    Clean-room premium / equilibrium / discount zones over a 200-bar range. current_zone = +1 in the bottom 5 % (discount), -1 in the top 5 % (premium), 0 in the middle 5 % (equilibrium).

Condizioni d'ingresso

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

  • Long when price is inside the discount zone (current_zone = +1).
  • Short when price is inside the premium zone (current_zone = -1).

Condizioni di uscita

Una qualsiasi delle condizioni qui sotto chiude la posizione.

  • Position closes when price returns to equilibrium.
  • 4% trailing stop, 5-bar cooldown.

Comportamento atteso

Range trader — fits balanced markets where extremes get bought / faded back to mid. Stacks losses in strong trends that camp at one extreme for many bars.

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.