Loading…

Multi Chart Order Broadcaster

Opening the "same trade" across several symbols by hand usually means typing the same lot size into each ticket, which is the naive version of this idea and is wrong: one lot of EURUSD and one lot of XAUUSD risk wildly different money for the same pip stop. This panel solves for the lot size on every leg from a single risk-per-leg money figure instead, read against each symbol's own live tick value - never a hardcoded contract size - so eight legs sharing one panel really do carry comparable risk, not comparable size, across FX, metals and index CFDs alike. Each of the eight rows is an independent on/off toggle, a symbol field and a buy/sell button. Preview computes every enabled leg's lot size and reports which symbols could not be sized (unknown symbol, or a risk too small for the broker's minimum lot). Broadcast sends every enabled, valid leg as a market order with a stop at the chosen pip distance, skipping any leg that already carries an open position under this panel's magic number rather than doubling it - pressing Broadcast again after a partial failure is safe. Notes and limitations - Lot sizing uses live MODE_TICKVALUE/MODE_TICKSIZE per symbol, which can itself move intraday on some instruments; the computed lot is correct for the risk figure at the moment Preview or Broadcast is pressed, not guaranteed for the life of the trade. - A leg whose risk-implied lot size rounds below the symbol's minimum lot is skipped and reported rather than forced up to the minimum, since that would silently risk more than requested. - Fixed at eight legs. A symbol left blank, disabled, or not yet known to the terminal is simply skipped. - Broadcast sends legs one at a time with its own retry loop per leg; a broker-side delay or rejection on one leg does not roll back legs already sent.

Expert advisor · MT5 · v1.0 · Free

About Multi Chart Order Broadcaster

Multi Chart Order Broadcaster is an expert advisor (trading robot) for MetaTrader 5. It has 9 settings, such as Risk money per leg, Stop pips and Magic number. MQL source code included.

Files in the download: MultiChartOrderBroadcaster.ex5, MultiChartOrderBroadcaster.mq5, MultiChartOrderBroadcaster.txt.

Trading robots can lose money. Check every setting and test on a demo account before using real funds.

Settings

SettingDefaultWhat it does
Risk money per leg20.0Money risked per leg at its own stop distance, in account currency
Stop pips25Stop distance, in pips, used to size every leg and to place its stop
Magic number20260391Magic number for orders opened by this panel
Slippage pips3Slippage tolerance, in pips
Max retries5Attempts per leg before giving up on it
Retry wait ms500Pause between attempts, milliseconds
Corner1Panel corner: 0=top-left 1=top-right 2=bottom-left 3=bottom-right
X offset12Panel offset from the chosen corner, X pixels
Y offset18Panel offset from the chosen corner, Y pixels

How to install

  1. Download the ZIP from your PolyMaria library and unzip it.
  2. In MetaTrader 5 open File → Open Data Folder, then go to MQL5 → Experts.
  3. Copy the .mq5 file(s) there. Put any .mqh files in MQL5 → Include.
  4. Open the .mq5 file in MetaEditor and press Compile (F7) if MetaTrader does not show it.
  5. Drag the expert advisor from the Navigator onto a chart, check the settings, allow Algo/Auto Trading and press OK.
  6. Test it first on a demo account or in the Strategy Tester.

Download the PDF guide

Tags: Gold (XAUUSD) · Risk & Lot Size · EURUSD · MT5 Expert Advisor · MQL5 Source Code

Expert advisors (EA) for MT4 & MT5 · PolyMaria