Join our fan page
- Views:
- 161
- Rating:
- Published:
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

Basic Risk Calculator is a professional trading utility designed to solve the most common problem in manual trading: Position Sizing. Instead of guessing your lot size, this tool calculates the exact volume you need based on your specific risk appetite, ensuring you never over-leverage your account.
🎯 WHAT IT DOES A sleek, on-chart control panel that instantly calculates your lot size. It takes your account balance, preferred risk percentage, and stop loss distance to give you a precise volume for your next trade.
✨ KEY FEATURES
-
Real-time Position Sizing: Calculate lots instantly as you type.
-
Automatic Balance Detection: Pulls your current account balance automatically.
-
Dynamic Pip Valuation: Works on all symbols (Forex, Gold, Oil, Indices) by calculating the specific tick value.
-
Safety Lot Rounding: Rounds lot sizes to your broker's specific "Lot Step" (e.g., 0.01).
-
Interactive GUI: A clean, draggable panel that doesn't clutter your chart.
-
Risk in Currency: See exactly how many dollars (or your account currency) you are risking.
-
Zero Lag: Lightweight, event-driven code that won't slow down your platform.
🛡️ SAFETY FIRST The calculator ensures that the lot size never exceeds your broker's maximum allowed volume and never goes below the minimum lot size, preventing execution errors.
💡 PERFECT FOR ✓ Manual traders, Scalpers, and Day Traders. ✓ New traders learning the importance of the "1% Risk Rule." ✓ Prop Firm traders who must stay within strict drawdown limits.
⭐ UPGRADE TO PRO VERSION Take your risk management to the professional level with the Pro Risk Manager . Based on the same robust logic but built for high-speed, professional workflows:
-
Price Mode Toggle: Switch instantly between Live Current Price or Specific Price entry for pending orders.
-
Auto-Refresh System: Real-time updates every 2 seconds with a dedicated ON/OFF toggle.
-
Risk Preset Buttons: Instant 1%, 2%, and 3% buttons—no more manual typing.
-
Take Profit Calculator: Full profit potential display based on your TP pips.
-
Risk:Reward Ratio: Live display of your R:R Ratio (e.g., 1:2.00) for every trade.
-
Bidirectional Conversion: Enter Price → Get Pips OR Enter Pips → Get Price automatically with visual feedback.
-
Tick-Sync Technology: In Current Price mode, the entry price updates automatically with every market tick.
-
Premium UI: Polished, larger dashboard (280x480) with a professional Navy/SeaGreen color scheme.
-
SL Price Field: Dedicated input for exact stop loss price levels.
-
Smart Workflow: Read-only fields auto-lock/unlock based on your selected mode for a mistake-proof experience.
Get Pro Version here: https://www.mql5.com/en/market/product/162502
🚀 SUPER EASY TO USE
-
Drag the EA onto any chart.
-
Enter your Risk % and SL in Pips.
-
Click CALCULATE.
📥 INSTALLATION INSTRUCTIONS
-
Download the .mq5 file.
-
In MT5, press F4 to open MetaEditor.
-
Right-click the Experts folder -> Open Folder.
-
Copy the file into this folder and Refresh the Navigator in MT5.
-
Attach to chart; ensure "Algo Trading" are enabled.
✅ TESTED & RELIABLE 100% accurate tick value calculations for Forex, Metals, and CFDs.
⭐⭐⭐⭐⭐ PLEASE RATE IF HELPFUL! ⭐⭐⭐⭐⭐ If this calculator saves you time, please leave a 5-star review to support more free tools!
SuperTrend Quant Pro Elite: Adaptive Statistical Trend Engine
An advanced, institutional-grade trend-following engine using Z-Score adaptive volatility, smart money volume filters, and a real-time MTF dashboard.
Trading strategy Heads or Tails
The classic version of the Heads or Tails trading strategy with the analysis of the signal block code.
TrendMomentumEA
Automated trend-following EA using EMA, RSI, and Stochastic signals to open trades on the last closed candle with Stop Loss and Take Profit.
Market Structure Onnx
Market Structure Expert Advisor use LightGBM (Light Gradient Boosting Machine)