Tesi
SuperTrend regime flip filtered by Volume Flow direction — only trade flips backed by volume.
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.
Cleaner than vanilla SuperTrend — the volume filter cuts the low-conviction flips that fire in chop. Fewer trades, smoother equity curve, occasional missed early-trend entries when volume lags price.
Set di regole YAML
Incollalo nella scheda «Text» del Strategy Designer, oppure usa il pulsante della dashboard sopra per caricarlo come template.
_template:
title: SuperTrend + VFI confluence
category: trend_following
skill: intermediate
name: supertrend_vfi_confluence
weight: 1.0
long_only: false
indicators:
st:
kind: super_trend
atr_period: 10
factor: 3.0
vf:
kind: vfi
c:
kind: sma
period: 1
entry:
combine: OR
rules:
- combine: AND
direction: long
rules:
- {lhs: {indicator: st, field: state}, op: crosses_up, rhs: {value: 0}}
- {lhs: {indicator: vf, field: vfi}, op: gt, rhs: {value: 0}}
- combine: AND
direction: short
rules:
- {lhs: {indicator: st, field: state}, op: crosses_down, rhs: {value: 0}}
- {lhs: {indicator: vf, field: vfi}, op: lt, rhs: {value: 0}}
exit:
combine: OR
rules:
- {lhs: {indicator: st, field: state}, op: crosses_down, rhs: {value: 0}}
- {lhs: {indicator: st, field: state}, op: crosses_up, rhs: {value: 0}}
risk:
trailing_stop_pct: 0.04
cooldown_bars: 3
Indicatori
stSuperTrend (ATR 10, factor 3.0)TradingView-style SuperTrend supplying the trigger — state flips through zero are the entry signals.
vfVFIVolume Flow Indicator providing the filter — VFI > 0 confirms accumulation for longs, VFI < 0 confirms distribution for shorts.
Condizioni d'ingresso
Il bot apre una posizione nella candela successiva al verificarsi di tutte le condizioni qui sotto.
- Long when SuperTrend flips bullish AND VFI is positive.
- Short when SuperTrend flips bearish AND VFI is negative.
Condizioni di uscita
Una qualsiasi delle condizioni qui sotto chiude la posizione.
- Any SuperTrend flip closes the trade.
- 4% trailing stop, 3-bar cooldown.
Comportamento atteso
Cleaner than vanilla SuperTrend — the volume filter cuts the low-conviction flips that fire in chop. Fewer trades, smoother equity curve, occasional missed early-trend entries when volume lags price.
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.