- 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
- 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
ShowATROptionson, stop-loss and take-profit are built from an ATR multiplier. - With
DefaultTPLockedOnSLthe 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+Ton MT5 and cTrader and plainTon 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.
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 |
|---|---|---|
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
- 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.
- Restart the terminal, or right-click in Navigator and choose Refresh. The source compiles on its own.
- Drag Position Sizer from Expert Advisors onto a chart.
- To open trades from the panel, Algo Trading (AutoTrading on MT4) must be enabled.
cTrader
- The zip holds the C# project folder (with its
.slnfile). - Copy the project folder into
Documents\cAlgo\Sources\Robots. - Open Algo in cTrader, find Position Sizer in the cBot list and click Build.
- Add the cBot to a chart and start it.
Changelog
-
v3.17 MT4 New November 30, 2026
- Published on TradeKit
-
v3.17 MT5 November 30, 2026
- Published on TradeKit
-
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 reviewFAQ
Does Position Sizer open trades by itself?
Is the result correct on gold, indices and crypto?
What happens to trailing stop and break-even if I close MetaTrader?
Is it suitable for a prop challenge?
Why are the parameter names different in cTrader?
Related products
More Trade assistants and tools from the same family
Risk warning