Description
EA LAB / TDI MOMENTUM / EA022 v1.01 / METATRADER 5
Capture fresh momentum. Define every rule.
TDI identifies the turn.
Heiken Ashi checks freshness.
Stochastic confirms direction.
EA #022 TMS Momentum is a configurable MetaTrader 5 Expert Advisor inspired by Trading Made Simple. It automates closed-candle TDI crosses and optional continuation bounces, checks the first one or two same-colour Heiken Ashi candles, and confirms Stochastic direction. A physical stop loss protects each position; TDI shape or opposite-cross rules manage exits.
The robot turns a discretionary idea into explicit, testable rules. You select the timeframe, signal sensitivity, exit behaviour and risk. The package includes the compiled EA, GOLD H4 example settings and a detailed 28-page English manual.
Read the 28-page manualExplore original trade examples
SYSTEMATIC ENTRIES
Cross, bounce, or both
Use a fresh Green/Red cross, a defined same-side pullback followed by renewed momentum, or either signal. All signal candles are completed. HA freshness and direction remain required in every mode.
CONFIGURABLE MANAGEMENT
Original risk stays measurable
Choose swing or ATR initial SL, balance-risk sizing or fixed lots. Add fixed-R TP, break-even or candle trailing when needed. Trade labels report realized price R against the original SL.
How EA022 makes a trading decision
- Read closed signal candles. Signal Timeframe is independent of the chart period. Choose M5, M15, M30, H1, H4 or D1.
- Calculate Green and Red. Both lines are separate simple moving averages of raw close-price RSI. Red is not an average of Green. Factory values are RSI13 / Green2 / Red7; the provided GOLD preset uses RSI17 / Green3 / Red9.
- Identify the selected cross or bounce. Directional slope and optional minimum slope must agree. The bounce has its own maximum Green/Red gap.
- Confirm a fresh HA run. BUY requires bullish traditional Heiken Ashi, SELL bearish. The same-colour closed-candle run must be within the selected maximum age of one or two.
- Check Stochastic direction and optional filters. Rising K confirms BUY, falling K confirms SELL. K/D alignment is an optional extra; oversold/overbought is not a mandatory pullback rule.
- Execute at an eligible tick. Licensing, entry hours, spread, broker stops, volume and margin checks must pass. One own position and one successful entry per signal candle are allowed.
The signal is confirmed from the previous closed candle. A market order may occur at a later tick in the current signal candle if an execution filter initially blocks it. EA022 does not require a price breakout through that candle’s high or low.
BUY and SELL rules
BUY CROSS
Green moves above Red
Previous Green is at or below Red; latest closed Green is above Red and rising. HA is bullish and fresh. When enabled, Stochastic K is rising. Optional filters and execution checks complete the setup.
SELL CROSS
Green moves below Red
Previous Green is at or above Red; latest closed Green is below Red and falling. HA is bearish and fresh. When enabled, Stochastic K is falling. SELL mirrors BUY.
What counts as a bounce?
For BUY, Green stays above Red across three completed candles, first pulls back or flattens and then rises again. The prior Green/Red gap must be within InpBounceMaxGap. SELL mirrors this below Red. It is a numerical continuation model, not every visual touch or discretionary re-entry described in a forum. The HA freshness limit still applies.
Stops, exits and money management
| Component | Implemented behaviour |
|---|---|
| Initial swing SL | Below the lowest low for BUY or above the highest high for SELL across N completed real candles, plus an outward tick buffer. N must be at least 2. |
| Initial ATR SL | Entry-to-stop distance based on the previous closed Signal TF ATR and selected multiplier. |
| TDI shape exit | Close when Green is sufficiently flat or moves against the position by the configured hook threshold. Evaluated on new signal bars. |
| Opposite-cross exit | Close BUY on a bearish Green/Red cross, or SELL on a bullish cross. “Shape or cross” permits either condition. |
| Optional fixed TP | Initial risk multiple, with broker stop-distance and tick-grid checks. OFF in the supplied GOLD preset. |
| Optional break-even | Tighten SL toward entry after reaching a chosen original-risk multiple; optional tick offset. The supplied preset uses 2R with zero offset. |
| Optional candle trailing | Follow 1–4 closed real candles on an independent TF. Only tighten SL; optional inside-bar gate waits for a directional mother-bar break. OFF in the supplied preset. |
| Position sizing | Risk percentage of balance using actual original-stop distance, or manually fixed lots. Broker volume grid, lot cap and free margin are checked. |
Stops are rounded and adjusted outward to broker minimum distances before sizing. Estimated percentage risk excludes commission, swap and execution gaps. A break-even stop can still produce a net loss after costs. The terminal or VPS must remain running for EA-managed exits, BE and trailing.
Entry-hours and licensing restrictions block new trades while existing own positions remain managed. Next-session closing is optional and uses broker-server weekday timing; exchange holidays are not inferred. No news-calendar filter, martingale, averaging-down basket or pyramiding is implemented.
Optional filters you can test
Reference EMA, TDI bands, minimum HA body/ATR, minimum real-candle range/ATR and room to a confirmed S/R pivot are available separately. The S/R filter uses confirmed closed pivots; if no level is identified ahead, it passes. All five filters are OFF in the supplied preset. Spread/ATR and optional broker-server trading hours provide additional entry checks.
Original MT5 trade examples
These are the supplied terminal screenshots, cropped only to the chart area. No candles, trade markers or returns were invented. Their visible dates fall within the report period. They illustrate execution; screenshots alone do not expose every internal signal value at entry.




The supplied GOLD.pro H4 configuration
| Setting | Example preset | Factory baseline |
|---|---|---|
| Signal TF / entry mode | H4 / cross or bounce | H4 / cross |
| RSI / Green / Red | 17 / 3 / 9 | 13 / 2 / 7 |
| Minimum TDI slope / HA age | 0 / maximum 2 | 1.0 / maximum 2 |
| Stochastic | 8 / 3 / 3, direction ON, K/D extra OFF | Same |
| Initial SL / exit mode | Swing 2 + 1 tick / TDI shape or cross | Swing 3 + 1 tick / TDI shape or cross |
| Flat / hook / spread ceiling | 0.5 / 0.5 / 0.15 ATR | Same |
| TP / break-even / trailing | OFF / ON at 2R / OFF | OFF / OFF / OFF |
| Risk / maximum lots | 3% balance / 10 lots | 1% balance / 10 lots |
| Hours / next-session close | OFF / OFF | OFF / OFF |
The example is broker-specific and changes factory settings when loaded. GOLD.pro may have a different name or specification at your broker. The customer SET retains the original numeric trading values; its SwingBars optimization start is corrected to 2, inactive TP optimization is unchecked, and informational text describes RSI17 / SMA3 / SMA9 accurately.
Example historical backtest
Source: owner-supplied MT5 report for EA022 v1.01, GOLD.pro H4, OANDA TMS Brokers S.A. / OANDATMS-MT5 (Build 6230). Period: 1 January 2025–11 September 2026. Initial deposit: 5,000 USD. Leverage: 1:100. Risk: 3% of balance.
| Metric | Reported result |
|---|---|
| Net profit / final balance | 17,008.72 USD / 22,008.72 USD |
| Maximum relative EQUITY drawdown | 23.36% |
| Profit Factor / total trades | 1.65 / 238 |
| Winning / losing trades | 105 (44.12%) / 133 (55.88%) |
| Average winning / losing trade | 412.56 USD / -197.82 USD |
| Longest consecutive loss sequence | 9 trades |
| Recorded commission / total swap | 0.00 USD / -579.96 USD |
| History quality / ticks | 99% / 138,471,732 ticks |
| Custom max / Smooth Equity score | 426.793608 |
The balance curve uses the original Deals table, including recorded swap, without smoothing. All intermediate balances reconcile: 5,000 + 17,588.68 trade P/L – 579.96 swap = 22,008.72 USD. Realized balance is not floating equity; maximum equity DD comes from MT5 statistics.
The modeling-mode label and full spread schedule are not explicitly stated in the report. Tick count is not proof of real-tick mode. These are historical results from the supplied configuration; no independent live run or out-of-sample validation is claimed. The report win rate is below 50%, so the result depends on larger winners offsetting more frequent losses.
Download the original MT5 report and images
Backtesting and optimization
Select Custom max in MT5 to use the built-in ranking. Default SMOOTH EQUITY evaluates profit, equity linearity, regularity of positive balance windows, stagnation, Ulcer and drawdown. NET PROFIT is a manual alternative.
Both modes reject fewer than 40 trades or relative equity DD above 35% by default. Smooth also requires positive profit, at least seven real equity/balance samples spanning 35 days and four evaluated weekly windows. The supplied report passes the hard trade-count and DD gates. Its individual Smooth components are not provided, so they are not independently claimed here.
Optimize small groups: entry mode, RSI, Green/Red periods and slope first; then compare stop and exit sensitivity. Only search TP, BE or trailing parameters when enabled. Keep risk fixed, compare neighbouring parameter regions, reserve unseen data and run final real-tick tests when available. Suggested range seeding is optional and OFF by default, preserving loaded ranges.
The 35% DD gate ranks completed tests; it is not a live-account cutoff. Read the MT5 backtesting checklist and Strategy Lab research guides before relying on a preset.
What you receive
- EA022 TMS Momentum v1.01 EX5 for MetaTrader 5.
- GOLD.pro H4 example SET with original numeric trading settings and cleaned optimization metadata.
- 28-page English PDF manual: installation, every input, management, preset comparison and four original chart examples.
- Quick-start installation text and version/packaging changelog.
- A product-specific EA022 license after eligible paid-order completion, for two MT5 account/server combinations.
The customer ZIP is delivered through WooCommerce downloads. MQ5 source and personal activation keys are not included in the ZIP. The public manual and report are separate from the protected software package. MT5 is the available version; other-platform requests are subject to separate development.
Install and activate
- Copy the EX5 to MT5 Data Folder / MQL5 / Experts and refresh Navigator.
- Attach the EA to your broker symbol, load the SET and review signal TF, risk and exits.
- For demo/live, allow https://ea-lab.dev in Tools → Options → Expert Advisors → WebRequest.
- Enter your EA022 key in InpLicenseKey, enable Algo Trading and verify LICENSE ACTIVE.
- Retest on your broker and forward test on demo before considering live use.
Strategy Tester and optimization need no activation key and consume no slots. Demo/live validation occurs at startup and approximately every 24 hours. Temporary server/network failures may use up to 72 hours from a previous valid confirmation for the same identity. Explicit rejection blocks new entries; existing own positions continue to be managed.
Inspiration: Trading Made Simple
EA022 is inspired by Big E / eelfranz and the Trading Made Simple discussion on Forex Factory. The original method emphasizes TDI entries/exits, HA candles and Stochastic direction; see particularly posts #1, #2 and #6.
EA LAB defines explicit closed-bar timing, numerical slope and bounce conditions, traditional HA, protective stops and configurable management. It does not reproduce every discretionary instruction or proprietary Synergy APB candle. No affiliation, endorsement or identical performance is implied.
Version 1.01
Release branding, configured TDI visual levels, stricter invalid-curve rejection in Custom Max and font-input validation. Original trading rules, input names and trading defaults retained. The owner-supplied Drive source matches the prepared v1.01 code byte for byte; the EX5 and report were supplied by the owner.
Frequently asked questions
Is EA022 the original discretionary TMS method?
It is a systematic EA LAB adaptation inspired by TMS. The software uses completed candles, explicit numeric thresholds, traditional HA and configurable stops/management.
Do I need to install TDI or Heiken Ashi indicators separately?
No. The required calculations are internal, using standard MT5 indicator handles and internal HA/TDI calculations.
Does the chart period control the signal timeframe?
No. InpSignalTF selects M5, M15, M30, H1, H4 or D1 independently. Candle trailing has a separate timeframe.
Why are the chart candles not Heiken Ashi?
The chart uses normal market candles. HA is calculated internally for direction and freshness. Orders use real Bid/Ask and real-candle stop extremes.
Why is EMA visible when the filter is off?
InpShowEMALine controls the reference display; InpUseEMAFilter separately controls its trading filter.
Can I use the GOLD preset on a different broker?
You can load it, but symbol specifications, costs, history and execution differ. Revalidate before use. The reported results apply to GOLD.pro at the specified broker.
What does an RR label mean?
Realized signed price distance divided by original SL risk. It excludes commission/swap and does not equal percentage account return. BE/trailing do not replace the original denominator.
Why is there no trade?
Check license, Algo Trading, 300 completed signal candles of history, cross/bounce, fresh HA, Stochastic direction, spread, hours, own/other positions, valid stops, volume and margin. Inspect Experts/Journal.
Where do I find the files and activation key?
Use your eligible completed order and My Account. Keep the key private. Contact ea@ea-lab.dev with the order number for delivery support.
Risk disclosure
Historical results are not forecasts. Results vary with broker, spread, commission, symbol, data and settings. Trading may cause partial or total loss of capital. Stops do not guarantee the intended execution price. You choose the configuration and risk and decide whether to trade live.





Reviews
There are no reviews yet.