Free tools Windows power users keep installed
One-click scans. No signup required.
If OrderSend() returns true but your Expert Advisor cannot find the expected open position, the Boolean alone does not confirm that a trade executed. Check the server’s retcode, follow the order-to-deal-to-position lifecycle, and use the right position identifier for the account’s netting or hedging mode.
1. Check the server result code, not only the Boolean
OrderSend() takes a MqlTradeRequest and a MqlTradeResult. A true return means the request passed basic checks and was accepted for further processing; the server may complete the trade operation later. In particular, MetaQuotes cautions that a successful return for a market deal request does not prove that the requested trade was executed. MQL5 Reference: OrderSend
As an Amazon Associate I earn from qualifying purchases.
Read result.retcode to learn how the trade server handled the request. The fields in MqlTradeResult answer different questions: deal is a deal ticket if a deal was performed, while order is an order ticket if an order was placed. Neither field is itself confirmation of an open position. Log result.comment and, when a response from an external trading system matters, inspect result.retcode_external; its meaning can depend on that system. MQL5 Reference: Trade Request Result Structure
For example, the documented return codes distinguish an order being placed from a request being completed or partially completed. Interpret the code in the context of the operation you sent rather than treating any nonzero result field as success.
#1 Best Overall
- DO MORE ON ONE SCREEN: See every detail on the wider display featuring a 21:9 aspect ratio; Ultra WQHD provides the simplest way to maximize screen real estate and experience truly seamless multitasking on just one screen.Brightness (Typical) : 300 cd/㎡. Static Contrast Ratio 3000:1.
- ENJOY A BILLION COLORS W/ INCREDIBLE DEPTH: With HDR10 that displays over 1 billion colors compared to 16.7 million for typical SDR technology, dark colors are darker and the brightest are even brighter; Content is experienced as the creator intended
- CARE FOR YOUR EYES DAY and NIGHT: An ambient light sensor on the monitor detects lighting in your workstation and automatically adjusts brightness; Eye Saver Mode minimizes excessive blue light, and Flicker Free relieves eye strain
- SEE CONTENT SMOOTHER, EVEN GAMING: A faster than average refresh rate updates the image on screen more often every second; 100Hz refresh rate reduces lag and motion blur when playing games, watching videos, or working on design projects
- STAY IN SYNC WITH THE ACTION: AMD Radeon FreeSync keeps the refresh rate of your monitor and graphics card in sync to reduce image tearing for a superfluid entertainment experience; Watch movies and play games without interruptions
| Return code | Meaning | What it tells you |
|---|---|---|
TRADE_RETCODE_PLACED (10008) |
Order placed | An order was placed; this is not, by itself, confirmation of a filled position. |
TRADE_RETCODE_DONE (10009) |
Request completed | The request completed; inspect account state to determine the resulting position. |
TRADE_RETCODE_DONE_PARTIAL (10010) |
Request completed partially | Only part of the requested volume completed. |
These are MQL5 API constants, not guarantees about how every broker, instrument, account configuration, or external system behaves. Consult the MQL5 trade server return-code reference for codes beyond these examples. Do not retry every unsuccessful result automatically: a retry can duplicate an action or repeat a request that is structurally invalid.
2. Follow the order, deal, and position lifecycle
An order, a deal, and a position are distinct objects. In MetaQuotes’ documented market-buy example, the request creates an order; execution removes it from the open-order list and moves it to order history; a deal is added to deal history; and a position is created. A single request can therefore produce several trade transactions, and the account state may not yet show the position when the initial call returns. MQL5 Reference: OrderSend
Rank #2
- This Trading desktop computer Siwa 6 tower comes with RGB LED Light Siwa 6 on complete front Panel. Lighting can be changed with remote control and quickly adjust the lighting speed, and the mode. This computer is highly recommended for who can enjoy the unlimited gaming experience. Configured with top of the Core i5-6500 processor for lightning-fast, reliable, and consistent performance to ensure an exceptional PC experience.
- The combination of key integrated components powers this PC to maximum performance. Arrives with a 16GB Memory and 120GB SSD + 2TB HDD for efficient multi-tasking and robust hard drive space for files, apps, music and movies set this computer apart to excel for Trading. Supports all trading platforms, online or locally installed. Wired Keyboard and Mouse to keep pc response time under 100ms, ensures no interference and lag. This sleek keyboard not only looks and feels good.
- 2 Network cards (1 GBps Min) Network need to be wired to ensure no lag in system and trading. It as a advanced Features like fasten the what u need what your needs, productivity as its more speed surfing the internet, emailing, 2Times speed 10 times greater than better range Bluetooth, Antennas.
- 4 x New 24” monitor 1080p, also known as Full HD or FHD (full high definition), is a very common display resolution of 1920 x 1080 pixels. And You get excellent clarity and picture balance whether trading, gaming, browsing the internet, writing, reading, or posting images.
Use trade events or a fresh account-state query to establish what happened instead of inferring a position from the immediate return. The MQL5 technical chapter describes correlating later progress with the request ID in OnTradeTransaction(), or analyzing current orders, deals, and positions. Transaction callbacks can be multiple for one request; request and result details are supplied to OnTradeTransaction() for request-type transactions. MQL5 Reference: Trade Transaction Types and MQL5 Algo Book: Sending a trade request
- Record the request ID and result fields when sending the request.
- Process relevant transaction events where event-driven handling fits your EA.
- After processing advances, inspect current orders, deal history, and positions to identify the resulting state.
- Treat
result.orderandresult.dealas order and deal identifiers respectively, not as position identifiers.
3. Use the correct position identifier when managing it
Finding that a trade executed is separate from targeting the right position in a later close or modification request. Set MqlTradeRequest.position appropriately for the account mode. In a hedging account, specify the position ticket. In a netting account, the symbol identifies the position, although the ticket can also be set. MQL5 Reference: Trade Request Structure
Rank #3
- DUAL MONITOR SETUP - Curved monitors in a dual setup provide a seamless viewing experience with reduced peripheral distortion, ideal for immersive gaming or detailed work.
- ERGONOMIC DESIGN - The 1500R curved design provides a more comfortable viewing experience by reducing eye strain and neck fatigue, allowing for longer periods of use with less discomfort.
- FAST RESPONSE TIME - Fast response times reduce ghosting & blurring while transitioning pixels, always keeping the enemy & terrain precisely in focus during chaotic moments.
- TRUE TO LIFE COLORS - Experience vibrant and true-to-life colors with a 98% sRGB color gamut performance, ensuring accurate and stunning visuals for all your creative and multimedia tasks.
- ENHANCED 75HZ REFRESH RATE - Enjoy unparalleled responsiveness and seamless visuals that will take your gaming experience to the next level.
If an EA uses the wrong identifier or assumes a hedging-style position when the account is netting (or vice versa), it can fail to address the position it intends to manage. Determine the account mode and use the corresponding field semantics when constructing the close or modification request.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Use OrderCheck as a preflight, not a fill confirmation
OrderCheck() can validate a request before submission and return check results, including projected account and margin information. It cannot establish that a later order was filled: that depends on the server response and the subsequent trade lifecycle. MQL5 Reference: OrderCheck
Quick Recap
Best Value
- 【INTEGRATED SPEAKERS】Whether you're at work or in the midst of an intense gaming session, our built-in speakers provide rich and seamless audio, all while keeping your desk clutter-free.
- 【EASY ON THE EYES】 Protect your eyes and enhance your comfort with Blue-Light Shift technology. This feature reduces harmful blue light emissions from your screen, helping to alleviate eye strain during long hours of use and promoting healthier viewing habits.
- 【WIDEN YOUR PERSPECTIVE】Our sleek minimal bezel design ensures undivided attention. The nearly bezel-free display seamlessly connects in a dual monitor arrangement, delivering an unobstructed view that lets you focus on more at once, completely distraction-free.
Rank #4
- CRISP CLARITY: This 23.8″ Philips V line monitor delivers crisp Full HD 1920x1080 visuals. Enjoy movies, shows and videos with remarkable detail
- INCREDIBLE CONTRAST: The VA panel produces brighter whites and deeper blacks. You get true-to-life images and more gradients with 16.7 million colors
- THE PERFECT VIEW: The 178/178 degree extra wide viewing angle prevents the shifting of colors when viewed from an offset angle, so you always get consistent colors
- WORK SEAMLESSLY: This sleek monitor is virtually bezel-free on three sides, so the screen looks even bigger for the viewer. This minimalistic design also allows for seamless multi-monitor setups that enhance your workflow and boost productivity
- A BETTER READING EXPERIENCE: For busy office workers, EasyRead mode provides a more paper-like experience for when viewing lengthy documents
EA debugging checklist
- Separate submission from execution: check the
OrderSend()Boolean, then examineresult.retcode,result.comment, and any relevantresult.retcode_external. - Trace the actual outcome: interpret
result.orderandresult.dealaccording to the request, then correlate transactions or query fresh orders, deals, and positions. - Target management requests correctly: set
request.positionfor the account’s netting or hedging mode when closing or modifying a position.
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.
The Tool Desk
Outbyte PC Repair FREERepair Windows errors before they cause bigger problemsFix Now →Outbyte Driver Updater FREEFix the driver behind crashes, sound loss and screen glitchesFind Drivers →




