Seykota Alt 37: BE + Time opens long or short positions when price breaks 55-bar highs or lows, provided optional volume and market regime filters align. Position sizing is calculated using ATR volatility, allowing pyramiding up to four units. The strategy employs an initial two-ATR stop loss, moves to breakeven after two ATR in profit, tightens trailing stops from three to 1.5 ATR after thirty bars, and offers three multi-tier profit targets. Plots are overlaid 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
Move to BE after X*N
float
2.0
breakEvenN
Trail lookback
int
22
trailLen
Initial trail (N)
float
3.0
trailN
TIGHT trail (N)
float
1.5
tightTrailN
Tighten after X bars
int
30
tightenAfter
Add every X*N
float
0.5
addStepN
Max units
int
4
maxUnits
Show all 27 settings
Setting
Type
Default
Variable
Risk % per unit
float
1.0
riskPct
Use targets?
bool
true
useTargets
T1 (N)
float
3.0
target1N
T2 (N)
float
6.0
target2N
T3 (N)
float
9.0
target3N
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 trend-following strategy executes a classic Donchian channel breakout system designed to cross-validate backtest results against external framework benchmarks. It triggers a long entry when the closing price breaks above the highest high of the prior entr
This strategy plots running pivot highs as red R circles and pivot lows as blue S circles directly on the price chart. It computes an EMA 3 and a Cto trend line from close prices, then generates long signals on upward EMA-Cto crossovers combined with price pos
The Chained Linear Regression Reversal Strategy plots linear regression channels with upper and lower standard deviation bands directly on the price chart across a user-defined time window. When price breaks out of the static channel for a confirmed number of
This strategy executes trades based on crossovers between a 12-period and a 26-period exponential moving average (EMA). Long positions can be filtered by pivot resistance breakouts and RSI boundary ranges. For trade management, it provides two configurable par
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 enters long or short on the price chart when price is on the correct side of a 200-period EMA, MACD agrees, RSI is not at the opposing extreme, ADX exceeds a threshold, volume beats a 20-bar average, and close breaks the recent high or low. A tim