This article walks through E016 DriftGauge, a E016 DriftGauge trading strategy. It covers the strategy logic, signals and parameter settings, and ships ready-to-use MT4 / MT5 EAs with source download and live position tracking so you can evaluate and deploy it fast.
Magic 1077
[tv_ticker]
Overview 策略概述
DriftGauge is a clean, two-part trend-participation plan. Instead of reacting to every wiggle, it first asks a simple question: is price actually walking a straight line, or just wandering in place?
A directness gauge scores the efficiency of the path; a smooth guardrail line confirms the heading. Only when both agree — and the market is active enough — does a participation window open.
How it works 核心逻辑
Timing · direction
Directness gauge (PFE)
Polarized Fractal Efficiency compares the straight-line distance price covered to the actual zig-zag path it walked. Near +100 = a smooth climb; near −100 = a smooth slide; around 0 = messy chop. A cross from below zero to above zero flags a fresh upward heading (and vice-versa).
Direction filter
Guardrail line (TMA)
The Triangular Moving Average is a double-smoothed baseline. We take an up-turn only when this line slopes up, and a down-turn only when it slopes down — filtering crossings that fight the broader drift.

Signal rules 信号判断
| Side | Trigger | Confirm |
|---|---|---|
| LONG | Directness PFE crosses ABOVE 0 | Guardrail TMA slopes up · ATR ≥ floor |
| SHORT | Directness PFE crosses BELOW 0 | Guardrail TMA slopes down · ATR ≥ floor |
Protective stop1.5×ATR
Harvest target1.8×
Risk / plan1%
Max / day10

[tv_analysis symbol=”XAUUSD”]
Visual guide

Parameters (defaults) 参数设置
| Item | Value |
|---|---|
| PFE lookback / smooth | 10 / 3 |
| Triangular MA (TMA) | 20 |
| ATR / activity floor | 14 / 0.6 × 50-bar |
| Stop / Target | 1.5×ATR / 1.8×Stop (RR≈1.8) |
| Timeframe | H1 (M30–H4 ok) |
| Simulated frequency | ≈ 1.3 / day |
| Magic number | 100016 |

[tv_ticker]
Friendly note
This page is a study-and-learning share only. It is not investment advice and never a promise of gains. Markets carry risk — always test on a demo first and size small.




[mt5_calc_profit]
Source & Download
1. Place the EA file in
MQL5/Experts/ folder2. Add
https://jybj.org to WebRequest whitelist: Tools → Options → Expert Advisors → Allow WebRequest for listed URL3. One invite code = one account (non-transferable)
Ready to use · MT4 / MT5 · Parameters preconfigured 即开即用,参数已预设
Source code & compiled files: GitHub
Full documentation: Online strategy page
Live performance: View this strategy live →
Live Positions 实时持仓
[mt5_position magic=1077]
Related Trading Strategies
Want to compare more automated strategies? These related ones are worth a look:
- E015 · GustVane — related strategy — compare parameters and live positions
- E014 CoralTack — Smooth-Trend Change-of-Tack System — related strategy — compare parameters and live positions
- E013 SwellBeacon — Strategy Framework — related strategy — compare parameters and live positions
E016 DriftGauge Trading Strategy FAQ
Which symbols and timeframe does E016 DriftGauge suit?
E016 DriftGauge adapts to major FX and gold symbols; validate on demo first. Fine-tune for your broker’s spread and leverage, and rely on demo results before going live.
How do I download and run the E016 DriftGauge MT4/MT5 EA?
The Source & Download section provides compiled MT4/MT5 files and source. Drop it into MT5’s Experts folder, restart, and attach it to a chart — parameters are preset.
What are the risks of the E016 DriftGauge trading strategy?
No trading strategy guarantees profit; past and backtested results don’t predict the future. Run it on demo, cap per-trade and total risk, and understand the logic before trading live.
Further Reading
Risk Warning: The results shown are based on simulated or historical trading data. Past performance is not indicative of future results and does not constitute investment advice. Trading involves risk; please proceed with caution.
风险提示:本文所示为模拟/历史交易数据,过往表现不代表未来收益,不构成任何投资建议。