MetaTrader EAs and Position Sizing: The Missing Piece
Camovia Tray Team · 2026-09-09
It’s 10:30 PM, and you’re watching a trade setup that’s been developing for the last three hours. The technicals align — a clean breakout on the daily, momentum picking up, and your strategy’s entry trigger just fired. You open MetaTrader, ready to execute. But then you pause. That moment of hesitation isn’t about the direction of the trade; it’s about the size. You know you should risk 1% of your account, but your stop-loss distance is 50 pips, and you’re trading gold on a USD account. The calculation isn’t complicated, but it’s easy to get wrong under pressure. So you reach for a calculator, second-guess the lot size, and either enter too large (and sweat through the night) or too small (and watch the trade succeed while you barely make a dent in your P&L).
This is the trader’s dilemma that MetaTrader’s built-in tools don’t solve. Despite being the industry-standard platform for retail and professional traders alike, MT4 and MT5 ship without a native position sizer. The formula isn’t difficult: Risk Amount = Account Balance × Risk %, and Lot Size = Risk Amount ÷ (Stop Loss Pips × Pip Value). But doing this manually for every trade — while the market moves — introduces friction, and friction breeds errors.
That’s where the Position Sizer Expert Advisor comes into the picture. Designed by EarnForex, this free EA for both MT4 and MT5 automatically calculates the optimal lot size based on your risk tolerance, account currency, stop-loss distance, commission structure, and instrument specifications. It’s a feature-rich tool that handles everything from margin requirements to portfolio risk, with an interface that updates in real time as price moves.
To get it running, you download the EA from the EarnForex GitHub repository, copy it into your MetaTrader data folder (MQL4 or MQL5/Experts), compile the code in MetaQuotes Language Editor, and then drag it onto your chart from the Navigator panel. The setup takes about five minutes. Once it’s active, the Position Sizer panel lets you input your entry, stop-loss, and take-profit levels, select your order type, and set your risk percentage. Instantly, it returns the precise lot size that aligns with your risk management rules, and with a single click, it opens the trade directly from the panel.
This solves the friction problem. It removes the late-night calculator fumbles and ensures consistency across every trade. But there’s still another layer of friction that remains unsolved. Once your trade is open, and you’ve carefully sized your position using the EA, you’re left staring at the full MetaTrader terminal. The charts, the market watch, the open positions — it’s all there, demanding screen real estate and attention. You need to monitor the trade, check the floating P&L, and perhaps manage the stop-loss as the trade moves in your favor. But you don’t want to keep the entire terminal open, cluttering your workspace or drawing unwanted attention if you’re trading from a shared environment.
This is where Camovia Tray fits into the workflow. Rather than keeping the full MetaTrader window on your screen, Camovia Tray turns MT5 or MT4 into a system tray tool. The terminal can be hidden completely — removed from the taskbar and the Alt+Tab switching list — while you still maintain full visibility and control over your open positions. A quick hover over the tray icon shows you real-time quotes for your selected instruments, and the floating order panel gives you a clear view of your open trades: symbol, direction, lot size, entry price, and current profit and loss[citation:product_knowledge].
More importantly, Camovia Tray lets you manage those positions without reopening the terminal. If a trade is moving against your stop and you need to exit, you can close it with a two-step confirmation from the tray interface — no need to restore the MT5/MT4 window[citation:product_knowledge]. This makes the post-trade workflow smoother, especially for traders who prefer to check in on positions periodically rather than babysit screens all day.
Another practical advantage: Camovia Tray works with MT5 via a direct connection, and with MT4 through a one-time bridge EA installation (the CamoviaBridge, which takes about 30 seconds to set up)[citation:product_knowledge]. The data — your account balance, open positions, and quotes — stays entirely local, reading directly from your terminal without being sent to any remote server[citation:product_knowledge]. So your position sizing data, account equity, and trade activity remain private.
The combination is straightforward: use the Position Sizer EA to get your entry and lot size calculation right, execute the trade through your terminal, then hide MT5/MT4 and monitor or close the position through Camovia Tray. It’s a workflow designed for traders who want to minimize platform clutter without sacrificing access to critical trade information.
MT4/MT5 Tray Assistant
Silent tracking, one-click close - check quotes and manage positions right from the tray.
Download Camovia TrayFrequently Asked Questions
How do I report issues or contact you?
Send an email to [email protected].
Where are the privacy policy and user agreement?
The "Privacy" and "EULA" links in the footer of this site, with GDPR/CCPA information included.
What is Camovia Tray?
A tray assistant for MT4/MT5 - silent tracking, one-click close: hover the system tray to check the latest quotes and manage open positions (click an order to close it), hide the MT5/MT4 main window in one click, and keep quote and position data entirely on your computer.
Do I need MT5/MT4 installed? Does the terminal need to stay open?
Yes. Camovia Tray reads quote and position data from your locally running MT5/MT4 terminal, so the terminal must be installed, running, and logged in. MT5 connects directly with no EA; MT4 needs the bundled bridge EA attached once (one-click copy in Settings, then double-click in the Navigator - see the docs).
Online Tools
Popular Symbols Trading Hours
Open/close times, weekend hours & live market status:
Related Articles
MT5 Download Windows 10 Safe: Official Sources, Security Risks, and Smarter Trading
Discover the safe way to MT5 download Windows 10. Learn about official sources, security, and how Camovia Tray turns MT5 into a discreet tray tool for smarter trading.
MetaTrader Market Open Hours: A Practical Guide for Traders Who Watch the Clock
MetaTrader market open hours explained for traders, including MetaTrader 5 market open time in India. Track sessions easily with Camovia Tray.
Does MT5 Work on Weekends? Understanding MT5 Market Close Time and Weekend Availability
Does MT5 work on weekends? Learn about MT5 market close time, weekend availability, and how Camovia Tray lets you monitor positions from your system tray.
Can You Close All Orders in MetaTrader With a Single Click?
Close all MetaTrader orders quickly with scripts or manage positions from your tray. Camovia Tray lets you view and close trades without opening MT4/MT5.
How to Add Market Watch in MT5: A Complete Guide for Traders
Learn how to add symbols to Market Watch in MT5 with this step-by-step guide. Monitor live quotes and manage your watchlist efficiently — and discover how Camovia Tray lets you check MT5 prices and positions right from your system tray.
More Articles
How to Make $100 a Day with Automated Trading: A Realistic Look
Turn MT5/MT4 into a tray tool with Camovia Tray. Learn how to make $100 a day with automated trading, manage positions, and check live quotes discreetly.
XAUUSD Trading Time in UAE: What Most Traders Get Wrong About the “Best Hours”
Track XAUUSD trading hours in UAE, including MT5 XAUUSD market open time and broker session shifts. Monitor gold positions with Camovia Tray from your system tray.
Fibonacci on Gold: Retracement Levels for XAUUSD Entries
Fibonacci on gold made practical: which XAUUSD swing to anchor and how to use the 0.5-0.618 zone, and Camovia Tray keeps gold levels and entries visible.
Why Forex Leverage is a Double-Edged Sword – And How to Manage It Better
Leverage in forex can double your profits or wipe out your account. Learn how to manage it effectively, and discover how Camovia Tray lets you monitor open positions, view live quotes, and close trades right from your system tray—without opening MT4 or MT5.
Gold Market Open Time in Pakistan: PMEX 5:00 AM PST
Pakistan's PMEX gold session runs 05:00 AM to 02:00 AM PST Monday to Friday. Spot XAUUSD starts early Monday Pakistan time; overlap 6-10 PM PST. Camovia Tray.