Skip to main content
Cart Log in Sign up
Trade assistant Featured Prop-safe

Position Sizer: lot size from your risk

A chart panel that works out your lot size from risk percentage, entry and stop-loss, and can open that trade for you when you ask it to.

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
Trade assistant
Platforms
MT4 · MT5 · cT
Market / symbol
Gold, FX majors, FX minors, Indices, Crypto, Oil
Experience level
Beginner
Delivery
File download from your dashboard
Last update
November 30, 2026
Broker
Any broker

Overview

Most heavy losses come from the wrong size, not the wrong idea. Position Sizer takes that one job off your hands: drag the entry and stop-loss lines on the chart, type your risk percentage, and the lot size appears on the panel straight away.

It attaches to a chart as an expert advisor, but it makes no trading decisions. No order is sent until you press the trade button or the hotkey.

The panel has five tabs: Main for the size calculation, Risk for total risk across open trades and pending orders, Margin for required margin, Swaps for the symbol’s swap data, and Trading for order-execution settings.

  • Size from risk percentage, risk in money, or a lot size you type in (change one and the others update)
  • Entry, stop-loss and take-profit lines you can drag on the chart
  • Stop-loss and take-profit set from ATR
  • Commission included in the calculation
  • Current and potential risk for the whole portfolio
  • Instant, pending or stop-limit orders opened with the calculated numbers, with several take-profits
  • Execution safety caps: maximum spread, maximum risk, maximum number and volume of trades

It suits anyone who trades manually, and prop-challenge traders in particular, where the per-trade risk cap matters.

Source and licence

This tool is the open-source project Position Sizer 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/PositionSizer

Strategy logic

How the size is calculated

  • Risk in money comes from your risk percentage and the account size. Account size can be balance, equity, or balance minus the risk of current trades.
  • The entry-to-stop distance is multiplied by the symbol’s point value to get the loss per lot. Commission is added if you entered it.
  • Lot size is risk in money divided by loss per lot. By default the result is rounded down to the broker’s volume step (RoundDown).

Stop-loss and take-profit

  • Enter either a price level or a distance in points.
  • With ShowATROptions on, stop-loss and take-profit are built from an ATR multiplier.
  • With DefaultTPLockedOnSL the take-profit stays at a multiple of the stop distance.

Trading tab

  • Magic number, order comment, maximum slippage and spread, minimum and maximum entry-to-stop distance.
  • Trailing stop and break-even for trades opened from the panel. Both work only while the tool is running on the chart.
  • Expiry time for pending orders.

Differences between versions

  • Stop-limit orders exist on MT5 and cTrader, not on MT4.
  • The default trade hotkey is Shift+T on MT5 and cTrader and plain T on MT4.
  • The cTrader version takes distances in pips and names its parameters slightly differently (for example Risk (%) instead of DefaultRisk).

Specifications

Requirements

  • MetaTrader 4, MetaTrader 5 or cTrader desktop on Windows
  • Algo Trading enabled if you want to open trades from the panel
  • The panel is in English
  • No VPS needed unless you rely on the panel’s trailing stop or break-even
Platforms
MT4MT5cT
Delivery
Use case
Prop challenge، Scalping، Swing
Market
Gold، FX majors، FX minors، Indices، Crypto، Oil
Experience level
Beginner

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
DefaultRiskStarting risk per trade in percent; can be changed on the panel later 1 Starting risk per trade in percent; can be changed on the panel later
DefaultMoneyRiskIf above zero, risk is set as a fixed money amount instead of a percentage 0 If above zero, risk is set as a fixed money amount instead of a percentage
DefaultEntryTypeDefault entry type: Instant, Pending or StopLimit (no StopLimit on MT4) Instant Default entry type: Instant, Pending or StopLimit (no StopLimit on MT4)
DefaultSLDefault stop-loss distance in points 0 Default stop-loss distance in points
DefaultTPDefault take-profit distance in points 0 Default take-profit distance in points
DefaultTakeProfitsNumberNumber of take-profits; above 1 the trade is split across several targets 1 Number of take-profits; above 1 the trade is split across several targets
ShowATROptionsShow the options for setting SL and TP from ATR on the panel false Show the options for setting SL and TP from ATR on the panel
DefaultATRPeriodATR period used when SL and TP are set from ATR 14 ATR period used when SL and TP are set from ATR
DefaultCommissionOne-way commission per lot, included in the size calculation 0 One-way commission per lot, included in the size calculation
CustomBalanceCustom balance used for the risk calculation instead of the real one 0 Custom balance used for the risk calculation instead of the real one
DefaultMaxRiskPercentageRisk-percentage cap for opening trades from the Trading tab; zero means no cap 0 Risk-percentage cap for opening trades from the Trading tab; zero means no cap
DefaultAskForConfirmationAsk for confirmation before sending an order from the Trading tab true Ask for confirmation before sending an order from the Trading tab

Install guide

MetaTrader 4 and 5

  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.
  4. Restart the terminal, or right-click in Navigator and choose Refresh. The source compiles on its own.
  5. Drag Position Sizer from Expert Advisors onto a chart.
  6. To open trades from the panel, Algo Trading (AutoTrading on MT4) must be enabled.

cTrader

  1. The zip holds the C# project folder (with its .sln file).
  2. Copy the project folder into Documents\cAlgo\Sources\Robots.
  3. Open Algo in cTrader, find Position Sizer in the cBot list and click Build.
  4. Add the cBot to a chart and start it.

Changelog

  1. v3.17 MT4 New November 30, 2026
    • Published on TradeKit
  2. v3.17 MT5 November 30, 2026
    • Published on TradeKit
  3. v1.29 cT 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

Does Position Sizer open trades by itself?
No. It sends an order only when you press the trade button or the hotkey. If you only want the calculation, you can leave Algo Trading off.
Is the result correct on gold, indices and crypto?
The calculation uses the tick value and contract size your broker reports for that symbol, so it is not limited to currency pairs. If the broker’s symbol specification is wrong, the result will be wrong too. Check the number against a manual calculation the first time.
What happens to trailing stop and break-even if I close MetaTrader?
They run in your terminal, not on the broker’s server. They stop when the terminal closes or the tool is removed from the chart.
Is it suitable for a prop challenge?
It helps you respect a per-trade risk cap, and <code>DefaultMaxRiskPercentage</code> can enforce one. It does not control daily loss or overall drawdown limits; that needs a different tool.
Why are the parameter names different in cTrader?
The cTrader version is a separate code base and shows parameters with readable titles. The core behaviour is the same, but a few options exist in only one of the two.

Related products

More Trade assistants and tools from the same family

Compare Compare now