These
Fast and slow trend regimes must agree before opening — long or short.
Passt zu Trendfolge-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.
Trend follower with patience. Long flat periods when the two timeframes disagree, then steady runs when the slow regime turns and the fast one confirms. Drawdowns are deeper because exits wait for chop, not a clean flip.
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.
name: multi_trend_confluence
weight: 1.0
long_only: false
indicators:
trend20: {kind: trend, period: 20, slope_lookback: 3}
trend100: {kind: trend, period: 100, slope_lookback: 8}
entry:
combine: OR
rules:
- combine: AND
direction: long
rules:
- {lhs: {indicator: trend20}, op: eq, rhs: {value: 1}}
- {lhs: {indicator: trend100}, op: eq, rhs: {value: 1}}
- combine: AND
direction: short
rules:
- {lhs: {indicator: trend20}, op: eq, rhs: {value: -1}}
- {lhs: {indicator: trend100}, op: eq, rhs: {value: -1}}
exit:
combine: OR
rules:
- {lhs: {indicator: trend100}, op: eq, rhs: {value: 0}}
risk:
trailing_stop_pct: 0.07
cooldown_bars: 8
Indikatoren
trend20Trend regime (period 20, slope 3)Categorical regime indicator: +1 when price is above EMA(20) AND the EMA is rising over the last 3 bars, -1 in the mirror down-regime, 0 in chop.
trend100Trend regime (period 100, slope 8)Same indicator on a much slower window — captures the broad market regime. Acts as the bigger-picture filter.
Eintrittsbedingungen
Der Bot eröffnet eine Position in der Kerze nach dem Erfüllen aller unten genannten Bedingungen.
- Long when BOTH trend20 = +1 AND trend100 = +1.
- Short when BOTH trend20 = -1 AND trend100 = -1.
- 8-bar cooldown after exit.
Ausstiegsbedingungen
Jede der folgenden Bedingungen schließt die Position.
- Exit immediately when the slower trend100 regime flips to 0 (chop).
- 7% trailing stop on the runner.
Erwartetes Verhalten
Trend follower with patience. Long flat periods when the two timeframes disagree, then steady runs when the slow regime turns and the fast one confirms. Drawdowns are deeper because exits wait for chop, not a clean flip.
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.