Tesi
Retest of the last opposite candle before a Break of Structure — long bullish OBs, short bearish.
Si adatta ai setup Trend following — 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.
Selective — OBs are sparse and retests are rarer still. The strategy spends most of the time flat and produces concentrated trades around real structure flips.
Set di regole YAML
Incollalo nella scheda «Text» del Strategy Designer, oppure usa il pulsante della dashboard sopra per caricarlo come template.
_template:
title: Order Block — retest of last opposite candle before BOS
category: trend_following
skill: intermediate
name: order_block
weight: 1.0
long_only: false
indicators:
ob:
kind: order_block
swing_length: 10
entry:
combine: OR
rules:
- combine: AND
direction: long
rules:
- {lhs: {indicator: ob, field: bull_retest}, op: gt, rhs: {value: 0}}
- combine: AND
direction: short
rules:
- {lhs: {indicator: ob, field: bear_retest}, op: gt, rhs: {value: 0}}
exit:
combine: OR
rules:
- {lhs: {indicator: ob, field: bull_mitigated}, op: gt, rhs: {value: 0}}
- {lhs: {indicator: ob, field: bear_mitigated}, op: gt, rhs: {value: 0}}
- {lhs: {indicator: ob, field: bear_retest}, op: gt, rhs: {value: 0}}
- {lhs: {indicator: ob, field: bull_retest}, op: gt, rhs: {value: 0}}
risk:
trailing_stop_pct: 0.04
cooldown_bars: 3
Indicatori
obOrder Block (swing length 10)Clean-room SMC order-block detector. Tracks the last opposite-direction candle before each BOS and emits a retest signal the first time price re-enters that zone.
Condizioni d'ingresso
Il bot apre una posizione nella candela successiva al verificarsi di tutte le condizioni qui sotto.
- Long on a bullish OB retest (bull_retest > 0).
- Short on a bearish OB retest.
Condizioni di uscita
Una qualsiasi delle condizioni qui sotto chiude la posizione.
- Position closes when the OB is mitigated (price closes through the opposite edge).
- An opposite-side OB retest also invalidates the trade.
- 4% trailing stop, 3-bar cooldown.
Comportamento atteso
Selective — OBs are sparse and retests are rarer still. The strategy spends most of the time flat and produces concentrated trades around real structure flips.
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.