Trade manager · MT5

Smart Money Manager

by Royatvand

Smart Money Manager is a trade-management panel for MetaTrader 5.

GitHub stars19
Forks2
Last update4 days ago15 Oct 2026
LicenceMIT

Overview

Smart Money Manager assists traders by calculating risk-based position sizing from balance, stop-loss distance, and tick value. Users place market and pending orders via a compact on-chart panel with drag-and-drop entry, SL, and TP lines that display lot size and money risk-reward. The EA sets automatic SL from points and R:R ratio. Account protection includes daily loss limits, drawdown guards, loss streak locks, max trades per day, and open risk caps. Filters cover trading hours, spread, and news events. Management functions provide auto break-even, trailing stop, and partial close. The README is detailed with installation steps for MT5.

Details

Author

Royatvand on GitHub

Type

Trade manager

Platform

MetaTrader 5 (MQL5)

Markets

Forex

Timeframes

Any timeframe

Risk Profile

No grid, martingale or hedging logic was found in its code or README. That says nothing about how it performs: backtest it first.

Topics

forxe-trademetatrader5metatrader5-eamql5risk-managementrisk-management-analysisrisk-management-toolstrading-tools

Input Parameters

Read from Smart_Money_Manager.mq5. Defaults are the author's; change them in the EA's Inputs tab.

NameTypeDefaultDescription
InpRiskPercentdouble1.0Risk per trade (% of balance)
InpSLPointsint300Stop Loss (points)
InpRRdouble2.0Reward : Risk ratio (0 = no TP)
InpFixedLotdouble0.0Fixed lot (0 = auto from risk %)
InpEntryDistanceint200Pending distance from price (points)
InpExpiryMinutesint0Pending expiry (minutes, 0 = GTC)
InpUseChartToolbooltrueDrag entry/SL/TP on the chart before placing
InpZoneBarsint25Zone width (bars)
InpColZoneTPcolorC'16,64,52'Reward zone color
InpColZoneSLcolorC'72,26,34'Risk zone color
InpMaxDailyLossPctdouble3.0Max daily loss (% of day-start balance)
InpMaxDailyProfitPctdouble0.0Daily profit target lock (%)
Show all 40 inputs
NameTypeDefaultDescription
InpMaxDrawdownPctdouble10.0Max equity drawdown from peak (%)
InpMaxLossStreakint0Lock after N consecutive losing closes today
InpMaxTradesPerDayint0Max trades opened per day
InpMaxPositionsint3Max open positions + pending orders
InpMaxOpenRiskPctdouble0.0Max total open risk (% of balance)
InpLockActionENUM_LOCK_ACTIONLOCK_SOFTAction when a limit is hit
InpUseHoursboolfalseUse trading hours filter
InpStartHourint8Trading start hour (server time)
InpEndHourint20Trading end hour (server time)
InpMaxSpreadint0Max spread (points, 0 = off)
InpNewsLevelENUM_NEWS_LEVELNEWS_OFFNews filter (MT5 economic calendar)
InpNewsBeforeint30Block minutes before news
InpNewsAfterint30Block minutes after news
InpUseBEbooltrueAuto break-even
InpBETriggerint200Break-even trigger (points of profit)
InpBEOffsetint20Break-even offset (points)
InpUseTrailbooltrueAuto trailing stop
InpTrailStartint300Trailing start (points of profit)
InpTrailDistint150Trailing distance (points)
InpTrailStepint20Trailing step (points)
InpPartialPctdouble50.0Partial close (% of volume)
InpPopupAlertsbooltruePopup alert when a limit is hit
InpPushAlertsboolfalsePush notification to mobile
InpMagiculong20260512Magic number
InpSlippageint20Max slippage (points)
InpManageAllMagicboolfalseManage trades of all magics on this symbol
InpPanelXint15Panel X
InpPanelYint25Panel Y

How to Install It

  1. 1Download the sourceUse "Download source (.zip)" above, or clone Royatvand/mql5-risk-manager from GitHub, and unzip it.
  2. 2Open the data folderIn MetaTrader choose File, then Open Data Folder, and go to MQL5/Experts.
  3. 3Copy the filesCopy the .mq5 file into Experts.
  4. 4Compile in MetaEditorOpen the file in MetaEditor and press Compile. Fix any missing includes the compiler reports.
  5. 5Test before you tradeRun it in the Strategy Tester, then attach it to a demo chart and allow algorithmic trading.
Third-party code. ForexR did not write, test or endorse this EA, and the summary above was generated automatically from its README and code. ForexR lists only repositories with readable source code and never hosts files. Read the code, backtest it and use a demo account first; automated trading can lose money quickly.

Similar Expert Advisors

67 stars

This MetaTrader expert advisor functions as a trade manager that automates stop loss adjustments for existing positions. It specifically waits until a trade reaches a user-defined profit threshold in points before initiating a trailing stop. The tool includes flexible filtering options to manage specific symbols, magic

MT4MT5 Trade manager
Updated 4 months ago Apache-2.0 GitHub repository of Trailing Stop On Profit

Trader Pad

by erlonfs
20 stars

Trader Pad is a trade management utility for MetaTrader 5 designed to automate position exits and risk control after an entry is initiated. The software handles stop-loss and take-profit placement in ticks, providing advanced trailing stop logic and break-even functionality. It allows users to scale out of positions th

MT5 Trade manager
Updated 4 years ago MIT GitHub repository of Trader Pad

ATR Trailing Stop

by EarnForex
19 stars

This trade manager for MetaTrader 4 and 5 automatically adjusts the stop-loss levels of open positions using the Average True Range indicator. It allows users to define the trailing distance through a configurable ATR period and multiplier. The expert advisor includes filtering logic to apply the trailing stop only to

MT4MT5 Trade manager
Updated 6 months ago Apache-2.0 GitHub repository of ATR Trailing Stop

PSAR Trailing Stop

by EarnForex
16 stars

PSAR Trailing Stop is a management utility for MetaTrader 4 and 5 that automates the adjustment of stop-loss levels for open positions. Instead of manual movement, it follows the Parabolic SAR indicator values to lock in profits or minimize losses as a trend progresses. The software includes filtering options to target

MT4MT5 Trade manager
Updated 2 years ago Apache-2.0 GitHub repository of PSAR Trailing Stop

Fractals Trailing Stop

by EarnForex
15 stars

This expert advisor is a utility for MetaTrader 4 and MetaTrader 5 designed to manage stop-loss levels for existing trades. It utilizes Bill Williams' Fractals indicator to dynamically adjust the stop loss as new fractal points form on the chart. Users can configure the number of bars to scan and specify which fractal

MT4MT5 Trade manager
Updated 1 year ago Apache-2.0 GitHub repository of Fractals Trailing Stop
15 stars

This visual trade management utility for MetaTrader 5 assists manual traders with order execution and risk management. It features interactive chart lines for entry, stop loss, and take profit levels, allowing for drag-and-drop price adjustments. The system automatically calculates position sizes based on a defined per

MT5 Trade manager

More trade managers

Need a Broker for MT5?

Compare regulated brokers that support MetaTrader, with spreads, minimum deposits and leverage side by side.

Compare brokers