These
Market Structure says which way, the first Fair Value Gap in that direction says go now.
Passt zu Mean Reversion-Setups — funktioniert am besten, wenn das Marktverhalten zur These passt, und versagt, wenn nicht. Vor echtem Kapitaleinsatz mit dem Walk-Forward-Modus des Backtesters kombinieren.
Picky — both legs must agree. Long flat stretches followed by clusters of trades when a regime turns and FVGs print along the way. Stacks well in directional markets, sits out balanced ranges.
YAML-Regelwerk
Füge das im Tab „Text" des Strategy Designers ein oder nutze die Dashboard-Schaltfläche oben, um es als Template zu laden.
_template:
title: SMC CHoCH regime + FVG entry
category: mean_reversion
skill: intermediate
name: smc_choch_fvg
weight: 1.0
long_only: false
indicators:
ms:
kind: market_structure
swing_length: 20
fvg:
kind: fair_value_gap
min_gap_pct: 0.001
entry:
combine: OR
rules:
- combine: AND
direction: long
rules:
- {lhs: {indicator: fvg, field: bull_signal}, op: gt, rhs: {value: 0}}
- {lhs: {indicator: ms, field: state}, op: eq, rhs: {value: 1}}
- combine: AND
direction: short
rules:
- {lhs: {indicator: fvg, field: bear_signal}, op: gt, rhs: {value: 0}}
- {lhs: {indicator: ms, field: state}, op: eq, rhs: {value: -1}}
exit:
combine: OR
rules:
- {lhs: {indicator: ms, field: state}, op: crosses_up, rhs: {value: 0}}
- {lhs: {indicator: ms, field: state}, op: crosses_down, rhs: {value: 0}}
risk:
trailing_stop_pct: 0.05
cooldown_bars: 5
Indikatoren
msMarket Structure (swing 20)BOS/CHoCH tracker that exposes the prevailing regime as state = +1 / -1.
fvgFair Value Gap (min gap 0.1%)Imbalance detector providing the entry trigger. Only the first FVG in the active regime is taken — the strategy waits for direction-agreement before pulling the trigger.
Eintrittsbedingungen
Der Bot eröffnet eine Position in der Kerze nach dem Erfüllen aller unten genannten Bedingungen.
- Long on a bullish FVG while market structure is in a +1 (bullish) regime.
- Short on a bearish FVG while market structure is in a -1 (bearish) regime.
Ausstiegsbedingungen
Jede der folgenden Bedingungen schließt die Position.
- Regime flip through zero in either direction closes the trade.
- 5% trailing stop, 5-bar cooldown.
Erwartetes Verhalten
Picky — both legs must agree. Long flat stretches followed by clusters of trades when a regime turns and FVGs print along the way. Stacks well in directional markets, sits out balanced ranges.
Beschreibt den Charakter der Equity-Kurve, ist keine Rendite-Prognose. Backtests sind keine Versprechen über Live-Performance.
Probier es mit deinen eigenen Daten
Öffne das Template im Dashboard, um es auf BTC, ETH oder einem beliebigen CCXT-Symbol zu backtesten — oder kopier das YAML in den Strategy Designer, um es vorher zu bearbeiten.
Vergangenes Verhalten in Backtests ist keine Garantie für künftige Performance. Märkte ändern sich; Regelwerke müssen erneut validiert werden. Trading auf eigenes Risiko.