Topics: mt5-risk-architect, metatrader5, precise-position-sizer, reward-risk-optimizer, risk-reward, dynamic-lot-scaling, mt5-exposure-manager, forex-trading, position-sizing, mt5-portfolio-sentinel, lot-calculator, risk-management, risk-reward, mql5-risk-engine, mt5-drawdown-control, trading-calculator
Github: https://github.com/ZrakD/Mt5-Forex-position-size-calculator
Information
Advanced MT5 / MT4 forex trading tool and indicator suite designed for modern trading platforms, featuring automation, risk management, trade execution, market analysis, and algorithmic trading capabilities. This project supports traders with expert advisors (EAs), indicators, scalping systems, position sizing tools, and real-time trading assistance.
๐ Position Sizer MT5 / MT4
Professional risk management and position sizing tool for MetaTrader 5 and MetaTrader 4 built for precision, clarity, and real trading workflows.
๐ฅ๏ธ Screenshot
๐ Overview
Position Sizer MT5/MT4 is a risk management tool designed for traders who want precise control over every trade.
Instead of guessing lot sizes, the system calculates everything automatically based on your risk tolerance and setup.
Built with a modern desktop UI inspired by professional trading platforms.
โ๏ธ What It Does
The application calculates optimal position sizing and visualizes trade risk in real time:
| Metric | Description |
|---|---|
| Lot Size | Automatically calculated based on risk and stop loss distance |
| Risk Amount | Exact dollar value at risk per trade |
| Reward Amount | Potential profit based on take profit level |
| Risk/Reward Ratio | Ratio between potential reward and risk |
| Stop Distance | Calculated in pips depending on instrument |
| Pip Value | Adjusted per symbol (Forex, Gold, JPY pairs) |
โจ Features
| Feature | Description |
|---|---|
| Real-Time Calculation | Instant updates when changing inputs |
| Multi-Asset Support | Forex pairs, Gold (XAUUSD), JPY pairs |
| Risk Slider | Fine-tune risk percentage interactively |
| BUY / SELL Modes | Direction-based calculations |
| Risk Meter | Visual gauge showing current risk level |
| Trade Simulation | Simulate trade execution |
| Trade History | Track trades with results |
| Live Price Feed | Simulated real-time price |
| Modern UI | Clean dark trading dashboard |
๐งฉ Interface
The application is structured into key sections:
- Sidebar โ navigation and system overview
- Trade Parameters โ balance, risk %, entry, SL, TP
- Results Panel โ lot size, risk, reward, R:R
- Risk Meter โ visual exposure gauge
- Trade History โ executed trades
๐ง Calculation Logic
Risk Amount = Account Balance ร Risk %
Lot Size = Risk Amount / (StopLoss Pips ร Pip Value)
Reward = Lot Size ร TakeProfit Pips ร Pip Value
R:R Ratio = Reward / Risk
๐ Risk Visualization
The built-in Risk Meter gives instant feedback:
- Low Risk โ below 1.5%
- Moderate Risk โ 1.5% โ 3%
- High Risk โ above 3%
Helps prevent overexposure and poor risk decisions.
๐ Quick Start
Requirements:
- Windows 10 / 11
- .NET 6+
- Visual Studio 2022
git clone https://github.com/your-username/position-sizer-mt5.git
Run the project:
F5
๐ How to Use
- Enter account balance
- Set risk percentage
- Define entry, stop loss, take profit
- Select BUY or SELL
- Review calculated values
- Click OPEN TRADE to simulate
- Monitor results in history
๐ฏ Designed for Trading
- Fast and responsive
- Clear visual feedback
- Focused on decision making
- No unnecessary complexity
๐ฃ๏ธ Roadmap
- [ ] MT5 native integration (MQL5)
- [ ] MT4 version
- [ ] Real broker connection
- [ ] Auto execution
- [ ] Advanced analytics
- [ ] Export trade history
Github: https://github.com/ZrakD/Mt5-Forex-position-size-calculator
Position Sizer MT5/MT4 ยท Risk Management Tool ยท v1.0.0



