Buy Sell Multiple
- Utilità
- Versione: 1.43
- Aggiornato: 29 ottobre 2026
- Attivazioni: 10
Buy Sell Multiple Panel - Execute Bulk Orders in a Single Click!
Description
Save time and seize market opportunities instantly. This panel places multiple Buy/Sell market orders or pending orders (Buy Limit, Sell Limit, Buy Stop, Sell Stop) at once, in two independent groups, each with its own lot size, Stop Loss and Take Profit. Close everything - or only one order type - with one click.
Key Features
- Bulk Order Execution: Open many market or pending orders with one click.
- Two Order Groups: Total 1 / Total 2 let you run two sets of orders with different lots, SL and TP at the same time.
- PRICE or DISTANCE for pending orders (switch on the panel):
- PRICE - type the exact order price. The price stays fixed no matter how fast the market moves. Default mode.
- DISTANCE - type a gap from the current Ask/Bid at the moment you click (e.g. 2 = 2.00 below/above the price).
- Safety checks before sending: wrong-side prices, a value of 0 for pending orders, invalid lot size (min / max / step) and non-numeric input are blocked with a clear alert - no order is sent at an unexpected price.
- Comma or dot: 2650,5 and 2650.5 are both accepted.
- Clear error reporting: if the broker rejects orders, one alert shows how many failed and why.
- Fast markets: configurable slippage; market orders and Close buttons automatically retry on requotes, and alert you if anything is still open.
- Flexible Closing: Buy Close, Sell Close, Buy/Sell Limit Close, Buy/Sell Stop Close, Close All.
- SL to Breakeven (one click): "Buy SL to BE" / "Sell SL to BE" move the Stop Loss of all your Buy (or Sell) positions to breakeven:
- EACH ENTRY - every position to its own entry price.
- AVERAGE - all positions to the lot-weighted average entry price (the whole basket closes at breakeven).
- Offset pts - lock in extra profit (e.g. 50 = 50 points above entry for Buy, below entry for Sell). 0 = exactly at entry.
- Only tightens the SL (never moves it back), skips positions where the price has not passed breakeven yet, keeps the TP, and an alert reports moved / skipped / failed.
- Integrated Breakeven Line: average breakeven price of your Buy and Sell positions drawn on the chart, with order count, total lots, floating profit and pips to breakeven. Ask/Bid shown with the symbol's digits.
- Movable info block: choose a corner (Top-left / Top-right / Bottom-left / Bottom-right) and one X/Y offset - the whole block moves together.
- Adjustable Panel Size: Panel_Scale enlarges the panel for high-resolution screens (e.g. 2.0 on Retina / 4K).
- Keeps your settings when you change the chart timeframe.
How It Works
- Total 1 & Total 2: number of orders in group 1 and group 2. Set a Total to 0 to skip that group.
- Lot / SL / TP: lot size and Stop Loss / Take Profit distance (in price) from the entry price of each order. SL or TP = 0 means none.
- Price 1 / Price 2 (PRICE mode): exact pending order price. Buy Limit < Ask < Buy Stop, Sell Stop < Bid < Sell Limit.
- Distance 1 / Distance 2 (DISTANCE mode): Buy Limit / Sell Stop = price - gap, Sell Limit / Buy Stop = price + gap.
- DISTANCE | PRICE switch: the highlighted button is the active mode. The 2 lines under it explain the current mode.
- SL TO BREAKEVEN section (bottom of the panel): choose EACH ENTRY or AVERAGE, type the offset in points, then press Buy SL to BE or Sell SL to BE.
Example (XAUUSD): Buy 0.01 at 2650.00, 0.01 at 2645.00 and 0.02 at 2640.00, price now 2655.00.
- EACH ENTRY, offset 0 - SL 2650.00 / 2645.00 / 2640.00 (each order is risk-free).
- AVERAGE, offset 0 - SL 2643.75 for all three (the basket closes at 0 profit).
- EACH ENTRY, offset 100 (gold with 2 digits: 100 points = 1.00) - SL 2651.00 / 2646.00 / 2641.00.
Inputs
- Bot comment prefix / Magic Number - identify the orders of this panel. Close buttons only touch orders with this Magic Number on the current symbol.
- Max slippage in points - allowed slippage for market orders and closing (default 100).
- Show breakeven lines / info - turn the breakeven lines and info text on or off.
- Buy / Sell BE level color, BE line width - breakeven line style.
- Info text position, Info X / Y distance - where the Ask/Bid + BUY/SELL block is shown.
- Price Ask Bid color - color of the Ask/Bid text.
- Calculate profit with swap + commission - include swap and commission in the displayed profit.
- Breakeven: only count orders of this EA - true = only this Magic Number, false = all positions on the symbol.
- Default mode - PRICE or DISTANCE when the panel starts.
- Show "SL to Breakeven" section on panel - true / false (hide it if you do not need it).
- SL to BE: default target - EACH ENTRY or AVERAGE (can be changed on the panel).
- SL to BE: default offset in points - 0 = exactly at entry price (can be changed on the panel).
- Layout scale factor - panel size (1.0 = original).
What's New
V1.43
- New SL TO BREAKEVEN section: Buy SL to BE / Sell SL to BE buttons, EACH ENTRY or AVERAGE target, offset in points, can be hidden with an input.
- Shorter 2-line help under the DISTANCE | PRICE switch, more compact panel (fits better with Panel_Scale 2.0).
V1.38
- Pending orders by PRICE are back, next to DISTANCE - switch with one click on the panel. PRICE is now the default.
- Safety checks with clear alerts: wrong-side price, 0 price, invalid lot, comma/dot input.
- Requote handling: slippage input, automatic retries for market orders and Close buttons, alert if something is not closed.
- Breakeven info: counts only this EA's orders (optional), correct digits for Ask/Bid, no flicker, fixed swap + commission calculation.
- Info text block: choose a corner and move the whole block with one X/Y.
- Panel: labels no longer cut off, compact layout, 3-line help for the current mode, settings kept on timeframe change.
V1.20 - Integrated Breakeven Line and Panel Scale.
V1.10 - Distance input for pending orders.
Support
Encounter any issues or have questions? Please contact me directly through the private message system here on MQL5. I'm happy to assist you.

