Seykota Alt 13: Vol-Gated Adds enters positions on Donchian channel breakouts using a longer lookback period of 55 bars and exits on shorter 10-bar signals. Volatility gating prevents adding to positions during ATR spikes above a moving average threshold, avoiding exhaustion moves. Initial stops and add increments are based on ATR multiples. The strategy supports pyramiding up to four units per direction and allows both long and short trades. Optional features include market regime filtering using a higher timeframe and time-based exits. Signals and stops are plotted directly on the price chart with customizable inputs for entry/exit parameters, risk per unit, and backtesting date ranges.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Allow LONGs?
bool
true
allowLong
Allow SHORTs?
bool
true
allowShort
Donchian ENTRY lookback
int
55
entryLen
Donchian EXIT lookback
int
10
exitLen
N = ATR length
int
20
nLen
Initial stop (in N)
float
2.0
stopN
Add every X * N
float
0.5
addStepN
Max units (incl. initial)
int
4
maxUnits
Risk % of equity PER UNIT
float
1.0
riskPct
Block adds during vol spikes?
bool
true
useVolGate
Vol gate MA length
int
20
volGateLen
Vol spike threshold (ATR > X * MA)
float
1.0
volGateMult
Show all 24 settings
Setting
Type
Default
Variable
Use market regime filter?
bool
false
useMarket
Market symbol for regime (if used)
symbol
SPY
marketSym
Regime timeframe (if used)
timeframe
D
marketTF
Market MA length (if used)
int
200
marketLen
Time exit
string
None
timeExitMode
Time exit bars (if used)
int
60
timeExitBars
Min 20-bar avg volume (chart TF)
int
0
minVol
Plot signals & stops?
bool
true
showSignals
Plot Donchian bands?
bool
true
plotDon
Backtest FROM (yyyy-mm-dd)
time
timestamp("2022-01-01T00:00:00")
fromDate
Backtest TO (yyyy-mm-dd)
time
timestamp("2099-12-31T23:59:59")
toDate
Force FLAT at range start?
bool
true
flatAtFrom
Third-party code. ForexR did not write, test or endorse this script, and the summary above was generated automatically from its code and README. Indicators describe the past, and a strategy's backtest can look better than live trading, especially when a script repaints. Check it in the Strategy Tester and on a demo account before you rely on it.
This mean-reversion strategy plots Bollinger Bands and a long-term moving average directly on the price chart. It enters trades when price candles penetrate the outer Bollinger Bands beyond a user-defined body percentage, anticipating a price reversal. Entries
This overlay strategy targets one-minute ES futures and plots volume-weighted moving-average bands from the open, scaled by a standard-deviation multiple, plus a slower band from ten-minute opens. A higher-timeframe exponential moving average can filter trades
STRG-BBForce is a Bollinger Bands trend-following strategy. It calculates standard Bollinger Bands and tracks directional alignment across the upper, lower, and basis lines. When all three lines slope upward, it opens a long position and closes short positions
This trading strategy combines three Exponential Moving Averages (8, 14, and 50 periods by default) with Stochastic RSI and Average True Range (ATR). It enters a long position when EMA 1 is above EMA 2, EMA 2 is above EMA 3, and the Stochastic RSI %K line cros
This strategy generates buy and sell signals based on Bollinger Band crossovers combined with a simple moving average trend filter. It enters a long position when price crosses above the lower band while trading above the SMA filter line, and enters a short po
This overlay strategy combines a Chandelier Exit with a zero-lag least squares moving average. Although the header mentions Heikin Ashi candles, the calculations use ordinary closes. An ATR trailing stop sets long and short levels, and direction flips when pri