by Ahmed-GoCode· code credited to Ahmed - Quant-Edge Indicators
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 time window can limit entries. Exits use an ATR stop, an ATR multiple take profit, and an ATR trailing stop. Position size defaults to ten percent of equity. It plots the EMA.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
EMA Length
int
200
emaLen
MACD Fast
int
12
macdFast
MACD Sólow
int
26
low
MACD Signal
int
9
macdSignal
RSI Length
int
14
rsiLen
RSI Overbought
int
70
rsiOverbought
RSI Oversold
int
30
rsiOversold
ATR Length
int
14
atrLen
ATR Stop Loss Multiplier
float
1.5
atrMult
Take Profit Multiplier
float
2.0
tpMult
ADX Length
int
14
adxLen
ADX Threshold
float
20
adxThresh
Show all 18 settings
Setting
Type
Default
Variable
Trailing Stop ATR Multiplier
float
1.0
trailATRMult
Volume Multiplier for Entry
float
1.0
volMultiplier
Breakout Lookback Bars
int
10
breakoutLookback
Use Time Filter
bool
true
useTimeFilter
Start Hour
int
8
startHour
End Hour
int
20
endHour
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 enters long positions during a specified trading session when multiple technical indicators align. It executes a buy order when the low drops below the lower Bollinger Band while RSI and ADX exceed configurable threshold values, price closes abov
This strategy trades longs and shorts on the price chart. Long entries require a close above the prior Donchian high, a close above a long-term SMA, and RSI above a threshold, with size set as a percentage of equity. Long exits use a stop at the prior Donchian
This strategy tracks an opening session time range to establish directional bias and triggers pullback trades using Stochastic RSI. Once price breaks out of the initial range, it establishes a directional bias and enters when the Stochastic RSI crosses over in
This strategy evaluates breakout and trend opportunities on the price chart using a weighted composite score of volume, trend, and candlestick structure. It tracks volume spikes, fast and slow EMAs, higher-timeframe EMA trend alignment, opening ranges, and ses
This strategy trades Donchian channel breakouts on the price chart and exits on a shorter Donchian channel. It sizes each unit from a percentage of equity and an ATR-based initial stop, then adds units as price moves a set ATR distance, up to a maximum unit co
This strategy trades Nikkei 225 futures during a configurable overnight session, defaulting to 19:00–03:00 ET. It builds long and short trend conditions from an 8/21 EMA pair and a 200-period SMA, with RSI, momentum, an ATR-scaled breakout range, and a volume