TrendGuard Pro MT5
- Индикаторы
- Bo Wang
- Версия: 1.1
- Обновлено: 24 марта 2026
- Активации: 5
How It Works
At its core, TrendGuard Pro uses the classic Supertrend algorithm (ATR-based dynamic support/resistance) to detect trend direction and reversals. Each potential signal is then evaluated against a stack of up to 11 independent filters — all of which must agree before a BUY or SELL arrow is drawn. Entry price, Stop Loss, and Take Profit levels are automatically calculated using the Average True Range (ATR) and displayed on the chart for the most recent signal.
Signal Flow
- Supertrend flip — a bearish→bullish or bullish→bearish direction change generates a candidate signal.
- Filter stack evaluation — the candidate is checked against each enabled filter in turn; any single failing filter discards the signal.
- Arrow + levels — if all active filters pass, a BUY ↑ or SELL ↓ arrow is painted. ATR-derived Entry, SL, and TP zones are displayed as colored rectangles on every signal candle.
- Alert dispatch — popup, email, and/or push notifications are sent with full trade details.
The 11 Confirmation Guards
| Filter | What It Checks |
|---|---|
| Fast EMA | Fast exponential moving average alignment with signal direction |
| Slow EMA | Slow EMA cross vs Fast EMA — confirms trend stack |
| Three Trend EMAs | 50 / 100 / 200 EMA stacking: price and EMAs must be in order |
| EMA Slope | Minimum slope of Fast EMA over N bars — filters flat/sideways markets |
| RSI | RSI must be above/below configurable threshold; optional OB/OS exclusion |
| ADX | Minimum ADX level confirms trending market; +DI/−DI directional check |
| Volume | Current bar volume must exceed a moving average × multiplier |
| VWAP | Price must be above (buy) / below (sell) the daily VWAP |
| Bollinger Bands | Price in upper/lower half of BB, or breakout outside the band |
| MACD | MACD histogram direction; optional strict divergence detection mode |
| Smart Candle | Minimum body-to-range ratio; candle must close in signal direction |
Every filter is individually enabled or disabled via its own toggle input. You can run from pure Supertrend-only signals up to the full 11-filter stack.
Signal Modes
| Mode | Description |
|---|---|
| Supertrend Only | Signals fire on any Supertrend direction flip — maximum frequency |
| Supertrend + EMA (default) | Adds Fast/Slow EMA alignment — balanced frequency vs quality |
| Full Stack | All enabled filters must confirm — maximum signal quality |
ATR-Based Money Management
Every signal automatically computes:
- Stop Loss = Entry ± SL Multiplier × ATR(n)
- Take Profit = Entry ± TP Multiplier × ATR(n)
- Entry level marker drawn at signal bar's low (buy) or high (sell)
All three levels are displayed as colored semi-transparent rectangle zones on every signal candle — the stop-loss region in red and the take-profit region in green, with a white entry line separating the two. Zone opacity is adjustable via the Zone Opacity % parameter.
Built-In Performance Simulation
TrendGuard Pro scans back over the last up to 5,000 bars and simulates every historical signal to determine whether Take Profit or Stop Loss was hit first. Results are shown in an on-chart stats panel that can be dragged to any position with the mouse:
- Win rate (%)
- Total trades (wins / losses)
- Average profit in price units per trade
- Symbol and timeframe
Optional connector lines (OBJ_TREND) link each signal bar to its exit point — green for wins, red for losses — making it easy to review historical performance visually.
Visual Elements
- Supertrend line — green when bullish, red when bearish
- Fast EMA line (default: blue)
- Slow EMA line (default: orange)
- Primary Trend EMA line (default: gold, EMA 200)
- BUY ↑ arrows below signal bar (lime)
- SELL ↓ arrows above signal bar (red)
- Dashed SL / TP / Entry rectangle zones on every signal candle (red=SL, green=TP, white=Entry)
- Entry-to-exit connector lines (simulation history)
- Dark stats panel — draggable with mouse (position and offset configurable)
All visual elements can be shown or hidden independently via input parameters.
Alert System
Three alert channels operate simultaneously:
- Popup alert — on-screen window with full trade details
- Email alert — sent to your MetaTrader-configured email address
- Push notification — real-time mobile push via MetaTrader mobile app
Every alert message includes: direction, symbol, timeframe, entry price, stop loss, and take profit.
Optional "alert on bar open only" mode prevents duplicate alerts on every tick.
Parameters Overview (55+ inputs)
Supertrend
| Parameter | Default | Description |
|---|---|---|
| ATR Period | 10 | Period for the underlying ATR calculation |
| ATR Multiplier | 3.0 | Band width multiplier (higher = fewer flips) |
| Signal Mode | ST + EMA | ST Only / ST+EMA / Full 11-filter stack |
EMA Filters
| Parameter | Default | Description |
|---|---|---|
| Fast EMA Period | 9 | Short EMA |
| Slow EMA Period | 21 | Medium EMA |
| EMA Smoothing Method | EMA | MA method for Fast/Slow EMA (SMA, EMA, SMMA, LWMA) |
| Trend EMA 1/2/3 | 50/100/200 | Long-term trend structure EMAs |
| EMA Slope Lookback | 3 | Bars over which Fast EMA slope is measured |
| Min EMA Slope | 0.0001 | Minimum slope to allow a signal |
Momentum / Oscillator Filters
| Parameter | Default | Description |
|---|---|---|
| RSI Period | 14 | — |
| RSI Bull Min | 50 | RSI must be above this for a buy signal |
| RSI Bear Max | 50 | RSI must be below this for a sell signal |
| Overbought / Oversold | 70 / 30 | Optional exclusion zones |
| ADX Period | 14 | — |
| ADX Min Level | 20 | Minimum trend strength required |
| MACD Fast/Slow/Signal | 12/26/9 | Standard MACD parameters |
| MACD Strict Divergence | false | Enable strict histogram-turn divergence mode |
Volume / Price Filters
| Parameter | Default | Description |
|---|---|---|
| Volume MA Period | 20 | Moving average period for volume comparison |
| Volume Multiplier | 1.0 | Volume must be ≥ (avg × multiplier) |
| BB Period / Deviation | 20 / 2.0 | Bollinger Band parameters |
| BB Breakout Only | false | Require price outside band vs. just in upper/lower half |
| Candle Body Ratio | 0.50 | Min body / total range ratio |
| Require Directional Close | true | Candle must close in signal direction |
SL / TP / Simulation
| Parameter | Default | Description |
|---|---|---|
| SL ATR Multiplier | 8.0 | Stop Loss = ATR × this value |
| TP ATR Multiplier | 20.0 | Take Profit = ATR × this value (default R:R = 1:2.5) |
| Zone Opacity % | 50 | SL/TP zone transparency (0=transparent, 100=opaque) |
| Simulation Lookback | 5000 | Number of past bars to include in win-rate simulation |
| Show Connectors | true | Draw entry-to-exit lines on chart |
Compatible Assets & Timeframes
- Assets: all symbols — XAUUSD (Gold), BTCUSD, Forex majors, indices, stocks
- Timeframes: M1 – H4 (designed for scalping; also works for intraday/swing)
- Platform: MetaTrader 5 only
Who Is This For?
- Scalpers who need fast, high-quality entry signals with automatic risk levels
- Traders who want to combine classical technical tools into a single, unified decision engine
- Anyone tired of repainting indicators — TrendGuard Pro signals only on a completed, closed bar
- Algo traders looking for a battle-tested signal base for EA development
