TrendAdvisor
- Experts
- Version: 1.6
- Activations: 15
TrendAdvisor — an Expert Advisor for structured trend trading in MetaTrader 5.
The EA checks direction on two timeframes (H4 and H1 by default), opens one market position per symbol, and manages it with fixed Stop Loss / Take Profit and a Trailing Stop. If needed, it draws on-chart signal arrows ( UseGraphics option).
What the EA does
-
Confirms direction on two timeframes ( tf1 , tf2 are configurable).
-
Opens one position per symbol (no averaging, no grids, no martingale).
-
Sets protective levels: SL, TP, Trailing Stop.
-
No flip into the opposite direction while a position is open.
-
Optionally draws entry arrows on the last closed bar.
Key features
-
Multi-timeframe direction filter.
-
Confidence threshold and minimum bars to validate a trend.
-
Transparent risk model: fixed lot.
-
Works with netting and hedging (practically one position per symbol).
-
No martingale, no grids, no locking.
Important notes
-
Values in “points” are relative to the instrument’s _Point
(e.g., 100 points on EURUSD ≈ 10 pips on a 5-digit symbol). -
Results depend on broker conditions (spread/commission/execution/swaps).
-
Test and adjust parameters for your account and instruments before live trading.
Quick start
-
Attach the EA to the desired MT5 chart.
-
Keep default H4/H1 or set your own tf1 / tf2 .
-
Set lotSize and protective levels stopLoss / takeProfit / trailingStop (in points).
-
Enable UseGraphics=true to display arrows (optional).
-
Validate in Strategy Tester (mode “Every tick based on real ticks”).
Backtesting recommendations
-
At least 2–3 years of history, realistic spread/commission.
-
Example starting ranges (tune per symbol/TF):
stopLoss = 200–400 points , takeProfit = 400–800 points , trailingStop = 150–300 points . -
Try several TF combinations (e.g., H4/H1, H1/M15) and major symbols (EURUSD, GBPUSD, XAUUSD, etc.).
Support & updates
Updates and basic setup help are available. Feedback is welcome — suggestions are considered for future versions.
Disclaimer: this description is not a profit guarantee. Trading financial markets involves risk.
Inputs — explanations
-
fastMAPeriod / medMAPeriod / slowMAPeriod — EMA periods (fast / medium / slow).
-
adxThreshold — minimum ADX value to confirm trend strength.
-
tf1 / tf2 — timeframes used for direction confirmation.
-
lotSize — fixed trade volume.
-
stopLoss / takeProfit / trailingStop (points) — SL/TP/Trailing in points.
-
minConfidence (%) — minimum confidence percentage to allow a signal.
-
minTrendBars — minimum consecutive bars to confirm a trend.
-
UseGraphics (true/false) — show on-chart entry arrows.
Requirements & compatibility
-
Platform: MetaTrader 5 (latest terminal version).
-
Account: netting or hedging (EA manages one position per symbol).
-
Instruments: FX pairs, metals, indices, crypto — at user’s discretion.
-
Timeframes: default H4/H1, configurable.
-
Terminal must have Full Trade Mode and live quotes.
FAQ
Does it open multiple positions? — No, one position per symbol.
Martingale/grid/averaging? — No.
Does it flip on opposite signals? — No; it waits until the current trade is closed (exit via SL/TP/Trailing).
How to choose timeframes? — Default H4/H1; test alternatives (e.g., H1/M15).
How to interpret “points”? — Units of the instrument’s _Point (e.g., 100 points ≈ 10 pips on 5-digit EURUSD).
What lot should I use? — Set fixed lotSize according to your balance and risk.
