Getting started
Set up Hookmode: pair a Windows device, add a MetaTrader 5 account, connect TradingView or a custom webhook, and follow a test trade.
Risk controls
Two loss limits and a max risk per trade, set once, enforced by the server before a trade leaves for your PC. This page explains what each one counts, when it resets, and what happens when it is hit.
Updated
Before you set your limits
Hookmode counts the trades it places. Your prop firm may measure losses differently and use a different daily reset. Check its rules when setting your limits.
Hookmode has two limits. They count different things and they stop different things.
The drawdown limit is per rule. It watches one portfolio rule: how far that rule's realized P&L has fallen below its own best point.
The daily loss limit is per trading account. It watches one account: what that account has lost today, across every rule that trades on it.
You want both because several rules can trade the same account. Each rule can sit well inside its own drawdown limit while the account has already lost more than you want to lose in a day. Both checks run on the server, before a trade leaves for your PC, and either one can stop the trade on its own.
A third control does not count losses. The max risk per trade looks at one new trade and limits what it may lose at its stop loss. It has its own section below.
You set one limit per trading account, in the currency of that account. Hookmode checks it every time a signal asks to open a trade there.
This is what the limit counts:
used = closed losses today − profits today + stop-loss risk of open trades
The count is net, so a profitable close today gives room back. No running counter is stored and no job resets it: the number is computed from your trades each time a signal arrives.
Every trade Hookmode sends carries a stop loss, so its worst case is known the moment it is placed. An open trade holds that amount against the limit until it closes, and the close then replaces it with the real result. The trade the signal is asking for is counted the same way, before it is sent. Otherwise a single large trade could always step over the limit.
That is why the limit can be reached with nothing closed at a loss yet. The example below reaches it while a trade is still open.
Daily loss limit
Illustrative account · resets 00:00 server time
$0left today
Blocked while XAUUSD is still open. The limit counts the stop-loss risk of open trades, not only closed losses. No new trades on this account until midnight. Closes still pass. A Telegram alert went out.
In the example the limit is $1,000. A 0.50 lot EURUSD trade reserves $300 and then closes at its stop for −$300. A 0.20 lot XAUUSD trade reserves $700 and is still open. Used is $1,000, the limit is reached, and the next signal on that account is refused.
The day resets at midnight in your broker's server time. Hookmode reads the server clock from your terminal, so there is nothing to pick, and a broker that switches daylight-saving time on its own calendar is followed.
Some firms reset at a different moment from their server midnight, 17:00 New York time for example. Hookmode still counts the day from server midnight, so set the Hookmode limit with that gap in mind.
When the limit is reached, no new trade opens on that account. Three things follow:
The block is released at the next day reset. Turning the limit off releases it too.


What the limit does not see:
The rule's drawdown limit belongs to a portfolio rule: one strategy trading one account. It measures how far the rule's realized P&L sits below the best point it has reached. Not the account balance, and not the open trades: only what this rule has closed.
The rule's drawdown limit comes from two numbers you already set:
rule drawdown limit = strategy drawdown limit × rule risk factor
The strategy carries the drawdown limit, the rule carries its risk factor. A rule trading the same strategy at half size gets half the drawdown limit. This is useful when one signal fans out to a challenge account and a funded one.
You can also type the rule's drawdown limit itself. On the rule, choose Drawdown limit instead of Risk factor and enter the amount, as money or as a percent of the account balance. Hookmode computes the risk factor from it and keeps your amount when the strategy changes. A percent follows the balance your terminal reports, so the limit moves with the account.
Hard stop is a switch on the rule. With it on, a breach stops new trades on that rule and latches: the block holds until you reset the drawdown by hand, even if later closes bring the number back under the limit. With it off, the drawdown is still measured and shown in the app, but nothing is blocked.
A blocked rule refuses new trades and says so in the trace, and a Telegram alert goes out: “A rule reached its drawdown limit on trading account …”, with the account name filled in. Close signals still pass, so a position the rule already opened closes the normal way. Resetting the drawdown starts the measurement again from that moment: closes before the reset stop counting.
Drawdown
Illustrative rule example · hard stop on
$0left
No new trades until you reset it. Closes still pass.
In the example the rule's drawdown limit is $500 and the hard stop is on. Four closes take the drawdown to $500, the rule is blocked, and the next signal is refused.
The max risk per trade belongs to a trading account. It does not count losses. It looks at one new trade and asks what that trade would lose if it closed at its stop loss.
risk of a trade = volume × lot size × stop loss distance
You set the maximum as money or as a percent of the account balance. A percent follows the balance your terminal reports. Every rule that trades the account is checked against it, whatever its own risk setting is.
You also choose what happens to a trade above the maximum:
If even the broker's minimum volume would risk more than the maximum, the trade is rejected. The check runs before the daily loss limit looks at the trade, so a reduced trade reserves its reduced risk.
The maximum is measured at the stop loss. A gap or slippage can close a trade beyond its stop loss, so the real loss can be larger.
The daily loss limit, per account:
The drawdown limit, per rule:
The max risk per trade, per account:
You set a daily loss limit per account. It counts today's closed losses plus the stop-loss risk of every open trade, minus today's profits, and resets at midnight in your broker's server time, read from your terminal. When it is reached, no new trade opens on that account until the next day; closes still pass, and you get a Telegram alert. It only counts trades placed through Hookmode, and your firm measures its own way. Set the Hookmode limit below the firm's.
No. Hookmode only knows the trades it placed itself, so a trade you open by hand in MetaTrader 5 is outside the count. Your prop firm sees it, the limit does not.
Nothing. They keep running, their stop loss and take profit stay at the broker, and close signals still pass. Only new trades on that account are stopped.
Yes. The next signal is checked against the new value. One exception: once the account has been blocked today, raising the limit does not lift that block. It holds until the day resets. Turning the limit off lifts it.
Yes. On a portfolio rule, choose Risk per trade and enter the amount, as money or as a percent of the account balance. Hookmode sizes each trade from its own stop loss distance and rounds the volume down to the broker's lot step, so the risk at the stop loss stays at or under your amount. A quantity in the signal is ignored for that rule.
You choose on the account. Hookmode either rejects the trade, or reduces its volume to the largest one that fits and sends it. A rejected trade is named in the trace and in a Telegram alert.
Set up Hookmode: pair a Windows device, add a MetaTrader 5 account, connect TradingView or a custom webhook, and follow a test trade.
Connect TradingView alerts to MetaTrader 5 with Hookmode, free during the public beta. Set up the webhook URL and messages, choose exits, follow a demo trade.
How Hookmode splits the job: our servers route signals, your PC holds the broker password and places the order.
Create your account. Hookmode is free during the public beta.
Free during the public beta. Sign up and connect your MetaTrader 5 account.