SMMT Indicator V4 · SMMT Indicator V3 Lite · SMTLiteEA
Version 1.0 · 2026
1. What's in the Package
The SMT Suite contains three programs that work together:
Program
Type
Role
SMTLiteEA.ex5
Expert Advisor
Opens / manages trades. Owns the time fetch & kill-zone filter.
SMMT_IndicatorV3_Lite.ex5
Indicator (signal-provider)
Computes signals on demand. Called by the EA through iCustom. No internet, no visual arrows.
SMMT_IndicatorV4.ex5
Indicator (visual)
Standalone visual indicator on the chart. Shows arrows for every condition. Useful to compare live signals against the EA.
How they relate
The EA does not call the V4 Indicator. It calls the Lite indicator (signal-only). V4 is for your eyes β to see signals on the chart.
2. Installation
Copy the four files into your MetaTrader 5 data folder:
MQL5/
βββ Experts/
β βββ SMTLiteEA.ex5β the EA
βββ Indicators/
βββ SMMT_IndicatorV3_Lite.ex5β signal-provider for the EA
βββ SMMT_IndicatorV4.ex5β visual indicator (optional)
1
In MetaTrader 5, click File β Open Data Folder.
2
Navigate to MQL5/Experts/ and drop SMTLiteEA.ex5 there.
3
Navigate to MQL5/Indicators/ and drop both indicator files there.
β Verification
In the Navigator (Ctrl+N), expand Expert Advisors β you should see SMTLiteEA. Expand Indicators β you should see both SMMT items.
3. Terminal Setup (One-Time)
Two things must be enabled at the terminal level:
3.1 β Allow Algo Trading (toolbar button)
1
Find the Algo Trading button in the MT5 top toolbar (it looks like a small play/run icon). Click it so it turns green.
Shortcut: Ctrl + E toggles the same button.
3.2 β Allow DLL imports
1
Click Tools β Options (or press Ctrl + O).
2
Go to the Expert Advisors tab.
3
Check the box "Allow DLL imports (potentially dangerous, enable only for trusted applications)".
4
Click OK.
Why DLLs?
The EA uses wininet.dll (Windows built-in) to fetch timezone offsets from timeapi.io without needing the MT5 URL whitelist. Without DLL permission, the EA cannot run.
4. First Run (Live Chart)
The first time you use the suite, it must run on a live chart so it can fetch and cache the timezone offsets for your broker. After that, the strategy tester can run offline.
1
Open any live chart (e.g., GBPUSD, M15).
2
Drag SMTLiteEA from the Navigator onto the chart.
3
In the dialog that pops up, follow the steps in section 5 below.
4
Wait ~5 seconds. The EA fetches UTC, Zurich, and New York offsets and writes them to a cache file.
How to verify
Open the Experts log tab. Look for a line like:
Day-of-week filter is checked in the same chosen timezone.
7B. EA β Indicator-Side Inputs (passed via iCustom)
The EA forwards a copy of all indicator settings to the Lite indicator through iCustom. They appear in the EA's Inputs tab grouped per condition. Adjust them exactly the same way you would on the standalone V4 indicator.
Symbols
Label (as shown in MT5)
Default
Description
Symbol B
true
Use the second correlated symbol.
Custom Symbol B
(empty)
Override symbol B name (leave empty for auto).
Symbol C
true
Use the third correlated symbol.
Custom Symbol C
(empty)
Override symbol C name.
Use Custom Tickers
false
Force the custom symbols instead of auto rotation.
Bars Count
1000
Chart bars processed by the engine.
Data Anchor
2026.03.01
Engine walk start date. Must precede any backtest start.
Condition 1
Label
Default
Description
Max Confirmation Bars for Condition 1
1
Bars allowed between the pending pattern bar and the confirmation bar.
Condition 2
Label
Default
Description
Max Confirmation Bars for Condition 2
1
Bars allowed between pending and confirmation.
Check div on any bar
true
Accept divergence on the initial, pending, or confirmation bar.
Pattern Type for Condition 2
Strict only
Pattern style: Strict / Looser / Both.
Condition 3
Label
Default
Description
Lower timeframe for Condition 3
M5
LTF used to confirm divergence.
Max Confirmation Bars for Condition 3
1
Seed-side confirmation bar count.
Pattern Type for Condition 3
Strict only
Seed pattern style.
Condition 4
Label
Default
Description
Higher timeframe for Condition 4 (e.g. 1h)
H1
HTF used to confirm divergence.
How many HTF candles to scan backwards
10
HTF lookback window.
Required number of HTF divergence hits
1
Minimum hits in the lookback to accept.
Double Divergence Handling Mode
Any
How to resolve windows with both bull & bear divs.
Base Condition (Seed)
Cond 2
Whether C4 is built on top of C2 or C3.
Pattern Type for Condition 4
Strict only
Seed pattern style.
Max Confirmation Bars (Current TF only)
1
Confirmation bars on the chart timeframe.
Lower timeframe (when seed = C3)
M5
LTF used only when Base = C3.
Condition 5 β BB Angle Filter
Label
Default
Description
C5: Angle Method
Normalized
How the BB middle slope is converted to an angle (Normalized or Regression).
C5: Long Max Angle (Β°)
-10.0
Long signals require angle β€ this value.
C5: Short Min Angle (Β°)
10.0
Short signals require angle β₯ this value.
C5: Angle Lookback Bars
10
Bars used to compute the slope.
C5: Filter Touch Lookback
3
Bars used for the BB filter-touch check.
C5: Seed Type
C2
Source condition feeding C5 (C2 / C3 / C4).
C5: Pattern Type
Strict only
Seed pattern style.
C5: Max Confirmation Bars
1
Confirmation bars on the chart timeframe.
C5: LTF (when seed=C3)
M5
LTF used only when Seed = C3.
C5: Base (when seed=C4)
Cond 2
Base used only when Seed = C4.
C5: HTF (when seed=C4)
H1
HTF used only when Seed = C4.
C5: HTF Lookback / C5: Min HTF div hits
10 / 1
HTF scan window and minimum required hits.
C5: BB Period / Deviation / Shift / Applied Price
20 / 2.0 / 0 / Close
Standard Bollinger Bands parameters.
C5: BB Target TF
Current
Multi-TF Bollinger source.
C5: BB Filter Type
50% Mid-band
Filter preset.
C5: Use Upper Filter + Upper Filter %
true / 50
Custom upper filter (Custom mode).
C5: Use Lower Filter + Lower Filter %
true / 50
Custom lower filter (Custom mode).
8. Using the V4 Indicator
V4 is the visual indicator. Drop it on the chart to see signal arrows for every condition (C1..C5). It is independent of the EA.
1
Drag SMMT_IndicatorV4 onto a chart.
2Common tab β check Allow DLL imports.
3Inputs tab β tick the "Show Condition 1 signals on chart", "Show Condition 2 signals on chart", β¦ "Show Condition 5 signals on chart" toggles for the conditions you want to display.
8.1 β New C5 BB Angle Method
V4 removes the old ATR-based BB angle and adds a dropdown:
Method
What it does
Normalized Slope
Slope as a % change of BB middle per bar, then atan() β degrees. Reacts faster to recent moves.
Regression Slope
Linear least-squares fit through the BB middle values across the lookback. Smoother, less noisy.
The Long / Short angle thresholds (default Β±10Β°) keep the same feel as before, so existing presets work without re-tuning.
9. Strategy Tester
Read this carefully
The strategy tester cannot access the internet. It relies on the TZ cache file created by a live run. You must run the EA on a live chart at least once before launching the tester.
1
Make sure the EA has already been attached to a live chart on the same broker for at least 5 seconds.
2
Open the Strategy Tester (Ctrl + R).
3
Select SMTLiteEA, the symbol, timeframe, and date range.
4
Adjust inputs as needed, then Start.
If the tester refuses to start
You will see a clear journal message like:
[SMTLiteEA] β TZ cache file missing or stale for this broker.
[SMTLiteEA] FIX: run the EA on a LIVE chart for 5 seconds, then retry tester.
Just attach the EA on a live chart of the same broker, wait 5 seconds, then come back.
10. Timezone Cache (How it Works)
The EA caches three brokerβTZ offsets (UTC, Zurich, New York) in a small text file shared between live and tester:
Run the EA on a live chart of the same broker for 5 seconds, then retry the tester.
EA loads but never trades
Check (1) the spread is below the value set in Max Spread in Points, (2) the Enable Kill Zone filter setting, if turned ON, allows the current time, (3) Allow Long Trades / Allow Short Trades are both enabled.
No signals on V4 chart
In the V4 indicator's Inputs tab, enable the desired "Show Condition X signals on chart" toggles. By default only Condition 2 is ON.