ADX | DMI Trend enters long when plus DI leads and short when minus DI leads, if short trades are allowed. Volume and an EMA or SMA can block entries, while lookback lengths change the ADX slope tests used for entry and exit. ATR and Parabolic SAR trailing-stop settings are present, but no stop loss is active by default. Each order uses a percentage of equity.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
From Year
int
2019
From_Year
From Month
int
1
From_Month
From Day
int
1
From_Day
To Year
int
9999
To_Year
To Month
int
1
To_Month
To Day
int
1
To_Day
Allow short trades?
bool
true
shortTrades
ADX Smoothing
int
14
adxlen
DI Period
int
14
dilen
Keylevel for ADX
int
23
keyLevel
Lookback Period for Slope (Entry)
int
3
adxLookbackEntry
Lookback Period for Slope (Exit)
int
1
adxLookbackExit
Show all 29 settings
Setting
Type
Default
Variable
Use Volume as Entry Filter?
bool
true
volFilter
Volume Filtering Method
string
Multiplier * Average
volType
Volume Trigger Multiplier
int
2
volMult
Volume Trigger Average Bars Back
int
20
volSMA
Manual Volume Value
int
20000
volManual
Use MA for Entry Filtering?
bool
true
useMaFilter
MA Type For Filtering
string
EMA
maType
MA Period for Filtering
int
200
maLength
Use ATR for Trailing Stop?
bool
true
useATR
ATR Lookback Period
int
14
atrLookback
ATR Multiplier
float
2
multiplier
Execute Trades On...
string
Wick
trigInput
Show Trailing ATR
string
Both
showInput
Use SAR for Trailing Stop?
bool
true
useSAR
Start
float
0.02
sarStart
Increment
float
0.02
sarIncrement
Max Value
float
0.2
sarMaximum
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 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
CombinedBinHAndClucV6 is a trading strategy based on the popular BinHV45 and ClucMay72018 algorithms. It calculates dual Bollinger Bands, Exponential Moving Averages, Relative Strength Index, Average True Range, and volume metrics across primary and one-hour h
LuxAlgo Hybrid Gold Scalper is a price-chart strategy aimed at gold. It stacks a fast, slow, trend and 200-period bias EMA to mark trend direction, then filters strength with RSI, ADX and an intraday VWAP. Swing highs and lows are marked from pivot length. Set
This multi-indicator modular strategy evaluates market entries by requiring consensus across a selectable suite of technical tools, including Absolute Strength, SSL Channel, Squeeze Momentum, and WaveTrend. Once conditions are met, it executes entries and scal