- Product type
- Indicator
- Platforms
- MT4 · MT5
- Market / symbol
- Gold, FX majors, FX minors, Indices, Oil
- Experience level
- Intermediate
- Delivery
- File download from your dashboard
- Last update
- November 30, 2026
- Broker
- Any broker
- Product type
- Indicator
- Platforms
- MT4 · MT5
- Market / symbol
- Gold, FX majors, FX minors, Indices, Oil
- Experience level
- Intermediate
- Delivery
- File download from your dashboard
- Last update
- November 30, 2026
- Broker
- Any broker
Overview
With five trades open on three symbols, one question gets hard to answer: how much of the account goes if every stop is hit? Risk Calculator works out that number and shows it in a separate window below the chart.
You get one row per symbol with the risk in account currency and in percent, and a Total row at the end. Potential reward and the reward-to-risk ratio can be shown next to it.
It is display only. It opens nothing, closes nothing and changes nothing.
- Risk per symbol and in total, in money and as a percentage of balance or equity
- Pending orders counted alongside open positions
- Spread, accrued swaps and commission included
- Potential reward and reward-to-risk ratio (optional)
- A stop-out price line for the chart’s own symbol (optional)
Useful for traders who hold several trades at once, run grids or hedges, or must stay under a total risk cap in a prop challenge.
Source and licence
This tool is the open-source project Risk Calculator by EarnForex.com, released under the Apache 2.0 licence. The source code is included in the download unchanged, with the licence text next to it. TradeKit provides the description, install guide and support. Original repository: github.com/EarnForex/RiskCalculator
Strategy logic
How risk is calculated
- The indicator reads every open position and pending order on the account and groups them by symbol.
- For each symbol it walks through the possible sequences of orders filling and stops and targets being hit, and takes the worst outcome as the risk. That is why the figure still makes sense for hedged positions and stacked orders.
- Costs are added to the risk: spread (
CalculateSpreads), accrued swaps (CalculateSwaps) and commission (CommissionPerLot). - The percentage is relative to balance, or to equity with
UseEquityInsteadOfBalance.
Special outputs
- Unlimited: the loss on a symbol is not capped by a stop-loss, for example a trade with no stop. The uncovered volume is shown next to it.
- No risk: nothing on the account is at risk.
- With
SeparatePendingOpenCalculation, open positions and pending orders get separate columns.
Stop-out level
- With
CalculateStopOutLevelthe indicator finds the price at which, given the current positions in the chart’s symbol, the account would reach the broker’s stop-out level, and draws it as a line.
Differences between versions
- Inputs and output are the same on MT4 and MT5. The MT4 build is 1.16 and the MT5 build is 1.16a.
Specifications
Requirements
- MetaTrader 4 or MetaTrader 5
- No Algo Trading or DLL permission needed
- One chart per account is enough; it lists all symbols together
- If your broker charges commission, enter it in CommissionPerLot
- Platforms
- MT4MT5
- Delivery
- Use case
- Prop challenge، Swing، Grid، Hedging
- Market
- Gold، FX majors، FX minors، Indices، Oil
- Experience level
- Intermediate
Compatible brokers
Which brokers this product works with, and which it works best with.
No broker restriction: it works with any broker that offers the product's platform.
The broker choice is yours; TradeKit is not a broker. Check account terms before depositing. All brokers
Input parameters
| Parameter | Default | Description |
|---|---|---|
CalculateSpreadsCount the loss from spreads as part of the maximum potential loss |
true |
Count the loss from spreads as part of the maximum potential loss |
CalculateSwapsCount accrued swaps of open positions in the risk |
true |
Count accrued swaps of open positions in the risk |
CommissionPerLotOne-way commission per lot in account currency |
0 |
One-way commission per lot in account currency |
UseEquityInsteadOfBalanceShow risk as a percentage of equity instead of balance |
false |
Show risk as a percentage of equity instead of balance |
SeparatePendingOpenCalculationShow risk of open positions and pending orders separately |
false |
Show risk of open positions and pending orders separately |
CalculateRewardAlso calculate potential reward (from take-profits) |
false |
Also calculate potential reward (from take-profits) |
ShowRiskRewardRatioShow the reward-to-risk ratio; works only with CalculateReward on |
false |
Show the reward-to-risk ratio; works only with CalculateReward on |
CalculateStopOutLevelCalculate the price at which the account would hit stop-out and draw it on the chart |
false |
Calculate the price at which the account would hit stop-out and draw it on the chart |
FontSizeFont size of the output |
8 |
Font size of the output |
Install guide
- Unzip the download. It contains an
MQL4orMQL5folder. - In MetaTrader choose File › Open Data Folder.
- Copy the folder’s contents into the folder of the same name there. Do not skip the
Includefolder; the indicator will not compile without it. - Restart the terminal, or right-click in Navigator and choose Refresh. The source compiles on its own.
- Drag RiskCalculator from Indicators onto any chart. The output appears in a separate window below the chart.
Changelog
-
v1.16 MT4 New November 30, 2026
- Published on TradeKit
-
v1.16a MT5 November 30, 2026
- Published on TradeKit
Buyer reviews
No reviews yet.
Only verified buyers can review. Reviews are moderated before publishing.
Only verified buyers can review. Reviews are moderated before publishing.
Sign in to write a reviewFAQ
Why does it show Unlimited instead of a number?
How accurate is the figure?
Does it slow down with many pending orders?
Can it close trades when risk goes above a limit?
Related products
More Indicators and tools from the same family
Risk warning