This strategy enters long or short when a fast exponential moving average crosses a slow one, then sizes each unit from a percentage of equity and an ATR-based initial stop.
Seykota Alt 2: EMA Crossover can add positions as price moves by a multiple of ATR, up to a set unit limit, and trails risk with a chandelier stop. Optional filters require a chosen market to sit above or below its moving average and a minimum average volume. It draws the averages, signals, and stops on the price chart and limits trading to a 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
Fast EMA length
int
50
fastLen
Slow EMA length
int
200
slowLen
Chandelier trail lookback
int
22
trailLen
N = ATR length
int
20
nLen
Initial stop (in N)
float
2.5
stopN
Chandelier trail (in N)
float
3.0
trailN
Add every X * N
float
0.5
addStepN
Max units (incl. initial)
int
4
maxUnits
Risk % of equity PER UNIT
float
1.0
riskPct
Use market regime filter?
bool
false
useMarket
Show all 21 settings
Setting
Type
Default
Variable
Market symbol for regime (if used)
symbol
SPY
marketSym
Regime timeframe (if used)
timeframe
D
marketTF
Market MA length (if used)
int
200
marketLen
Min 20-bar avg volume (chart TF)
int
0
minVol
Plot signals & stops?
bool
true
showSignals
Plot EMAs?
bool
true
plotMAs
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