Watch how to download trading robots for free
Find us on Twitter!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Experts

Pending Panel MT5 — One-Click Pending Orders with OCO - expert for MetaTrader 5

QuantDev _CN
QuantDev _CN
  • MQL5 Developer at  湖南省长沙市
  • China
  • 237
I'm a MetaTrader developer based in Changsha, China. I build MQL4/MQL5
tools — Expert Advisors, indicators, chart panels and trade-management
utilities — with clean, dependency-free source code and clear documentation.
| English Русский 中文 Español Deutsch 日本語 Português 한국어 Français Italiano Türkçe
Views:
993
Rating:
(1)
Published:
PendingPanel.mq5 (29.01 KB) view
MQL5 Freelance Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
Pending Panel is a chart-based execution tool for MetaTrader 5 that places pending
orders with a single click: Buy Limit, Sell Limit, Buy Stop and Sell Stop.

Key features
- One click for all four pending order types
- Volume and distance adjustable directly on the panel (no recompile needed)
- Optional SL/TP attached to every pending order
- OCO: when one order of a pair is triggered, the other is cancelled automatically
- Bulk delete of all pending orders placed by this EA
- Automatic detection of the broker's STOPS_LEVEL and filling mode
- Live list of pending orders with type, volume, price and SL/TP

- Clean, dependency-free source code (standard library only)

How to use
1. Place PendingPanel.mq5 into MQL5\Experts\ and compile it in MetaEditor (F7).
2. Attach the EA to any chart and enable "Allow Algo Trading".
3. Adjust volume and distance with the +/- buttons on the panel.
4. Click one of the four order buttons to place a pending order.
5. Use DELETE ALL to remove all pending orders placed by this EA.

6. Toggle OCO to enable or disable one-cancels-the-other pairing.

Important notes

- Execution tool only: it does not analyse the market and generates no signals.
- Pending orders can be triggered by gaps or news spikes and filled far from the
  requested price. Always attach SL/TP and monitor your exposure.
- The EA only manages orders carrying its own magic number; it never touches orders
  placed manually or by other EAs.
- Broker restrictions (STOPS_LEVEL, FREEZE_LEVEL, filling mode) differ between
  brokers. The EA detects and adapts to them, but verify on a demo account first.

- No trading result is guaranteed in any way.



Translated from Chinese by MetaQuotes Ltd.
Original code: /zh/code/78307

Trend Buy/Sell Zones with Auto Lot Size - Risk Panel Trend Buy/Sell Zones with Auto Lot Size - Risk Panel

Highlights potential buy zones in uptrends and sell zones in downtrends on closed candles (no repainting), with automatic lot size for your balance and a daily loss guard.

GM Matrix Monitor — read-only risk dashboard for your EA matrix GM Matrix Monitor — read-only risk dashboard for your EA matrix

Read-only panel showing per-magic net P/L, account drawdown, daily-loss breaker progress and freeze/liquidate thresholds. Does NOT trade.

Prior Bar Break Odds with Level Bars and a Rolling Hit Rate Prior Bar Break Odds with Level Bars and a Rolling Hit Rate

Measures, on the chart's own history, how often a bar takes out the prior high or the prior low after bullish and after bearish bars, at up to five levels spaced by the average range. Each level carries a probability bar, and a table scores the favored side over all bars and over the last 200.

ICT Premium / Discount and OTE - dealing range, standard deviations, IPDA ranges ICT Premium / Discount and OTE - dealing range, standard deviations, IPDA ranges

ICT dealing range from confirmed swings: premium and discount zones, equilibrium, the OTE band (62 - 79 %, 70.5 %), standard deviation targets and the IPDA 20 / 40 / 60-day ranges. No repaint. Alerts and EA buffers.