SGT Smart Money Pro EA is a paid MT4 and MT5 expert advisor. It trades BUY and SELL signals from Smart Money Concepts analysis (market structure, order blocks) on closed candles only. A license or trial key is required on a demo or live chart. The Strategy Tester does not need a key.
Install on MT4
- In MetaTrader 4, choose File -> Open Data Folder.
- Open
MQL4/Experts/ and copy SGT_Smart_Money_Pro_EA.ex4 into it.
- Allow WebRequest: Tools -> Options -> Expert Advisors -> tick "Allow WebRequest for listed URL" -> add
https://investortipster.com.
- In the Navigator, right-click Expert Advisors and choose Refresh, or restart the terminal.
- Open a chart (for example XAUUSD H4) and attach SGT Smart Money Pro EA.
- On the Common tab allow live trading, and switch AutoTrading on in the toolbar.
- On the Inputs tab paste your key into Enter your License Key, review the trade settings, then click OK.
Install on MT5
- In MetaTrader 5, choose File -> Open Data Folder.
- Open
MQL5/Experts/ and copy SGT_Smart_Money_Pro_EA.ex5 into it.
- Allow WebRequest: Tools -> Options -> Expert Advisors -> tick "Allow WebRequest for listed URL" -> add
https://investortipster.com.
- In the Navigator, right-click Expert Advisors and choose Refresh, or restart the terminal.
- Open a chart and attach SGT Smart Money Pro EA.
- On the Common tab allow Algo Trading, and turn Algo Trading on in the toolbar.
- On the Inputs tab paste your key into Enter your License Key, review the trade settings, then click OK.
License
SGT Smart Money Pro EA is a paid product. It uses the Investor Tipster license API (product slug sgt-smart-money-pro-ea). The key is sent only in the X-License-Key header, never in a URL, and it is never printed in full in the log.
- Get your License Key from your Investor Tipster dashboard and bind your own MT4 or MT5 account number there (the API never binds an account by itself).
- Paste the key into the Enter your License Key input.
- Add
https://investortipster.com under Tools -> Options -> Expert Advisors -> Allow WebRequest for listed URL. Without it the check fails with error 4060 (MT4) or 4014 (MT5), the panel says so, and no new trades are opened.
- A check runs when the product starts and then about every hour. One license is for one account and one terminal at a time. If the check does not return valid (wrong key, expired, other terminal in use, no connection) the product opens no new trades (existing positions and their stop loss / take profit stay as they are) and shows the server message, then retries after a few minutes.
- Removing the product or closing the chart tells the server to release the terminal slot.
- The Strategy Tester needs no key: the license check is skipped in the tester.
- While the license is Locked, the EA draws nothing on the chart: no structure, blocks, signals or lines, only a small panel with the license status and the server message. If a valid license becomes Locked, the EA removes its chart drawings. Use the free SGT Smart Money Pro indicator to see the visuals without a key.
How trades are handled
- Signals come from the last closed candle only.
- A signal that cannot be sent (failure, spread above your limit, outside the trading hours window) stays pending and is retried on later ticks. It expires after Signal Valid For (bars) bars, and a newer signal replaces it.
- With Use Signal SL / TP on, the order carries the signal's stop loss and take profit. If price has already moved beyond the stop or the target, the signal is skipped. Stops are widened to the broker's minimum stop distance if needed.
- The EA closes its own position before opening the other side (when Reverse on Opposite Signal is on), holds at most one position, and never buys and sells at the same time.
- It never modifies or closes trades that belong to another magic number or to a manual order. On MT5, if another magic number or a manual position is open on the symbol, it does not trade and keeps the signal until it expires.
- Max Trades Per Day counts orders opened by this EA for the current broker-server day, per symbol and magic number. The counter is kept in the terminal's global variables, so it survives a restart.
- Use Trading Hours limits new entries and reversals to the window you set (broker server time).
- If the license is not valid, no new trades are opened. Existing positions keep their broker-side stop loss and take profit.
Inputs (defaults)
Market Structure
| Label |
Default |
Meaning |
| Show Internal Structure |
true |
Short-term BOS / CHoCH lines (dotted). |
| Internal Length |
5 |
Bars on each side that confirm an internal swing point. Lower = more, smaller moves. |
| Show Swing Structure |
true |
Major BOS / CHoCH lines (solid). |
| Swing Length |
25 |
Bars on each side that confirm a swing point. Higher = fewer, bigger swings. |
| Max Structure Labels (per type) |
14 |
How many of the newest internal and swing structure lines are kept on the chart. |
| Bullish Color |
green |
Color of bullish structure lines and labels. |
| Bearish Color |
red |
Color of bearish structure lines and labels. |
Order Blocks
| Label |
Default |
Meaning |
| Show Order Blocks (active only) |
true |
Draw order blocks that price has not broken yet. A block disappears as soon as it is broken. |
| Max Order Blocks Shown |
5 |
Number of newest active blocks drawn. |
| Block is Broken By |
Close |
Close beyond the block (default) or any wick beyond it. |
| Max Block Size (ATR) |
3.0 |
Ignore blocks taller than this many ATR, so wide candles do not cover the chart. |
| Bullish Order Block Color |
dark tint |
Fill color of bullish blocks. |
| Bearish Order Block Color |
dark tint |
Fill color of bearish blocks. |
Fair Value Gaps
| Label |
Default |
Meaning |
| Show Fair Value Gaps |
false |
Draw three-candle gaps that price has not fully filled. A gap shrinks as price re-enters it and disappears when filled. |
| Min Gap Size (ATR) |
0.20 |
Smallest gap to show, in ATR. |
| Max Gaps Shown |
5 |
Number of newest open gaps drawn. |
| Bullish Gap Color |
dark tint |
Fill color of bullish gaps. |
| Bearish Gap Color |
dark tint |
Fill color of bearish gaps. |
Premium / Discount
| Label |
Default |
Meaning |
| Show Premium / Discount Zones |
false |
Shade the upper part (premium) and lower part (discount) of the current swing range and draw the equilibrium line at 50%. |
| Zone Depth (% of range) |
25 |
Height of the premium and discount zones as a share of the swing range (5 to 45). |
| Premium Zone Color |
dark tint |
Fill color of the premium zone. |
| Discount Zone Color |
dark tint |
Fill color of the discount zone. |
| Equilibrium Line Color |
gold |
Color of the 50% line. |
Liquidity
| Label |
Default |
Meaning |
| Show Equal Highs / Lows |
false |
Mark equal highs (EQH) and equal lows (EQL) as liquidity levels. A level disappears once price trades through it. |
| Pivot Length |
3 |
Bars on each side that confirm the highs and lows compared for equality. |
| Equal Tolerance (ATR) |
0.10 |
How close two highs (or lows) must be to count as equal, in ATR. |
| Max Levels Shown |
4 |
Number of newest active equal-high / equal-low levels drawn. |
| Liquidity Color |
gold |
Color of equal-high / equal-low lines. |
Signals
| Label |
Default |
Meaning |
| Show Buy/Sell Signals |
true |
Draw the BUY / SELL arrow with its filled label box on closed candles. |
| Show Entry / SL / TP Lines |
true |
Draw Entry, Stop Loss and Take Profit lines for the latest signals. |
| Signals With Lines |
3 |
How many of the newest signals keep their Entry / SL / TP lines. |
| Take Profit (risk : reward) |
2.0 |
Take profit distance as a multiple of the stop distance (2.0 = 2R). |
| Stop Loss Buffer (ATR) |
0.25 |
Extra room behind the last internal swing point, in ATR. |
| Min Stop Distance (ATR) |
0.8 |
The stop is never closer than this many ATR. |
| Max Stop Distance (ATR) |
3.5 |
The stop is never farther than this many ATR. |
| Only BUY in Discount / SELL in Premium |
false |
Optional filter: BUY only below the swing equilibrium, SELL only above it. |
| Higher Timeframe (Current = auto) |
Current (auto) |
Timeframe used for the higher-timeframe trend row. Current = automatic (M5/M15 -> H1, M30/H1 -> H4, H4 -> D1, D1 -> W1). |
Trade Settings
| Label |
Default |
Meaning |
| Lot Size |
0.01 |
Volume of each new order, rounded to the symbol's lot step. |
| Use Signal SL / TP (off = fixed points) |
true |
On: the order uses the signal's structure-based stop and target. Off: the fixed point values below are used. |
| Fixed Stop Loss (points) |
0 |
Stop loss in broker points when Use Signal SL / TP is off. 0 = none. |
| Fixed Take Profit (points) |
0 |
Take profit in broker points when Use Signal SL / TP is off. 0 = none. |
| Max Spread (points, 0 = off) |
0 |
Skip a new entry while the spread is above this value. The signal stays pending and is retried. |
| Magic Number |
20261201 |
Identifies this EA's orders. It never touches other magic numbers or manual trades. |
| Slippage |
30 |
Maximum slippage in points. |
| Reverse on Opposite Signal |
true |
On: close the current position and open the other side. Off: close only, do not open the opposite trade. |
| Signal Valid For (bars) |
3 |
A signal that could not be sent (spread, failure, hours) is dropped after this many bars. |
| Max Trades Per Day (0 = off) |
5 |
Stops opening new trades after this many for the current server day (per symbol and magic number). |
| Use Trading Hours |
false |
Only open or reverse trades inside the window below. |
| Start Hour (server time) |
8 |
First hour of the window (broker server time, 0-23). |
| End Hour (server time) |
20 |
Hour the window ends (not included). A start later than the end means a window across midnight. |
License
| Label |
Default |
Meaning |
| Enter your License Key |
(empty) |
Paste the key from your Investor Tipster dashboard. |
Chart Display
| Label |
Default |
Meaning |
| Bars to Analyze |
500 |
How many recent bars are analysed and drawn (minimum 150). |
| Zone Extension (bars) |
15 |
How far to the right zones and lines extend past the last bar. |
Panel
| Label |
Default |
Meaning |
| Show Panel |
true |
Draw the on-chart information panel. |
| Panel Corner |
Bottom Left |
Chart corner for the panel. Default Bottom Left. |
| Panel Offset X |
15 |
Horizontal margin from the chosen corner, in pixels at 120 DPI (scaled to your screen). |
| Panel Offset Y |
30 |
Vertical margin from the chosen corner, in pixels at 120 DPI (scaled to your screen). |
The panel
The boxed panel (default Bottom Left, 15 / 30 pixels from the corner, scaled to your screen DPI) shows trend on the chart timeframe and on the higher timeframe, the last signal with date, time and price, Entry / Stop Loss / Take Profit and status, account number, spread, position, P&L, trades today, license status and expiry, and the server message. Footer: Investor Tipster · investortipster.com · SGT · smartgoldtrade.com
Click the header to collapse it. When you remove the EA from the chart (or close the chart), it deletes every object it drew: structure lines and labels, order blocks, gaps, zones, liquidity levels, signal boxes, Entry / SL / TP lines and the panel.
FAQ
Why did it not open a trade at the signal?
Check AutoTrading / Algo Trading, the license status in the panel, the max spread filter, the trading hours window, the daily trade limit, and (MT5) whether another position is open on the symbol. The reason is printed in the Experts log.
Why is the chart empty apart from the panel?
The license is Locked. The EA draws its chart only with a valid license. Enter your key, or use the free SGT Smart Money Pro indicator for the visuals.
Does the chart drawing affect trading?
No. The drawings are for review. In the non-visual Strategy Tester the EA skips all drawing.
Does one key work on two computers at once?
No. One license is for one account and one terminal at a time. Remove the EA on the first terminal so it can release the session.
Can I run it with other expert advisors?
Yes. On MT4 it ignores other experts' orders. On MT5 it waits while any other magic number or manual position is open on the same symbol.
Backtest results by timeframe (1 year, XAUUSD, lot 0.01)
XAUUSD, 2025.11.30 to 2026.11.30, MT5 Strategy Tester on MetaQuotes-Demo data, model Every tick based on real ticks (history quality 99% real ticks on every timeframe), deposit 10 000 USD, leverage 1:100, default inputs, lot 0.01. Spread came from the real tick data (no fixed spread, spread filter off).
| TF |
Net profit (USD) |
Profit factor |
Trades |
Win % |
Max equity DD $ (%) |
Sharpe |
Recovery factor |
Largest loss (USD) |
Max consecutive losses (USD) |
| M15 |
-522.62 |
0.92 |
265 |
32.08% |
1 209.89 (11.59%) |
-0.85 |
-0.43 |
-187.98 |
11 (-440.30) |
| M30 |
1 008.83 |
1.28 |
121 |
38.84% |
520.23 (4.80%) |
1.83 |
1.94 |
-120.76 |
8 (-489.22) |
| H1 |
-623.60 |
0.82 |
63 |
31.75% |
1 106.15 (10.66%) |
-1.02 |
-0.56 |
-437.86 |
8 (-500.86) |
| H4 |
558.48 |
1.48 |
14 (low sample) |
42.86% |
526.11 (5.06%) |
0.47 |
1.06 |
-250.15 |
3 (-381.90) |
| D1 |
320.28 |
1.78 |
2 (low sample) |
50.00% |
672.81 (6.65%) |
0.02 |
0.48 |
-411.10 |
1 (-411.10) |
Best tested timeframe: M30. M30 had a profit factor of 1.28 over 121 trades, the lowest maximum equity drawdown of the five timeframes (520.23 USD, 4.80%), and the highest Sharpe ratio (1.83) and recovery factor (1.94). H4 (profit factor 1.48, 14 trades) and D1 (profit factor 1.78, 2 trades) had higher profit factors, but with fewer than 20 trades they are too small a sample to rely on. M15 (0.92) and H1 (0.82) had a profit factor below 1, so they lost money in this test.
Ranking (by profit factor and drawdown, timeframes with at least about 20 trades):
- M30: PF 1.28, 121 trades, max equity DD 4.80%
- M15: PF 0.92, 265 trades, max equity DD 11.59% (loss in this test)
- H1: PF 0.82, 63 trades, max equity DD 10.66% (loss in this test)
Low sample (fewer than 20 trades), not ranked: H4 PF 1.48, 14 trades, DD 5.06%; D1 PF 1.78, 2 trades, DD 6.65%
These are results of one test on one broker's historical data. Past results, in the tester or live, do not guarantee future results. Spread, commission, swap and execution differ between brokers and accounts. Test on a demo account before trading live.
How to backtest in MT4/MT5 Strategy Tester
The Strategy Tester needs no License Key: the license check is skipped there. The same SGT_Smart_Money_Pro_EA file runs on a live or demo chart once you enter your key.
MT5
- Press Ctrl+R (View → Strategy Tester).
- In Settings, choose Expert: SGT_Smart_Money_Pro_EA (under Experts).
- Set Symbol to XAUUSD (or your broker's gold symbol) and the timeframe, for example H4.
- Set Date to Custom period and pick the start and end dates.
- Set Modelling to Every tick based on real ticks if your broker offers it, otherwise Every tick.
- Set Deposit (for example 10000 USD) and Leverage (for example 1:100). Change the EA inputs on the Inputs tab if needed (default Lot Size 0.01).
- Click Start. When it finishes, open the Backtest (results) tab for the statistics and the Graph tab for the balance and equity curve.
MT4
- Press Ctrl+R (View → Strategy Tester).
- Choose Expert Advisor: SGT_Smart_Money_Pro_EA.
- Set Symbol to XAUUSD and Period to H4.
- Tick Use date and set From and To.
- Set Model to Every tick (MT4 has no real-tick mode).
- Click Expert properties to set the initial deposit and the inputs. Leverage comes from the account you are logged in with.
- Click Start, then open the Results, Graph and Report tabs.
In the non-visual tester the EA skips all chart drawing; use Visual mode to watch it draw. Results depend on the broker's data, spread, commission and the modelling mode. Past results, in the tester or live, do not guarantee future results.
Risk disclaimer
Trading forex, gold and other leveraged markets involves a risk of loss. This is a technical analysis tool; it does not promise profits or any particular result. Use a demo account first and never risk money you cannot afford to lose.