Complete guide for installing, configuring, and using the EA.
Version 1.9
Download the SmartAI_Trader_V1.9.ex5 file from the download page.
In your MT5 terminal, go to File → Open Data Folder, then navigate to MQL5\Experts\ and paste the file there.
The EA needs internet access to validate your license and receive trading signals. Go to Tools → Options → Expert Advisors, check "Allow WebRequest for listed URL", and add:
https://pro.smartai-trader.com
Open any chart (we recommend EURUSD M5). In the Navigator panel, find SmartAI Trader under Expert Advisors and drag it onto the chart. In the popup dialog, go to the Common tab and make sure "Allow Algo Trading" is checked. Then go to the Inputs tab to configure the EA.
Version 1.9 simplifies the setup to just 8 essential parameters. All complex trading strategy settings are now managed automatically by the Risk Mode system.
| Parameter | Default | Description |
|---|---|---|
License_Key |
(empty) | Required. Your unique license key from purchase or trial activation. |
Risk_Mode |
Balanced | Choose your risk profile: Conservative, Balanced, or Aggressive. Controls 10+ internal parameters. See Risk Modes below. |
Symbols_To_Trade |
ALL |
Trade all signals, or filter by symbol. Use comma-separated list: EURUSD,GBPUSD,XAUUSD |
Lot_Size |
0.0 |
Trade volume. 0.0 = use broker minimum lot. Set a specific value to override (e.g., 0.1). |
Max_Spread |
300 |
Maximum allowed spread in points. Trades are skipped if spread exceeds this value. Set 0 to disable. |
Master_Switch |
true |
Main on/off switch. Set false to stop opening new trades (existing trades are not closed). |
Show_Buttons |
true |
Show/hide the interactive control buttons (Trade ON/OFF, Panic, Safe Mode) on the chart. |
Advanced_Mode |
false |
Unlock all 24 internal parameters for manual tuning. When true, Risk Mode is ignored. |
The Risk Mode is the most important new feature in v1.9. It replaces over 10 technical parameters with a single, intuitive setting that controls stop loss strategy, take profit targets, and risk-to-reward ratios.
Tight stop loss. Lower, more achievable targets. Best for capital preservation. RR: ~1:1 to 1:1.5
Optimized defaults from 19 months of data. Best balance of win rate and profit. RR: ~1:1.2 to 1:2
Wider stops, higher targets. Lower win rate but larger winners. RR: ~1:1.5 to 1:3+
| Parameter | Conservative | Balanced | Aggressive |
|---|---|---|---|
| ATR Multiplier (Forex) | 1.0 | 1.5 | 2.0 |
| ATR Multiplier (Gold) | 1.5 | 2.0 | 2.5 |
| ATR Multiplier (Crypto) | 2.0 | 2.5 | 3.0 |
| Default RR | 1.5 | 2.0 | 3.0 |
| S/R Min RR | 0.8 | 1.0 | 1.2 |
| S/R Max RR | 2.5 | 4.0 | 6.0 |
| Safe Min RR | 1.0 | 1.2 | 1.5 |
| Safe Max RR | 1.5 | 2.0 | 3.0 |
The SmartAI Trader panel is displayed on the top-left of your chart, providing real-time status information and quick controls.
When Show_Buttons is enabled, three control buttons appear below the panel:
| Button | Function |
|---|---|
| TRADE: ON/OFF | Toggle trading on or off. When OFF, no new positions are opened. Useful for temporarily pausing without changing settings. |
| PANIC CLOSE | Emergency button. Immediately closes all open positions managed by this EA (matching its Magic Number). |
| SAFE: ON/OFF | Toggle Safe Mode. When active, all trading is disabled. The EA enters Safe Mode automatically after repeated errors. Click to manually enable/disable. |
Setting Advanced_Mode to true unlocks all 24 internal trading parameters for manual configuration.
When Advanced Mode is active, the Risk Mode preset is completely ignored — you have full control.
Advanced_Mode = false and use the Risk Mode presets.
Advanced parameters include: ATR periods and multipliers, S/R lookback bars, swing depth, risk-to-reward limits, safe ATR protection settings, polling intervals, deviation, magic number, debug mode, and panic close controls. For a complete reference of all advanced parameters, contact our support team.
All paid subscribers (Basic, Pro, and Elite) get exclusive access to our Telegram Premium Signal Channel as a bonus. This channel provides real-time trading signals, market analysis, and community insights directly on Telegram.
How to get access:
/verify YOUR-LICENSE-KEYNote: The invite link is one-time use and expires in 24 hours. Free trial users do not have access to the Premium Channel. If your subscription expires, access will be automatically revoked.
| Problem | Cause | Solution |
|---|---|---|
"License invalid" or "NO_KEY" |
License key is incorrect, expired, or empty. | Double-check your license key. Ensure no extra spaces. If expired, renew from your account. |
"LEASE_TAKEN" |
EA is already running on another chart or terminal with the same license. | Remove the EA from the other chart. If you can't find it, wait 2-3 minutes for the old lease to expire automatically. |
"UNREACHABLE" or "NO_HTTP" |
Cannot connect to the license server. | 1. Verify WebRequest is enabled with https://pro.smartai-trader.com.2. Check internet connection. 3. Check firewall/antivirus settings. |
| EA is not opening trades | Multiple possible causes. | 1. Check panel status — is it [ON]? 2. Check Experts tab for errors. 3. Verify Symbols_To_Trade matches incoming signals.4. Check if spread exceeds Max_Spread. |
"SAFE MODE active" |
EA entered Safe Mode after consecutive failures. | Fix the underlying error (license, internet), then click the SAFE: OFF button to resume. |
Panel shows [ERROR] |
Critical error during initialization. | Check the Experts tab for the specific error message. Common causes: missing WebRequest URL, invalid license, or broker connection issues. |