Seykota Alt 3: Anti-Chop Filter can enter long or short when price breaks the entry channel and optional ADX, efficiency-ratio, and trend-strength filters pass. It exits on the shorter Donchian channel, places an initial ATR stop, and may add units as price advances by a fraction of ATR, sizing each unit by a risk percentage. Settings change lookbacks, filter thresholds, maximum units, an optional market moving-average regime, minimum volume, and the backtest date range.
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
Use ADX filter?
bool
true
useAdx
ADX length
int
14
adxLen
Min ADX threshold
float
25
adxThresh
Use Efficiency Ratio filter?
bool
true
useER
ER length
int
20
erLen
Min ER threshold
float
0.3
erThresh
Use Trend Strength filter?
bool
true
useTrendStr
Trend strength length
int
20
trendLen
Show all 28 settings
Setting
Type
Default
Variable
Min trend strength %
float
60
trendThresh
N = ATR length
int
20
nLen
Initial stop (in N)
float
2.0
stopN
Add every X * N
float
0.5
addStepN
Max units
int
4
maxUnits
Risk % per unit
float
1.0
riskPct
Use market regime filter?
bool
false
useMarket
Market symbol
symbol
SPY
marketSym
Regime timeframe
timeframe
D
marketTF
Market MA length
int
200
marketLen
Min 20-bar avg volume
int
0
minVol
Plot signals & stops?
bool
true
showSignals
Plot Donchian bands?
bool
true
plotDon
Backtest FROM
time
timestamp("2022-01-01T00:00:00")
fromDate
Backtest TO
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 strategy overlays a trend moving average and Supertrend bands directly on the price chart while calculating Stochastic RSI values internally. Long positions trigger when price exceeds the moving average, Supertrend signals bullish momentum, and the StochR
This strategy plots VWMA-based Bollinger bands on the 1-minute ES futures price chart for volatility analysis and potential breakout identification. It calculates dynamic long and short stop loss and take profit levels using percentage inputs relative to entry
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 trades long breakouts of a fast and a slow moving average on the price chart. It opens a long position when price crosses above either average, using a percentage of equity as size. It reduces the position by a set share when the high reaches the
This strategy combines exponential moving averages (EMA 9, 21, 50), RSI, MACD, and Supertrend indicators to enter long positions. It triggers trades using six dynamic setups based on momentum breakouts, EMA crossovers, and pullbacks. Position sizing is compute
This strategy identifies trend reversals through market structure changes (CHoCH) filtered by MACD momentum. It initiates long positions on bullish structure breaks when MACD is positive and above its signal line, and short positions on bearish breaks when MAC