[r]MT5 ROBOT LABCONFIGURABLE STRATEGIES

Triple Supertrend Strategy: Alignment, Retests and EA027

TREND FOLLOWING / MULTI-LAYER CONFIRMATION / EA027

Understand how a Triple Supertrend strategy turns three trend layers into explicit BUY and SELL rules, then compare market entries with ST2 and ST3 retracement entries.

Triple Supertrend strategy concept with fast, middle and slow luminous trend layers
Conceptual EA027 artwork. The glowing paths illustrate three layers; they are not a measured performance chart.

Explore EA #027 Triple Supertrend PRO for MT5 →

01 / ALIGN

Three trend layers

Fast, middle and slow Supertrends separate early direction changes from full agreement. Confirm signals using completed candles.

02 / TIME

Market or retracement

Act after the signal or wait for a broker-side limit at ST2 or ST3. A setup arrow does not guarantee a fill.

03 / PROTECT

Defined initial risk

ST2-based Stop Loss, an R-multiple target and optional break-even or trend exits. Split one risk budget across 1–3 entries.

How the three Supertrend lines work

EA027 calculates three Supertrends, each with its own ATR period and multiplier, on the selected Signal Timeframe. ST1 is the fast directional layer, ST2 is the middle layer and initial Stop Loss reference, and ST3 is the slow trend layer. “Fast” and “slow” describe their intended roles; the actual sensitivity depends on the chosen periods and multipliers.

Signals use completed candles. Signal Timeframe can be M5, M15, M30, H1, H4 or D1 and is independent of the chart period. Changing the visible chart timeframe alone does not change this input.

What is a fresh signal?

Full agreement means all three lines point in the same direction. A fresh 3/3 signal is a transition from less than full agreement into full agreement. The lines do not need to flip simultaneously: two can already point upward before the third completes a BUY alignment. Repeatedly remaining in the same 3/3 state does not create a new signal on every candle.

Four strategy SETs

SETClosed-bar qualificationDifference
SET 1 / Basic 3/3 confirmedFirst full 3/3 agreement, followed by one additional closed candle with the agreement intact.Extra confirmation; EMA and StochRSI inputs are not used by this SET.
SET 2 / PRO 2/3At least two Supertrends agree, the closed candle is on the correct side of EMA, and a recent StochRSI setup qualifies.Earlier directional qualification with momentum confirmation; optional K/D agreement.
SET 3 / STRICT 3/3All three Supertrends agree, with the same EMA and StochRSI requirements as PRO.Full trend agreement plus momentum filters.
SET 4 / 3/3 ImmediateThe first completed candle with new full 3/3 agreement.No additional confirmation candle; “Immediate” still means closed-bar logic.

SET numbers in the interface are 1–4; their stored input values are 0–3. Strategy SET and Entry Timing are independent choices. PRO/STRICT issue signals on a transition into their complete qualification rules, rather than on every candle while those rules remain true.

Choose the entry timing

  • SIGNAL: request market execution after a closed-bar strategy signal, subject to trading, spread, stop-distance and volume checks.
  • ST2 LIMIT: wait for a retracement to the middle Supertrend level. The EA places a real broker-side Buy Limit or Sell Limit rather than assuming a historical candle touched it.
  • ST3 LIMIT: use the slow Supertrend as the retracement entry level. The initial Stop Loss still uses ST2 plus the buffer, so some configurations will be rejected if the stop is not protective.

Retest levels come from completed bars and may be canceled and repriced on later signal bars while the setup remains valid. The order has a bounded lifetime. The broker must support specified pending-order expiry. Session changes, invalidated direction, unsafe spread-to-stop distance, authorization or position conflicts can cancel the waiting entry.

Setup examples and actual MT5 views

Example A — confirmed BUY with a market entry

Suppose two Supertrends already point up and the slow layer turns upward on a completed candle. That creates fresh 3/3 agreement. SET 4 can signal on that completed bar; SET 1 waits for another closed candle maintaining agreement. SIGNAL requests an eligible market entry afterward. An ST2-based protective stop and the chosen R target are calculated before execution. This is a worked rule sequence, not a claim that every blue arrow on the screenshot was filled.

Owner-supplied EA027 MT5 visual test showing three Supertrend layers during a bullish price move
Owner-supplied v1.10 Strategy Tester view: bullish price movement and three trend layers. Interface example only; not a performance report or a v1.11 backtest.

Example B — SELL after bearish agreement

A prior upward phase ends and the three layers turn bearish, potentially on different candles. The selected SET decides whether additional confirmation is needed. A SELL uses a protective stop above ST2 and a target below entry. If price oscillates around the lines, losing signals and repeated reversals remain possible; full agreement does not remove sideways-market risk.

Owner-supplied EA027 MT5 visual test showing bullish and bearish Supertrend transitions and trade annotations
Owner-supplied v1.10 Strategy Tester view showing a directional transition and trade annotations. Numbers visible inside the terminal are not used as product performance statistics.

Example C — wait for the ST2 retest

With ST2 LIMIT selected, a valid signal arms a waiting limit group. If price moves away and never reaches the current broker limit before expiry, no entry is expected. If the limit and protective stop are too close relative to spread or broker stop rules, the trade is skipped. Inspect MT5 Trade and Journal for actual order state.

EA027 Strategy Tester screenshot with three Supertrend lines and pending ST2 retest order rows
Owner-supplied v1.10 tester view with ST2 retest order rows. Setup arrows, pending orders and executed deals are separate states.

Stop Loss, Take Profit and exits

For BUY, the initial Stop Loss sits below ST2 by the selected point buffer; SELL mirrors the placement above ST2. A valid protective stop is required. The target distance is Reward/Risk multiplied by the entry-to-initial-stop distance. A different limit entry therefore changes both the risk distance and the target.

Optional management includes ST2 trailing, break-even after a selected number of Signal Timeframe bars, a closed-candle ST3 trend exit, and an opposite-alignment exit. ST3 exit requires both a close beyond the slow line and an ST3 direction opposite the position. The opposite-alignment option closes when at least two lines point against the position.

BE moves the stop toward the entry price only when the position is favorable and the broker permits the modification. It does not loosen an already better stop. A stop at entry can still produce a negative net result after commission, swap, gaps or slippage. EA-managed exits need the terminal and EA to remain running; server-side orders depend on the broker’s execution rules.

One risk budget, 1–3 entries

Risk-percent mode estimates size from current account equity and the initial stop distance. Fixed-lot mode is also available. InpEntriesPerSignal controls 1–3 entries for a fresh confirmed setup; the intended risk or lot budget is divided across the number to be placed. This is a split execution group, not a promise of three independent opportunities or three successive pullbacks.

For an illustrative 1% signal budget with three entries, each entry is assigned approximately one third of that budget before volume rounding. The EA rounds volume down and can reject orders below the broker minimum. Broker fills, slippage, gaps and fees can make realized loss exceed the planned budget.

New signals are blocked while any position exists on the symbol. On netting accounts, use EA027 exclusively on that symbol: do not combine it with manual or other-EA positions. Hedging accounts allow the separate positions of the entry group. Optional daily entry cap, cooldown, spread limits and a broker-server-time session filter restrict new entries.

Supplied US100 H4 research configuration

The supplied SET selects H4, SET 1, ST2 LIMIT and three entries. ST1 is 9 × 1.4, ST2 is 10 × 1.6 and ST3 is 14 × 3.5. Reward/Risk is 3.0; the initial stop buffer is 2,100 symbol points. BE is enabled after five Signal Timeframe bars; ST3 close exit is on, ST2 trailing and opposite-alignment exit are off. Optional ADX, higher-timeframe EMA and ATR entry filters are off.

The SET uses 3% equity risk per signal group. On H4, the 12-bar retest lifetime is approximately 48 hours of scheduled bars, subject to earlier cancellation and broker rules. “Points” depend on the symbol specification; the 2,100-point buffer is not portable between brokers or assets. Review risk, tick value, contract size, minimum volume and trading costs before any use.

ORIGINAL MT5 DATA / MODERN VIEW

Balance curve · USD

No smoothing, projections or invented data points. Rebuilt directly from the Deals table in the original MT5 report.

217 VERIFIED POINTS
10,5349,0107,4875,9644,441TRADE 0TRADE 54TRADE 108TRADE 162TRADE 216
2025.01.01Balance after each closed trade2026.10.20
Net profit5,110.92 USD
Profit factor1.78
Max equity drawdown17.36% (1,076.76 USD)
Total trades216
Winning trades37.50%
Expected payoff23.66 USD

Source: EA027_Triple_Supertrend_PRO_us100_h4.html · Historical backtest results do not guarantee future performance.

Example historical backtest — US100.pro H4

Owner-supplied MT5 report for EA027 v1.11, OANDA TMS Brokers: 1 January 2025–22 October 2026. Initial deposit 5,000 USD; leverage 1:100; SET 1, ST2 LIMIT, three entries sharing 3% risk; RR 3; BE after five bars and ST3 close exit.

Net profit: 5,110.92 USD (+102.22%); final balance: 10,110.92 USD; Profit Factor: 1.78; 216 closed positions; 81 winners (37.50%); expected payoff: 23.66 USD.

Maximum relative equity drawdown: 17.36% (1,076.76 USD). Maximum monetary equity drawdown: 1,580.82 USD (17.12%); these are different report measures. The 217 balance points include the initial deposit and each closed position. All balance changes reconcile with recorded profit, commission and swap. Three positions can belong to one signal; 216 positions are not 216 independent signals.

History quality: 100%; ticks: 344,073,327; recorded commission and swap: 0.00 USD. The exact tick-model label and complete spread/delay schedule are not stated. This is a closed-trade balance curve, not a floating-equity curve or independent forward test. Historical results do not predict future performance.

View the original MT5 report

Testing and optimization

Custom Max supports Smooth Equity and Net Profit. The default qualification gates are at least 40 trades and at most 35% maximum relative equity drawdown. These are tester ranking gates, not a live account stop. Select “Custom max” in MT5 for the EA score to control optimization ranking.

Compare one strategy SET and one entry mode at a time. Keep risk and costs fixed, tune a small group of signal inputs, then review stops and optional filters separately. Confirm shortlisted configurations on unseen data and final “Every tick based on real ticks” tests where broker data is available. Read the MT5 backtesting checklist, walk-forward guide and equity drawdown guide.

When the approach can struggle

Supertrend is a lagging trend indicator. Confirmation can enter after a substantial part of a move; demanding more agreement can reduce signals without guaranteeing better trades. In a range, the layers can flip repeatedly. A retracement mode may miss a strong move entirely or fill just before a reversal. Optimizing all line periods, multipliers, filters and exits at once creates a large search space and increases overfitting risk.

A faster layer is useful context, but it is not independent proof of direction: all three layers are calculated from the same underlying price data. Their agreement is not three unrelated confirmations. Evaluate performance across different regimes and costs, and compare the strategy with other documented trading strategies.

Frequently asked questions

Does “new signal” require all three lines to flip on one candle?

No. A fresh full-alignment signal occurs when the last missing layer completes 3/3 agreement. SET 1 adds another confirmation candle; SET 4 does not.

Why is there an arrow but no trade?

The arrow can mark a setup. A retest must reach a real limit order. License, session, spread, stop distance, margin, lot minimum, cooldown, a symbol position or broker retcode can also prevent execution.

Is three-entry mode martingale?

No. It divides a configured signal risk/lot budget across the group; it does not increase size after a loss. All entries still carry execution and market risk.

Does the robot predict market crashes?

No. It reacts to configured price-based trend rules and can generate BUY or SELL signals. It is not a crash predictor or a guaranteed profit system.

Are the illustrated chart trades a performance record?

No. They are supplied visual examples. A full report, matching configuration and verified test conditions are needed for performance analysis.

Installation and license

The customer release includes compiled EX5, the US100 H4 example SET and the English manual. MQ5 source and private license keys are not customer download assets. Install EX5 in MQL5/Experts, refresh Navigator, attach the EA, load the SET and review all risk settings. For demo/live use, enter the EA027 license and allow WebRequest to https://ea-lab.dev.

The standard license supports two MT5 account/server combinations. Strategy Tester and optimization use TESTER MODE without online activation. Authorization is checked at startup and periodically; existing EA-owned positions remain managed when new entries are blocked. Do not share a license key in SET files or screenshots.

Download the English user manual — installation, settings and troubleshooting

Risk disclosure

EA LAB provides configurable trading software and educational material, not personalized investment advice. Historical tests and examples do not predict future performance. Leveraged trading can cause partial or total capital loss. Spreads, gaps, commission, swap, execution delays, broker specifications and overfitting affect results. Stop Loss orders do not guarantee a maximum realized loss.

Withdraw from contract here · Paid adaptation purchase terms