Leave the license key empty
During the free period leave LicenseKey empty and the EA connects automatically. Existing users keep their account, settings and history.
Download · MT4 EA
Download the EA and add it to MT4 on your own computer. Demo and live accounts are free until December 31, 2026 (Beijing time, UTC+8); paid plans start on January 1, 2027.
MetaTrader 4 (.ex4) — not for MT5
⚠️ Forex and CFD trading is high risk and can lose capital. Tianshu is an execution tool and promises no win rate or return. Test thoroughly on a demo account first.
🔒 The file is checked against its SHA-256 in your browser before it is saved · Read the install guide
Before you start
During the free period leave LicenseKey empty and the EA connects automatically. Existing users keep their account, settings and history.
In MT4 Options → Expert Advisors allow WebRequest for https://www.trde.cn, log in with the trading password and switch on AutoTrading.
USD-quoted gold such as XAUUSD, XAUUSD.s, XAUUSDm and GOLD is detected automatically (2 or 3 decimals); otherwise enter the symbol in ExecutionSymbol.
Broker costs are managed automatically. USD, EUR, GBP, JPY, cent and other account currencies are supported.
Brokers verified so far: EBC (demo and live) and CPT (live only). USD-quoted gold at other brokers is also detected — please test on a demo account first.
Nine steps, verifying network, symbol and account status.
Release notes
No more pyramid adds: across 21.5 months, all six add variants were worse on both Tianshu's and random entries, so new trades are no longer added to (existing multi-unit baskets keep their shared stop). New drawdown guard: when the EA's own closed P/L falls below its high-water mark, risk per trade shrinks in proportion — half at a 10% drawdown, 10% of normal at 20% or more — and recovers automatically with profits; deposits and withdrawals do not count. In the 21.5-month replay the maximum drawdown fell from about 85% to about 25%. Base risk stays at 1%. The panel's risk line shows the current drawdown and the size in use.
The input window shows only the 9 settings a technician needs, in English; all other execution parameters are fixed at their validated values and old preset files no longer change execution. The first panel line shows whether an update is available. Accounts of 1,000–2,000 USD are supported: when the 1% size is below the broker's minimum lot, the EA trades the minimum lot if its stop-loss risk is at most 2% of the account (MinLotMaxRiskPct, capped at 5%), otherwise it skips the trade and logs why.
After moving the same account to a new computer the EA no longer stops with RISK_HISTORY_LINEAGE_REVIEW_REQUIRED: when flat it backs up the old history and resumes within 1–2 minutes (run one computer per account). RISK_POST_FILL_REVIEW_REQUIRED clears after 30 flat minutes. The 5% daily-loss stop uses the day's net closed result.
Exit and add-on settings are locked to the validated profile; old preset values are ignored.
New installs no longer stop on a stale risk state: when flat the EA backs it up and starts fresh.
ATR trailing stop for the whole position; one add-on at 2 ATR profit with a shared stop, keeping total risk within the first trade's; execution reports for every entry signal.