Seykota Alt 45: Dual Momentum sizes each unit from a risk percent of equity and can add units after a set ATR advance, up to a unit limit. An initial ATR stop and a trailing stop manage risk, while optional age-based targets scale out at three ATR multiples that tighten as the position ages. An optional market moving average can filter the regime. It plots on the price chart.
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
int
55
entryLen
N = ATR length
int
20
nLen
Initial stop (N)
float
2.0
stopN
Trail lookback
int
22
trailLen
Trail (N)
float
3.0
trailN
Add every X*N
float
0.5
addStepN
Max units
int
4
maxUnits
Risk % per unit
float
1.0
riskPct
Use RSI confirmation?
bool
true
useRsiFilter
RSI length
int
14
rsiLen
Show all 36 settings
Setting
Type
Default
Variable
RSI long threshold
float
50.0
rsiLongThresh
RSI short threshold
float
50.0
rsiShortThresh
Use age-based targets?
bool
true
useTargets
Young pos threshold (bars)
int
15
youngAge
Mature pos threshold (bars)
int
30
matureAge
Young T1 (N)
float
4.0
youngT1
Young T2 (N)
float
7.0
youngT2
Young T3 (N)
float
10.0
youngT3
Standard T1 (N)
float
3.0
standardT1
Standard T2 (N)
float
6.0
standardT2
Standard T3 (N)
float
9.0
standardT3
Aging T1 (N)
float
2.0
agingT1
Aging T2 (N)
float
4.0
agingT2
Aging T3 (N)
float
6.0
agingT3
Use regime filter?
bool
false
useMarket
Market symbol
symbol
SPY
marketSym
Regime TF
timeframe
D
marketTF
Market MA
int
200
marketLen
Min volume
int
0
minVol
Plot signals?
bool
true
showSignals
Plot Donchian?
bool
true
plotDon
FROM
time
timestamp("2022-01-01T00:00:00")
fromDate
TO
time
timestamp("2099-12-31T23:59:59")
toDate
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