EMAs + BB Squeeze + Trend Short Strategy evaluates long-term trend conditions or volatility squeeze setups to trigger short entries. Position management includes customizable take profit and stop loss rules based on fixed percentages or ATR calculations, along with order expiration parameters. Indicators and signals plot directly overlaying the price chart.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Backtesting Start
time
timestamp("1 Jan 2015")
start
Order Expiration
int
100
maxTimeOpen
Take Profit Strategy
string
Percent
tpSlStrategy
Trailing Stop
string
Fixed
trailingStop
ATR SL Length
int
14
atrLength
ATR Multiplier
float
1
atrMultiplier
Risk Level
float
1
riskLevel
Take Profit %
float
10
shortProfitPercent
Stop Loss %
float
10
shortLossPercent
Trend or Squeeze
string
Trend
trendModeStr
EMA Short Length
int
20
ema1Length
EMA Short Source
source
close
ema1Input
Show all 26 settings
Setting
Type
Default
Variable
EMA Short Resolution
timeframe
D
ema1Resolution
EMA Med Length
int
50
ema2Length
EMA Med Source
source
close
ema2Input
EMA Med Resolution
timeframe
D
ema2Resolution
EMA Long Length
int
100
ema3Length
EMA Long Source
source
close
ema3Input
EMA Long Resolution
timeframe
D
ema3Resolution
BB MA Length
int
20
length1
BB MA Source
source
hlc3
src1
BB MA Type
string
SMA
maType
BB 1 Std Dev Multiplier
float
2.0
mult1
BB 2 Std Dev Multiplier
float
1.0
mult2
BB Lookback
int
10
bbLookback
Display Labels
bool
true
displayLabels
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