Skip to main content
Cart Log in Sign up
Indicator Prop-safe

Risk Calculator: total risk of your open trades

An indicator that shows the maximum potential loss of all open positions and pending orders, per symbol and in total, in money and as a percentage of the account.

Platform

License

Price

≈

Version

You own this product. Go to My products
Get the demo

  • Automatic, instant delivery once payment confirms
  • Free updates for every future version
  • 12 months of technical support
  • Refunds under a transparent policy
  • Pay with USDT, BTC, ETH and more
  • Free: no payment, download it right now

Risk warning: Trading financial markets carries a risk of losing capital, and past performance does not guarantee future results. Terms & conditions

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 CalculateStopOutLevel the 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.

Works with every broker

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

Input parameters
ParameterDefaultDescription
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

  1. Unzip the download. It contains an MQL4 or MQL5 folder.
  2. In MetaTrader choose File › Open Data Folder.
  3. Copy the folder’s contents into the folder of the same name there. Do not skip the Include folder; the indicator will not compile without it.
  4. Restart the terminal, or right-click in Navigator and choose Refresh. The source compiles on its own.
  5. Drag RiskCalculator from Indicators onto any chart. The output appears in a separate window below the chart.

Changelog

  1. v1.16 MT4 New November 30, 2026
    • Published on TradeKit
  2. 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 review

FAQ

Why does it show Unlimited instead of a number?
You have a trade on that symbol whose loss is not capped by a stop-loss. Until you set a stop or cover that volume, the tool cannot put a ceiling on the risk.
How accurate is the figure?
It is an estimate, not a guarantee. It assumes a constant spread, ignores slippage and gaps, and does not account for correlation between symbols. It can also be slightly off when the symbol’s quote currency differs from the account currency.
Does it slow down with many pending orders?
It can. Because it checks different sequences of orders filling, many pending orders with stops and targets make the calculation heavy.
Can it close trades when risk goes above a limit?
No. It only displays; there are no alerts or automatic actions. For automatic closing use a tool such as Account Protector.

Related products

More Indicators and tools from the same family

Compare Compare now