Login Sign Up
XAUUSD3,627.30▼ -0.73% XAGUSD43.015▼ -1.67% EURUSD1.09373 BTCUSD58,795.02▼ -2.30% GBPUSD1.33941▲ 0.94%· Tue 09:00 USDJPY158.673▼ -0.55%· Tue 09:00 US3046,214.3▲ 1.33%· Mon 19:30 US5006,581.8▲ 1.13%· Mon 19:30 GER4025,325.7▼ -0.35%· Thu 09:41 AUDUSD0.69697▲ 0.38%· Tue 09:00 USDCAD1.37411▼ -0.04%· Tue 09:00
Expert Advisor MT4MT5 v1.00

SGT Smart Money Pro EA

SGT Smart Money Pro EA is the automated version of SGT Smart Money Pro. It reads market structure (BOS and CHoCH), order blocks and liquidity on closed candles and places a trade only when a BUY or SELL signal confirms, …

SGT Smart Money Pro on an MT5 H4 gold XAUUSD chart with structure lines, active order blocks, BUY and SELL boxes with Entry, SL and TP lines and the boxed Investor Tipster panel

About

SGT Smart Money Pro EA is an original Investor Tipster expert advisor built on general Smart Money Concepts ideas. It uses the same engine as the SGT Smart Money Pro indicator and draws the same chart (structure, active order blocks, signals with Entry / SL / TP lines, optional gaps, premium / discount zones and equal highs / lows), so what you see is what the EA trades. The EA draws this chart only while its license is valid. While the license is Locked it draws nothing on the chart except a small panel with the license status; the free SGT Smart Money Pro indicator shows the same visuals without a key.

Trading rules

  • Signals come from closed candles only; there is no repainting.
  • At most one position of its own magic number. It never buys and sells at the same time and never touches trades that belong to another expert or a manual order. On MT5 it also waits while another magic number or a manual position is open on the same symbol.
  • Stop loss and take profit come from the signal (behind the last internal swing point, within a minimum and maximum ATR distance, target at your risk : reward), or from fixed points if you prefer.
  • If an order fails, the spread is above your limit, or the broker is busy, the signal stays pending and is retried on later ticks until it expires after the number of bars you set. On MT4 prices are refreshed and normalized before every send.
  • Optional: maximum spread, trading-hours window (broker time, windows across midnight work), maximum trades per day, reverse on opposite signal, lot size (default 0.01), slippage and magic number.

Panel. A boxed panel (default bottom left) shows trend on your timeframe and a higher timeframe, the last signal, Entry / SL / TP, account, spread, position, P&L, trades today, and the license status with the server message.

License. A license or trial key is required on a demo or live chart. Add https://investortipster.com to the terminal's WebRequest list, paste the key, and the EA checks it at start and about every hour. If the check is not valid, the EA opens no new trades (existing positions keep their broker stop loss and take profit) and keeps retrying. The Strategy Tester needs no key.

Clean removal. When you remove the EA from the chart, it deletes every object it drew, including the panel. If the license becomes Locked while it is attached, its chart drawings are removed too.

Works on symbols and timeframes your broker offers, including gold (XAUUSD) and forex. This is a technical trading tool. It does not guarantee results. Test it on a demo account first.

Footer on the panel: Investor Tipster · investortipster.com · SGT · smartgoldtrade.com

Inputs (defaults)

  • Show Internal Structure = true
  • Internal Length = 5
  • Show Swing Structure = true
  • Swing Length = 25
  • Max Structure Labels (per type) = 14
  • Bullish Color = green
  • Bearish Color = red
  • Show Order Blocks (active only) = true
  • Max Order Blocks Shown = 5
  • Block is Broken By = Close
  • Max Block Size (ATR) = 3.0
  • Bullish Order Block Color = dark tint
  • Bearish Order Block Color = dark tint
  • Show Fair Value Gaps = false
  • Min Gap Size (ATR) = 0.20
  • Max Gaps Shown = 5
  • Bullish Gap Color = dark tint
  • Bearish Gap Color = dark tint
  • Show Premium / Discount Zones = false
  • Zone Depth (% of range) = 25
  • Premium Zone Color = dark tint
  • Discount Zone Color = dark tint
  • Equilibrium Line Color = gold
  • Show Equal Highs / Lows = false
  • Pivot Length = 3
  • Equal Tolerance (ATR) = 0.10
  • Max Levels Shown = 4
  • Liquidity Color = gold
  • Show Buy/Sell Signals = true
  • Show Entry / SL / TP Lines = true
  • Signals With Lines = 3
  • Take Profit (risk : reward) = 2.0
  • Stop Loss Buffer (ATR) = 0.25
  • Min Stop Distance (ATR) = 0.8
  • Max Stop Distance (ATR) = 3.5
  • Only BUY in Discount / SELL in Premium = false
  • Higher Timeframe (Current = auto) = Current (auto)
  • Lot Size = 0.01
  • Use Signal SL / TP (off = fixed points) = true
  • Fixed Stop Loss (points) = 0
  • Fixed Take Profit (points) = 0
  • Max Spread (points, 0 = off) = 0
  • Magic Number = 20261201
  • Slippage = 30
  • Reverse on Opposite Signal = true
  • Signal Valid For (bars) = 3
  • Max Trades Per Day (0 = off) = 5
  • Use Trading Hours = false
  • Start Hour (server time) = 8
  • End Hour (server time) = 20
  • Enter your License Key = (empty)
  • Bars to Analyze = 500
  • Zone Extension (bars) = 15
  • Show Panel = true
  • Panel Corner = Bottom Left
  • Panel Offset X = 15
  • Panel Offset Y = 30
Trading involves risk. An EA follows fixed rules and can lose money. Results are not guaranteed. Test on a demo account or with 0.01 lot first.

Strategy Tester report

TimeframePeriodNet resultProfit factor TradesWonMax equity DDMax balance DD SharpeRecovery factor
M15 2025.11.30 to 2026.11.30 -$522.62 0.92 265 32.08% $1,209.89 (11.59%) $1,176.86 (11.31%) -0.85 -0.43
M30 Best tested timeframe 2025.11.30 to 2026.11.30 $1,008.83 1.28 121 38.84% $520.23 (4.80%) $489.22 (4.52%) 1.83 1.94
H1 2025.11.30 to 2026.11.30 -$623.60 0.82 63 31.75% $1,106.15 (10.66%) $1,055.19 (10.17%) -1.02 -0.56
H4 Low sample 2025.11.30 to 2026.11.30 $558.48 1.48 14 42.86% $526.11 (5.06%) $381.90 (3.73%) 0.47 1.06
D1 Low sample 2025.11.30 to 2026.11.30 $320.28 1.78 2 50.00% $672.81 (6.65%) $411.10 (4.11%) 0.02 0.48

XAUUSD M30, 0.01 lot

Period2025.11.30 to 2026.11.30
SymbolXAUUSD
Deposit$10,000
Leverage1:100
Lot size0.01
ModelEvery tick based on real ticks
Modelling quality99%
Net result$1,008.83
Profit factor1.28
Trades121
Won38.84%
Max equity drawdown$520.23 (4.80%)
Max balance drawdown$489.22 (4.52%)
Sharpe ratio1.83
Recovery factor1.94
Largest loss-$120.76
Max consecutive losses8
Balance
Balance graph for XAUUSD M30 backtest of SGT Smart Money Pro EA
Download HTML report

Past results do not guarantee future results. This is a historical Strategy Tester run, not a promise of profit. Trading involves risk.

How to backtest in MT4/MT5 Strategy Tester

  1. Copy the file into the Experts folder
    Download the compiled .ex4 (MT4) or .ex5 (MT5) with the Free Backtest Download buttons above. In MetaTrader choose File → Open Data Folder, then paste the file into MQL4/Experts or MQL5/Experts. In the Navigator, right-click Expert Advisors and choose Refresh.
  2. Open the Strategy Tester
    Press Ctrl+R, or choose View → Strategy Tester.
  3. Pick the EA, symbol, timeframe and dates
    Select SGT Smart Money Pro EA, then your symbol (for example XAUUSD), timeframe and the dates you want to test. Start the test. You can change the inputs and run it as often as you like.

The Strategy Tester does not need a license key. On a live or demo chart SGT Smart Money Pro EA stays License Locked and will not trade until you buy a license and enter your key.

User manual

Install, inputs, panel, FAQ

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

  1. In MetaTrader 4, choose File -> Open Data Folder.
  2. Open MQL4/Experts/ and copy SGT_Smart_Money_Pro_EA.ex4 into it.
  3. Allow WebRequest: Tools -> Options -> Expert Advisors -> tick "Allow WebRequest for listed URL" -> add https://investortipster.com.
  4. In the Navigator, right-click Expert Advisors and choose Refresh, or restart the terminal.
  5. Open a chart (for example XAUUSD H4) and attach SGT Smart Money Pro EA.
  6. On the Common tab allow live trading, and switch AutoTrading on in the toolbar.
  7. On the Inputs tab paste your key into Enter your License Key, review the trade settings, then click OK.

Install on MT5

  1. In MetaTrader 5, choose File -> Open Data Folder.
  2. Open MQL5/Experts/ and copy SGT_Smart_Money_Pro_EA.ex5 into it.
  3. Allow WebRequest: Tools -> Options -> Expert Advisors -> tick "Allow WebRequest for listed URL" -> add https://investortipster.com.
  4. In the Navigator, right-click Expert Advisors and choose Refresh, or restart the terminal.
  5. Open a chart and attach SGT Smart Money Pro EA.
  6. On the Common tab allow Algo Trading, and turn Algo Trading on in the toolbar.
  7. 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.

  1. 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).
  2. Paste the key into the Enter your License Key input.
  3. 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.
  4. 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.
  5. Removing the product or closing the chart tells the server to release the terminal slot.
  6. The Strategy Tester needs no key: the license check is skipped in the tester.
  7. 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):

  1. M30: PF 1.28, 121 trades, max equity DD 4.80%
  2. M15: PF 0.92, 265 trades, max equity DD 11.59% (loss in this test)
  3. 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

  1. Press Ctrl+R (View → Strategy Tester).
  2. In Settings, choose Expert: SGT_Smart_Money_Pro_EA (under Experts).
  3. Set Symbol to XAUUSD (or your broker's gold symbol) and the timeframe, for example H4.
  4. Set Date to Custom period and pick the start and end dates.
  5. Set Modelling to Every tick based on real ticks if your broker offers it, otherwise Every tick.
  6. 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).
  7. Click Start. When it finishes, open the Backtest (results) tab for the statistics and the Graph tab for the balance and equity curve.

MT4

  1. Press Ctrl+R (View → Strategy Tester).
  2. Choose Expert Advisor: SGT_Smart_Money_Pro_EA.
  3. Set Symbol to XAUUSD and Period to H4.
  4. Tick Use date and set From and To.
  5. Set Model to Every tick (MT4 has no real-tick mode).
  6. Click Expert properties to set the initial deposit and the inputs. Leverage comes from the account you are logged in with.
  7. 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.

How to install and use

  1. Download the file for your platform
    Download SGT_Smart_Money_Pro_EA.ex4 / SGT_Smart_Money_Pro_EA.ex5 from this dashboard: .ex4 for MT4, .ex5 for MT5.
  2. Open the MetaTrader data folder
    In MetaTrader choose File → Open Data Folder.
  3. Copy it into MQL4/Experts or MQL5/Experts
    MT4: paste the .ex4 into MQL4/Experts. MT5: paste the .ex5 into MQL5/Experts.
  4. Refresh the Navigator
    In the Navigator window right-click Experts and choose Refresh. SGT Smart Money Pro EA appears in the list.
  5. Allow WebRequest for the license check
    Tools → Options → Expert Advisors: tick 'Allow WebRequest for listed URL' and add https://investortipster.com
  6. Add your account and attach the EA
    Add your trading account number (demo or live) on this dashboard first. One license works on one account and one terminal at a time. Then drag the EA onto a chart, paste your license key into LICENSE_KEY, enable Algo Trading / AutoTrading and click OK.
  7. Moving to another terminal
    Remove the EA from the chart (or close MetaTrader) before starting it on another computer. If it says 'in use elsewhere', wait up to 2 hours or ask support to clear the session.
  8. Backtest and start small
    The Strategy Tester does not need a license key. Test on a demo account or with 0.01 lot first. Check the Experts tab for the license status message.