This is the complete user guide for Chakana Prop Firm Command (MetaTrader 5): how to protect several challenge or funded accounts, each with its own rules, and watch and control all of them from one center. Product page: MT5. Live demo video: youtu.be/8lf4ifh7K8g.
Before anything else: every firm writes its rules differently and changes them. The templates use typical generic values. Read the current rules of your program and set the limits a little tighter than the firm, because slippage and gaps can push a loss slightly past a limit.
1. How it is organized
- Agent: one copy of the EA on one chart of each account. It enforces that account's rules (daily loss, drawdown, news, hours, risk per trade) and reports to the center every second.
- Center: one copy in Center mode on any terminal of the same PC or VPS. It shows every agent as a row, sends alerts and remote orders, and writes the daily report.
- Agents and center talk through the shared folder Terminal\Common\Files\ChakanaPropCommand, so they must run on the same machine. Each prop account normally needs its own terminal installation (one login per terminal).
2. Set up each agent
- Attach the EA to one chart of the account, Mode = Agent, and allow Algo Trading (the agent must be able to close positions).
- Account alias: the name you want to see in the center ("FTMO 100K", "Phase 2"...). Empty = the masked account number. Firm label is free text.
- Program template: 1-step (4 % daily / 6 % total / 10 % target), 2-step phase 1 (5 / 10 / 8), 2-step phase 2 (5 / 10 / 5), instant funding (3 / 6), funded (5 / 10), or Custom to use your own numbers in the inputs.
- Initial balance: the account size of the challenge (0 = the balance when you first attach the EA).
3. Daily loss: the setting that matters most
- Daily loss is measured from: the balance at day start, the higher of balance and equity at day start, or the highest equity of the day (intraday trailing).
- Daily loss % is a % of: the initial balance (a fixed amount every day) or the daily base itself.
- Trading day starts at: the server hour when your firm resets the day.
- Daily profit target (optional): stop for the day once it is reached.
Deposits and withdrawals are not counted as daily P/L. Compare the floor shown by the agent with your firm's dashboard right after the day resets.
4. Total drawdown and the challenge counter
- Drawdown static (from the initial balance) or trailing (from the highest equity reached), kept across restarts.
- Lock the account at this total profit %: optional, to stop trading once the target is passed.
- Counter: progress to the profit target, trading days against the minimum, and the share of the total profit made on the best day (consistency rule, 30 % by default, 0 = off).
5. What an agent does at a limit
It closes every position, deletes pending orders and locks the account. Any trade opened during the lock (from the phone or another EA) is closed again. The daily lock lasts until the day resets; the total lock is permanent. Both survive a terminal restart.
6. News, hours and risk per trade
- Economic calendar of MetaTrader 5: off, show the next event, or block new entries from X minutes before to Y minutes after high (or medium and high) impact events of the chosen currencies. Optional: close positions when the window starts. Manual windows "HH:MM-HH:MM" are also available.
- Trading hours, close at the end of the session, Friday cutoff.
- Positions without stop loss after a grace period, max risk per position at its stop, max total open risk (off, alert only, or alert and close), max open positions and max lots per position (reduce to the max lot or close).
7. The center
- On any terminal of the same PC, attach the EA with Mode = Center. Every running agent appears as a row within a second. With Also protect and report this terminal's account on, the center's own account is an agent too.
- Each row: alias, firm, program, balance, day P/L, daily limit meter, drawdown meter, target progress, trading days, best-day share and status (OK, NEAR, LOCKED, OFFLINE).
- Click a row to see the account in detail and to send Lock, Close all or Unlock. Every remote action asks for confirmation. Unlock releases only a manual lock: a lock set by a rule is never released remotely.
- Close all in all accounts asks for a double confirmation.
- Alerts: when an account reaches Alert at this % of a limit (80 % by default), is locked, reaches its target, or stops reporting for X seconds (heartbeat, 15 s by default).
- Daily report in HTML and CSV at the local hour you choose (or with the button), with masked account numbers, in Common\Files\ChakanaPropCommand\reports.
8. Replication sized to each account (optional)
- One terminal in role Master publishes its trades (all, or only one magic number). Followers are agents in role Follower with the same channel name.
- Each follower calculates its own lot: risk % of its balance at the master stop loss, capped so a loss at the stop never uses more than X % of the room left before its daily or total limit (open risk included). Optional max lot per copy.
- Master trade without stop loss: not copied, or copied with the minimum lot. Stop and target at the same prices as the master or at the same distance from the entry.
- No new copies while the follower is locked or paused, or when the master has been silent for more than X seconds. Copies follow the master on close, partial close and SL/TP changes. Symbol map (XAUUSD=GOLD) and automatic suffix detection (EURUSD -> EURUSD.m).
- Check your firm's rules on copy trading between accounts before you use it.
9. Notifications
Popup, sound, push (MetaQuotes ID in Tools > Options > Notifications), email (Tools > Options > Email) and Telegram. For Telegram, create a bot with @BotFather, put its token and your chat id in the inputs, and add https://api.telegram.org to Tools > Options > Expert Advisors > Allow WebRequest. If the URL is missing, the EA says so in the Experts log and keeps protecting.
10. Check your setup in 10 minutes
- Run the free demo in the Strategy Tester in visual mode: the center shows simulated accounts (marked "sim"), one of them walks to its daily limit and is locked.
- On two demo accounts in two terminals on the same PC, attach two agents and one center. Send Lock from the center and confirm that the agent closes its positions; then Unlock.
- Close one agent's terminal and check that the center flags it OFFLINE after the heartbeat time.
Questions: product comments or private message. If Prop Firm Command helps you, a short review helps other traders find it.
Chakana Studio is not affiliated with any prop firm. The EA enforces the rules you set; it does not promise profits or challenge results. Trading involves risk of loss.


