MT5 Bot User Guide

Money-management & account-protection software โ€” solomongroup.net

For customers ยท Please read carefully before installing

๐Ÿ“ฆ This package has 2 SEPARATE bots

For ease of use, the software is split into two separate bot files:

Each bot has its OWN code (bound to MT5 ID). Enter the Money-Management code into the Money-Management bot, and the Auto code into the Auto bot โ€” two different codes. Buy a package โ†’ you get that package's code. Buy both โ†’ the bots cooperate: the Money-Management bot decides "when entries are allowed" and the Auto bot obeys.
For the two bots to cooperate correctly, set InpAutoMagic to the same value in both bots (default 88888).

1. What does this bot do?

The bot is an Expert Advisor (EA) that runs on the MetaTrader 5 (MT5) platform to protect your account: it automatically manages order size by your allowed risk, sets Stop Loss / Take Profit, moves SL to break-even, applies trailing stop, and prevents "all-in" blow-ups โ€” it trims or closes orders when the lot size exceeds the safe limit, and locks trading when the daily loss hits your limit.

Just trade as usual (manually or with another EA) โ€” the bot runs in the background and protects your account.

2. Requirements

3. Install the bot into MT5

Step 1. Open MT5 โ†’ menu File โ†’ Open Data Folder. A folder window opens.
Step 2. Go into MQL5 โ†’ Experts. Copy both files SolomonGroup-QuanLyVon.ex5 and SolomonGroup-AutoVaoLenh.ex5 into this folder.
Step 3. Back in MT5, in the Navigator panel (Ctrl+N), right-click Expert Advisors โ†’ Refresh. You will see SolomonGroup-QuanLyVon-v2 and SolomonGroup-AutoVaoLenh-v7.

4. Enable algorithmic trading

Step 4. Go to Tools โ†’ Options โ†’ Expert Advisors tab. Tick "Allow Algo Trading".
Step 5. On the top toolbar, click the Algo Trading button so it turns green. This is the master switch โ€” if it is red, the bot will not run.

5. Allow the bot to reach the license server (important)

The bot needs to contact the solomongroup.net server to check the license. Without this step it will show "URL not allowed".

Step 6. Go to Tools โ†’ Options โ†’ Expert Advisors tab. Tick "Allow WebRequest for listed URL" and add this address to the list:

https://solomongroup.net

If solomongroup.net gives you a different address, use that exact one. Type it, press Enter to add it, then OK.

6. Attach the bot & enter the activation code

Step 7. Open the chart of the pair you want (e.g. XAUUSD). Drag the bot you want (e.g. SolomonGroup-AutoVaoLenh-v7) from the Navigator onto the chart. To run both bots, open two charts and drag one bot onto each.
Step 8. In the dialog, on the Common tab: tick "Allow Algo Trading".
Step 9. On the Inputs tab, paste your activation code into InpLicenseKey. Pick your language in InpLanguage (Vietnamese / English). Review the money-management settings below, then click OK.
Step 10. A smiley face ๐Ÿ˜Š appears in the top-right of the chart โ€” the bot is running. The status panel shows "Activated โ€” N days left". You only enter the code once; the bot remembers it next time.

7. Main settings (Inputs tab)

SettingMeaning
InpLicenseKeyActivation code issued by solomongroup.net
InpLanguageDisplay language: Vietnamese / English
InpRiskPercentMax risk per trade (% of balance)
InpMaxLotMax lot size for a single order
InpMaxTotalLotMax total open lots across all orders
InpMaxPositionsMax number of open orders at once
InpDailyLossPctMax daily loss (%) โ†’ auto-lock & close orders
InpMaxDrawdownPctMax drawdown from equity peak (%) โ†’ lock
InpBlockNoSLForce every order to have a Stop Loss

8. Auto-trading by indicator (if you bought the Auto package)

Besides money management, the bot has an Auto module that opens/closes trades by indicators (SuperTrend + filters) โ€” everything is built into the bot; you don't install anything else. You just enable it and pick a style.

Enable Auto: on the Inputs tab, set InpAutoTrade = true.
Pick a trading style in InpTradeStyle โ€” the bot auto-selects suitable indicators & filters:
StyleTimeframeBest for
ScalpM1โ€“M5Many trades, quick gains, constant watching
Intraday (default) โญM15โ€“H1Balanced โ€” suits most users
SwingH4โ€“D1Few trades, follows the larger trend
Safe (high win-rate)AnyVery few but highest-quality trades
Pick the timeframe in InpSignalTF (which timeframe the bot watches for entries: M5, M15, H1โ€ฆ). Leave it at PERIOD_CURRENT to follow the chart's timeframe.
Size & count: InpAutoLot (lots per trade), InpMaxAutoPos (max auto orders).
Buy both packages (Money Management + Auto) and they work together: Auto opens trades, Money Management restrains them (trailing, daily profit/loss lock) so you have a stop point and keep profits. Just one single bot.

9. AUTO TREND DETECTION & ADAPTIVE TP/SL (new โ€” v4)

From v4, the bot automatically detects whether the market is trending or ranging (using ADX + ATR), then adjusts Take Profit (TP) and Stop Loss (SL) accordingly:

Toggle at InpAdaptiveTPSL (default on โ€” recommended). When on, the bot sizes TP/SL to market volatility automatically; no manual tuning.
For fewer but higher-quality trades: set InpSkipWeakRange = true โ€” the bot only trades when there is a trend and skips ranging markets (fewer noise trades, less drawdown).
SettingMeaning
InpAdaptiveTPSLAuto-detect trend & auto-set TP/SL (recommended)
InpSL_ATR_MultSL width (ร— ATR) โ€” default 1.5
InpTP_ATR_Trend / _StrongTP in trend / strong trend (widened to ride the move)
InpAdaptTrailTrail SL by ATR while trending (ride the move)
InpSkipWeakRangeOnly trade when there is a trend (skip ranging)
The on-chart status panel shows a "Market: Strong trend / Trending / Ranging" line and the current adaptive TP/SL, so you can see how the bot reads the market.

10. On-chart control panel & advanced protection (new โ€” v5)

From v5, the bot shows an on-chart control panel with two clickable tabs:

Click directly on the chart to switch tabs and control Auto โ€” fast and visual.

Three new capital-protection layers (you set these in Inputs):

SettingMeaning
InpMaxSL_USDMax loss per trade in USD. You enter the max money you'll risk on one trade; the bot pulls the SL in so the loss can't exceed it. (0 = off)
InpCooldownAfterSL_MinRest after a loss. After an auto trade loses, the bot WAITS the minutes you set before entering again โ€” avoids re-entering repeatedly in bad conditions. (0 = off)
InpMaxConsecLossesLock after N losses in a row. Enough consecutive losses โ†’ the bot LOCKS entries. Re-enable by clicking "Auto: ON" on the panel, or it auto-clears on a new day. (0 = off)
InpUseTradingHours + InpTradeStartHour/EndHourTrading-hours window. Only let the bot enter within your hours (server time). Supports windows crossing midnight (e.g. 22โ€“06).
These layers only block opening NEW trades; the bot still manages and protects open trades normally. The status (resting / locked / hours) shows on the Auto tab of the panel.

11. Frequently asked questions

Bot says "Invalid code for this account"?
Each activation code is tied to exactly one MT5 account number. Make sure you are logged into the correct MT5 account and pasted the correct code. If it still fails, contact support for a new code.

Bot says "URL not allowed"?
You skipped Step 6 (Allow WebRequest). Add the address to the list and re-attach the bot.

Bot says "License expired"?
Your subscription has expired. Please renew to continue.

Does the bot keep running when I close MT5?
No. MT5 must be open and the Algo Trading button green. Use a VPS if you want it running 24/7.

12. Support

For any questions about installation, activation code or renewal, please contact solomongroup.net through the official support channel.