Seykota Alt 20: Asymmetric Long/Short calculates Donchian channels and ATR (N) to adapt to directional market speeds. Long positions utilize a longer entry lookback and tighter ATR trailing stops, while shorts use shorter lookbacks and wider stops. Signals enter on channel breakouts with ATR-based position sizing and multi-unit pyramiding steps up to a set maximum. Exits trigger on opposite Donchian channel boundaries, ATR stops, or optional time-based exits. Everything plots directly on the main chart.
Asymmetric long and short Donchian channel breakout entries
ATR-based dynamic position sizing and initial risk stops
Independent directional pyramiding with custom unit additions
Optional broad market regime filter using external symbol MA
Configurable time-based trade exits 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
LONG: Donchian ENTRY lookback
int
55
longEntryLen
LONG: Donchian EXIT lookback
int
10
longExitLen
LONG: Initial stop (in N)
float
2.0
longStopN
LONG: Add every X * N
float
0.5
longAddStepN
LONG: Max units
int
4
longMaxUnits
SHORT: Donchian ENTRY lookback
int
35
shortEntryLen
SHORT: Donchian EXIT lookback
int
10
shortExitLen
SHORT: Initial stop (in N)
float
2.5
shortStopN
SHORT: Add every X * N
float
0.75
shortAddStepN
SHORT: Max units
int
4
shortMaxUnits
Show all 26 settings
Setting
Type
Default
Variable
N = ATR length (both)
int
20
nLen
Risk % per unit (both)
float
1.0
riskPct
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 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 strategy runs on the price chart and enters long when a fast simple moving average crosses above a slow one, and short on the opposite cross, while closing the other side. Entries also need ATR above a filter, a pullback check, a minimum candle-body chang
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 executes breakout trades using two Donchian Channels alongside an optional 200-period EMA trend filter. Entries trigger when the price sets a new highest high or lowest low over the primary Donchian Channel period. Exits are managed via a shorter
This strategy implements a channel breakout system directly on the main price chart. It calculates highest highs and lowest lows over configurable entry and exit periods using historical candles. A long entry triggers when the close breaks above the entry chan
This strategy combines channel breakout concepts with an ATR-ADX volatility trailing framework and multi-timeframe moving averages. It evaluates trend conditions using configurable moving average types, including SMA, EMA, Hull MA, and Tilson T3, paired with d