by theonetrade· code credited to gu5tavo71 (Gustavo Cardelle)
Mix1: EMA Cross + Trend Channel combines fast and medium exponential moving averages with a 200-period baseline trend moving average to detect momentum and trend direction.
Mix1: EMA Cross + Trend Channel [Gu5] calculates an ATR-based trend channel around the 200-period MA, which can optionally source data from a higher timeframe. The indicator identifies EMA crossovers and Golden Crosses directly on the price chart. Users can customize MA lengths, switch between SMA and EMA for the trend line, adjust channel width parameters, set time filters, and toggle visual features such as bar coloring and signal alerts.
EMA crossover detection for fast and medium averages
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
MA Source
source
close
i_maSrc
EMA Fast
int
26
i_maFast1
EMA Medium
int
50
i_maFast2
MA Trend
int
200
i_maLen
MA Type
string
O_MALEN2
i_maLenSel
Select Higher Timeframe
timeframe
i_htf
Channel Range Length
float
0.618
i_rangeLen
■ Stop Loss On/Off
bool
false
i_slOn
SL %
float
2.618
i_sl
■ Period On/Off
bool
false
i_periodSw
Start Time
time
O_START
i_periodStar
End Time
time
O_END
i_periodEnd
Show all 18 settings
Setting
Type
Default
Variable
Position Type
string
O_POSSEL3
i_posSel
Strategy Type
string
O_TYPES2
i_typeS
■ Bar Color On/Off
bool
true
i_barColOn
■ Alert On/Off
bool
true
i_alertOn
■ Channel Range On/Off
bool
false
i_channelOn
■ Golden Cross On/Off
bool
false
i_goldenOn
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 indicator analyzes short-term price action on index futures and options charts by applying Rational Quadratic kernel smoothing to detect sideways consolidation ranges and potential breakouts. It processes pivot highs and lows over customizable loopback pe
This indicator plots Ichimoku Cloud elements on the price chart, including Tenkan-sen, Kijun-sen, Senkou Span A and B lines with optional Chikou Span. It signals trend changes via Tenkan-sen and Kijun-sen crosses and places arrows at Kijun-sen direction shifts
This indicator overlays trend-following Supertrend bands on the price chart using Average True Range calculations. It plots trailing stop lines, highlights active trend directions, and prints buy or sell shape labels when price closes across band thresholds. I
This indicator plots two Hull moving averages on the price chart, one of the selected price and one of close, and optionally smooths both with a Kahlman filter. It fills the space between them and marks buy and sell labels when they cross, provided scaled volu
The MA Envelope indicator calculates upper and lower channel bands shifted by a user-defined percentage around a baseline moving average. It supports Simple Moving Average, Exponential Moving Average, and Weighted Moving Average calculation types. The script p
This indicator calculates an Exponential Moving Average and a Zero-Lag Moving Average to identify market trends on the price chart. It plots both moving averages and fills the space between them with color to highlight trend direction. Upon a crossover or cros