Trade manager · MT5

HCPropsController

by ivanrdgc

HCPropsController is a comprehensive management utility for MetaTrader 5 designed to safeguard prop firm accounts and facilitate local trade replication.

GitHub stars5
Forks0
Last update13 days ago10 Sep 2026
LicenceNone stated
Latest releasev2.5.12 months ago

Overview

HCPropsController functions in Master, Slave, or standalone Risk Manager modes. The EA enforces various risk controls, such as daily profit and loss limits, maximum trade counts, and specific trading hours. Its copy-trading functionality utilizes local file synchronization on a single VPS, featuring lot scaling, symbol mapping, and inverse trade support. Additionally, it integrates an offline news filter and a dashboard for real-time monitoring of account status and equity limits.

Details

Author

ivanrdgc on GitHub

Type

Trade manager

Platform

MetaTrader 5 (MQL5)

Markets

Any symbol

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.

Input Parameters

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

NameTypeDefaultDescription
ModeHCModeMODE_MASTEROperation mode
PropFirmModebooltrueEnable limits guardian (all modes)
ForceInitialBalancedouble0.0Force initial balance (0 = auto-detect)
HistoryFromDatedatetime0Ignore history before this time (account reset); 0 = full history
ResetCountersOnInitboolfalseReset counters and locks on init
FileNamestringmaster_00001.csvShared file name (Master and Slave must match; bump 00001 for more)
CustomFilePathstringCustom path inside Common\Files (overrides FileName)
Symbolsstring(MASTER) Symbols to replicate, comma-sep (empty = all)
SymbolMappingstringMapping MAST:SLAV;MAST2:SLAV2 (optional)
CopyModeHCCopyModeCOPY_NORMALCopy mode
InverseModebooltrueInvert Master trades (reverse direction; mirror SL/TP)
RiskMultiplierdouble1.0Lot multiplier (Slave lot = Master lot x mult)
Show all 40 inputs
NameTypeDefaultDescription
AutoLotScalingbooltrueAuto-scale lots by point value (contract size differences)
Slippageint10Allowed slippage (points)
MagicNumberlong987654Magic Number of the Slave orders
PropagateSlaveClosebooltrueSlave closes AND trading locks propagate to the Master
ExpectedSlavesint0Fresh Slave heartbeats required for new entries; 0 = off
SlaveHeartbeatTimeoutSecint15Slave heartbeat considered stale after (seconds)
TradePairLogbooltruePer-account trade log (<syncfile>.trades.<login>.csv) for hedge reconciliation
DailyProfitLimitPercentdouble4.6Daily profit limit (%); 0 = no limit
DailyLossLimitPercentdouble4.6Daily loss limit (%); 0 = no limit
TotalProfitLimitPercentdouble8.1Total profit limit (%); 0 = no limit
TotalLossLimitPercentdouble8.1Total loss limit (%); 0 = no limit
MaxLossPercentPerIdeadouble0.0Floating loss per symbol + direction (% of initial base); 0 = off
MaxProfitPercentPerIdeadouble0.0Floating profit per symbol + direction (% of initial base); 0 = off
MaxParallelTradesint1Parallel trades limit; 0 = no limit
MaxTradesPerDayint1Trades per day limit; 0 = no limit
MaxTradesTotalint0Total trades limit (never resets daily); 0 = no limit
MaxConsecLossesPerDayint0Consecutive losses per day limit; 0 = no limit
MaxConsecWinsPerDayint0Consecutive wins per day limit; 0 = no limit
MaxDailyNetWinsint0Daily net W/L tally: stop at wins-losses >= +this; 0 = no limit
MaxDailyNetLossesint0Daily net W/L tally: stop at wins-losses <= -this; 0 = no limit
DailyResetHourint0Daily reset hour (0-23)
DailyResetMinuteint0Daily reset minute (0-59)
LimitTradingHoursbooltrueLimit new entries to the specified hours
TradingStartHourint6Trading start hour (0-23)
TradingStartMinuteint0Trading start minute (0-59)
TradingEndHourint20Trading end hour (0-23)
TradingEndMinuteint0Trading end minute (0-59)
ForceExitEnabledbooltrueForce close at the specified time

How to Install It

  1. 1Download the sourceUse "Download source (.zip)" above, or clone ivanrdgc/HCPropsController 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, and any .mqh files into the Include folder the code expects.
  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 3 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