Cockpit Trade Manager – Complete Guide (MT4 & MT5)

Cockpit Trade Manager – Complete Guide (MT4 & MT5)

30 November 2026, 10:39
Kivanc Sahin
0
9

Cockpit is a trade management panel for MetaTrader 4 and MetaTrader 5. It sizes your position from your risk, opens it with one click, and then lets you manage every level (stop loss, take profit, break-even, trailing, partial exits) by dragging it on the chart. Both versions share the same panels, the same workflow and the same rules, so this guide covers MT4 and MT5 together; the few platform differences are listed in their own section.

Cockpit does not trade for you and does not promise profits. It removes the friction between your decision and its execution: no lot calculator, no order dialog, no hunting for a ticket to move a stop.

Who it is for: discretionary and semi-systematic traders who place and manage trades by hand, on any symbol and any broker, on hedging or netting accounts.

What this guide covers: installation, a tour of the screen, every way to open an order, the Side Panel, managing orders on the chart, position modes, basket exits and Auto Exit, the Positions Panel, the Chart Menu, Settings, logs and the daily report, MT4/MT5 differences, keyboard shortcuts and a short FAQ.

1. Installation and first launch

Cockpit runs as an Expert Advisor: attach it to a chart, allow algo trading, and the panels appear.

  1. Buy or rent Cockpit from the MQL5 Market and install it from the terminal's Market tab. It appears under Expert Advisors in the Navigator.
  2. Open a chart of the symbol you want to trade and drag Cockpit onto it.
  3. In the dialog, allow algo trading, then make sure the terminal's Algo Trading (MT5) / AutoTrading (MT4) button is on. If it is off, Cockpit refuses orders with Trade blocked (AutoTrading disabled).
  4. Keep chart shift enabled. Cockpit draws your orders in the empty area on the right of the chart, so it removes itself if chart shift is switched off.

Cockpit

Inputs

The EA's input window holds only the Magic Number and the hotkeys (section 13). Everything else is set inside Cockpit, in the Settings panel (section 10).

The default Magic Number is 0. With 0, Cockpit also manages trades you open elsewhere: the terminal's order window, one-click trading or the mobile app. It adopts the SL/TP you set on those trades but never forces its own automatic SL/TP/BE/trailing on them. Use a different number only when you want Cockpit to stay away from other trades on the same account.

One active Cockpit per symbol

You can attach Cockpit to several charts of the same symbol (for example M15 and H4). One of them is active and manages the trades; the others run passive: they keep the chart tools (Chart Menu, Cockpit scales, scale fix) but no trading panels. A small switch at the logo's place on a passive chart makes that chart the active one; the panel state moves with it. If the active chart is closed, the next one takes over automatically. On netting accounts the group is the symbol; on hedging accounts it is the symbol plus the Magic Number.

Where Cockpit keeps its files

In the terminal's data folder (File > Open Data Folder), under MQL5/Files/Cockpit Trade Manager/ (MT4: MQL4/Files/Cockpit Trade Manager/ ):

  • Logs: one log file per symbol, Magic Number, account and day (section 11)
  • Settings: saved per-symbol settings (section 10)
  • Snapshots: chart snapshots taken with the S key

2. A tour of the screen

Cockpit is made of seven areas plus a Settings panel. Hover over any button or field: every control has a tooltip that says what a click, Ctrl-click or Shift-click does.

  • Clock bar (top left): market status, clock, the Settings, Symbol Switcher, the Positions and today's P/L buttons
  • Logo and icons (bottom left): Logo (Info Panel), chart snapshot, hide/show amounts, Cockpit light/dark theme
  • Trade Panel (top right): the risk field, Sell and Buy quick market buttons, Flat, close/cancel buttons, basket exit, scale fix
  • Side Panel: how your next orders are built: SL, TP, BE, trailing stop, order options, and Auto Exit rules
  • Positions Panel: every position on the account with account figures, filters and bulk close buttons (section 8)
  • Strip: the band in the chart-shift area where orders are drawn, dragged and placed with the mouse
  • Chart Menu: price and time scales, chart info, chart lines, HTF bars, drawings, alerts, economic calendar (only MT5), crosshair (section 9)
  • Settings: Trade, Risk and Interface tabs (section 10)

A tour of the screen

Press I at any time for the Info Panel: a cheat sheet of every key and mouse action. The chart does not scroll while your mouse is over a Cockpit panel, and order lines cannot be picked up through a panel by accident.

Clock bar

  • Market status: Market open or closed, connection.
  • Clock: server time, or your own time zone if you set one in Settings.
  • Symbol switcher: previous and next arrows, or open the list of Market Watch symbols. A coloured dot beside a symbol shows you have positions there and whether they are in profit or loss; hover it for details.
  • Settings and Positions buttons open those panels.
  • Today's P/L: account-wide, all symbols and magics, for example Today: +82.40 USD (+0.82%).

Logo and icons (bottom left)

From left to right:

  1. Cockpit logo: opens the Info Panel, the cheat sheet of every key and mouse action (same as the I key).
  2. Snapshot: saves a picture of the chart to the Snapshots folder (same as the S key).
  3. Hide/show amounts: hides money values on screen, useful when you share screenshots or stream.
  4. Light/dark theme: switches Cockpit's panels between its light and dark look.

Trade Panel

The risk field sits on the left; to its right are the quick market Sell and Buy buttons (Sell on the left, Buy on the right), then Flat and the close buttons. The risk field shows the order size as a volume (lot), a % risk or a money risk.

  • Arrows left of the risk field: next / previous preset
  • Unit in the risk field: click to switch between volume, % risk and money
  • Arrow inside the risk field: choose from the preset list
  • Sell / Buy: click for a market order; Ctrl-click to reverse (close the opposite side, then open this one)
  • Flat: click to close all positions (flatten); Ctrl-click for a partial close by the manual partial %; Shift-click to close all positions and cancel all orders
  • Sell X / Buy X: click to cancel that side's pending orders; Ctrl-click to close that side's positions in profit; Shift-click to close that side's positions

Hovering Buy or Sell shows the size and risk before you click, for example 0.10 lot | Risk: ~25 USD. The Trade Panel also holds the basket exit button (section 7), the Side Panel show/hide button and the scale fix (F key).

3. Ways to open an order

There are four ways to open an order (the Trade Panel, the Strip, hotkeys and the RR tool), and all of them size it the same way, from the risk field and your stop.

Sizing: volume, % risk or money

  • Volume: a fixed lot.
  • % risk: a percentage of your equity, balance or free margin (Settings > Risk) lost if the stop is hit.
  • Money: a fixed amount lost if the stop is hit.

With % or money risk, Cockpit needs a stop to calculate the lot: either the Side Panel's automatic SL or a stop you click on the chart. Without one the order is cancelled with a clear message (for example Trade canceled (lot required: Turn on SL)). Lots are rounded to your broker's lot step and checked against its minimum and maximum. If the spread is above your maximum spread (Settings > Trade), new entries are blocked until it normalises.

All the ways at a glance

  • Trade Panel Sell / Buy: click → market order with the Side Panel's SL/TP
  • O O (press twice): click the SL level on the chart → market order, SL where you clicked
  • P P (press twice): click the entry, then the SL → pending order
  • Click the Strip: click the entry, then the SL → pending order
  • Click the Strip with volume sizing or Auto SL on: one click, left half sells, right half buys → instant pending order
  • Ctrl-click the Strip: one click → market order, SL at the clicked price
  • Shift-click the Strip: same as a click, but a grid → pending grid
  • Ctrl+Shift-click the Strip: one click → market grid, SL at the clicked price
  • R R (press twice): click entry, SL, then TP; adjust; click the send button → order from the RR tool (Shift-click send: grid)

Wherever you are asked for an SL, the TP follows the Side Panel's TP row: on with a value, it is placed automatically at that distance; on with the value set to 0, you are asked to click the TP too; off, the order has no TP. Cockpit picks a limit or stop order from where the entry sits relative to price. Press Esc (or the key again) to cancel any of these modes.

[GIF: Click to view]

Placing Pending

The RR tool

The RR tool lets you plan a trade on the chart before anything is sent. Press R twice, then click the entry, the SL and the TP. The tool draws the risk and reward zones with three boxes:

  • Entry box: the lot Cockpit would trade (from your risk field) and the order type, for example 0.25 BUY LMT or 0.25 SELL STP. It holds the Reverse and Remove buttons.
  • SL box: the distance in points; hover for the money at risk and the price.
  • TP box: the distance in points and the reward in R; hover for the money and the price.
  • Move the entry, SL or TP: drag its box or line
  • Move the whole tool, keeping its R: drag a zone
  • Keep the SL or TP where it is: click its pin; a pinned level stays put when you move the tool
  • Keep the risk:reward fixed: click Fixed RR in the SL box: the TP follows the SL at the same ratio (and the other way round)
  • Flip to the other direction: click Reverse, or drag the SL or TP past the entry
  • Make it a market entry: drag the entry onto the Ask (buy) or Bid (sell) line; it then follows price with the same R
  • Place the order: click the Send button at the tool's left edge
  • Place a grid: Shift-click Send
  • Remove the tool: click Remove, press Esc or press R again

RR tool

Grids

A grid places 2 to 10 orders at once instead of one, splitting the risk across them. Turn on GRD in the Side Panel to make every Trade Panel and Strip entry a grid, or use Shift-click for a single grid. Settings > Trade sets the order count, how the volume and spacing grow from order to order, and the spacing mode:

  • Fixed: the orders are spread between the entry and the SL.
  • ATR: gaps are measured from the reference ATR, and the grid's own SL is placed a set number of gaps beyond the last order.

4. The Side Panel

The Side Panel decides how every new order is built; orders that already exist are changed on the chart or in their Edit Order window (section 5). Drag its header to move it anywhere; the arrow collapses it.

Side Panel

NEW ORDER: SL, TP, BE and trailing stop

The coloured square beside each row switches that automation on or off for new orders.

  • SL: distance in points; click the small corner triangle to switch to ATR mode: the value becomes a multiple of the live ATR (14)
  • TP: distance in points; same ATR switch as SL
  • BE: buffer in points; how far beyond the entry the stop goes when break-even triggers
  • TR stop: method; Classic, Fractal, Previous Bar or ATR (below)

Trailing stop methods:

  • Classic (distance in points): stays a fixed distance behind price
  • Fractal (buffer): moves to the last fractal, plus the buffer
  • Previous Bar (buffer): moves to the previous bar's low (buy) or high (sell), plus the buffer
  • ATR (period 5-25, coefficient 1.00-3.00): stays ATR x coefficient behind price

The bar-based methods also take a timeframe: Entry TF (the timeframe the order was created on), Current TF, or a fixed one.

The starting values come from Settings > Trade, as multiples of the reference ATR, so the same settings fit EURUSD, gold or an index.

Order options

The row of small buttons at the bottom of NEW ORDER changes how new orders are placed. Each applies only to orders created while it is on.

  • STH (Stealth pending): new pending orders are kept by Cockpit, hidden from the broker, and sent as market orders when price reaches them
  • STS (Stealth SL/TP): SL and TP of new orders are kept by Cockpit, hidden from the broker, and executed by Cockpit
  • GRD (Grid): Trade Panel and Strip entries open a grid (section 3)
  • AL (Activation level): a new pending order waits for price to reach an activation level you set before it becomes live (pending orders only)
  • CS (Cancel same-side): when one pending fills, your other pendings in the same direction but of the other type (stop vs limit) are cancelled
  • CO (Cancel opposite): when one pending fills, your pendings in the opposite direction are cancelled (one-cancels-other)
  • RV (Reverse): when the order opens (or a pending fills), your positions in the opposite direction are closed

Stealth levels and activation levels work only while your terminal is running and connected; use a VPS if you rely on them. Triggered stealth orders and stealth exits fill at the price available, like a broker stop.

AUTO EXIT

The lower half of the Side Panel holds your Auto Exit rules (section 7).

5. Managing orders on the chart

Every order is drawn on the Strip as an entry box with its SL, TP and other levels; you manage it with the mouse, and Ctrl-click on the entry box opens its full Edit Order window.

Managing pending

Mouse actions

  • Move entry, SL or TP: drag its line
  • Add an SL or TP to an order that has none: drag out from the order box
  • Close a position / cancel a pending order: click its X
  • Partial close a position: Ctrl-click its X
  • Set a cancel level on a pending order: Ctrl-click its X
  • Add a partial TP / remove the last one: click TP / Ctrl-click TP
  • Instant break-even (position in profit): Ctrl-click BE
  • Remove the last partial TP, BE trigger, trailing trigger, cancel level or activation level: Ctrl-click its line
  • Reverse a position or order: click its reverse button
  • Open the Edit Order window: Ctrl-click the entry box
  • Trade history info boxes (see below): click / Ctrl-click / Shift-click an arrow

A dragged level goes to the broker only when you release the mouse; until then the old level stays in force and every automation keeps running. If the broker refuses the change (for example when price is inside its stop or freeze distance), the line goes back and a notification says why.

Break-even and trailing triggers

Break-even moves the stop to the entry plus the BE buffer; the trailing stop then follows price by its method. Both start at a trigger line you can see and drag:

  • BE trigger: 1R from the entry (R = entry-to-SL distance), or halfway to the TP when the TP is closer than 1R.
  • Trailing trigger: 1.5R from the entry, or 75% of the way to the TP when the TP is closer.
  • With no SL and no TP, both are placed at a multiple of the ATR.

If a position is already in profit when you add a trigger, it is measured from the current price, so it never fires the moment it is set. The BE trigger always stays behind the trailing trigger.

Partial take-profits

Each order can have up to four partial take-profits (TP1-TP4). Each one closes a percentage of the remaining lot when price reaches it; the default percentages are in Settings > Trade and can be changed per order in the Edit Order window. If a partial would leave less than the broker's minimum lot, the whole position is closed and you are told so.

The Edit Order window

Ctrl-click an order's entry box to edit everything about that one order:

  • SL and TP, in points or as an ATR multiple
  • BE buffer, trailing method and its timeframe
  • Stealth: make a broker order stealth, or send a stealth order or its SL/TP to the broker
  • CS, CO, RV and activation level for this order
  • The percentage of each partial TP
  • Expiry for a pending order, or Close at for a position: pick a date and time and Cockpit cancels or closes it then

Edit Order

Closing

Apart from the X on each order, use the Trade Panel's Sell X / Buy X and Flat buttons (section 2) or the Positions Panel (section 8). All automated closes (stealth levels, trailing, partial TPs, basket exits, Auto Exit) execute at the price available, like a broker stop; they never skip a close because of slippage.

Reversing a position

There are three ways to turn a position around:

  • Reverse button on the order's entry box: the position is closed and the opposite side opens with the same lot; its SL and TP are placed at the same distances from the new entry (none if it had none). BE, trailing and partial TPs start fresh. In Accumulated mode the reverse button of the combined position closes the whole side and opens the opposite side with the total lot.
  • Ctrl-click Buy or Sell on the Trade Panel: all positions on the opposite side are closed, then a new order opens, sized by your risk field and built with the Side Panel's settings. The tooltip offers this only when there is something to reverse.
  • RV in the Side Panel: automatic: when a new order opens (or a pending fills), the opposite positions are closed (section 4).

If the close fails, nothing new is opened. On netting accounts the existing position is always closed first, then the new one opens.

Trade history arrows and info boxes

With trade history on (Settings > Interface), each trade is drawn on the chart with entry and exit arrows, live trades included. The arrows open info boxes with the trade's story: direction and lot, entry, every exit (partial exits included), whether it ended at SL or TP, points and P/L.

  • Show one trade's box: click its entry or exit arrow (click again to hide)
  • Pin a trade's box (several can stay open): Ctrl-click its arrow (again to unpin)
  • Pin all trades' boxes / close them all: Shift-click any arrow
  • Move a pinned box: drag it; a leader line keeps it tied to its entry
  • Close a pinned box: Ctrl-click the box (when all are pinned, this closes them all)

A moved box keeps its new place for the session; once closed, it reopens at its default spot next to the entry.

Trade History

6. Position modes: Individual and Accumulated

Choose in Settings > Trade whether Cockpit manages each trade on its own or all trades in one direction as a single position.

  • Individual: what you see: one set of lines per trade; SL / TP: each trade has its own; best for: separate ideas on the same symbol
  • Accumulated: what you see: one combined set of lines per direction, plus an average-price line; SL/TP: one SL and TP shared by every trade in that direction; best for: scaling in and out of one idea

When you add to a position

When a new trade joins an existing position (in Accumulated mode, or on a netting account), the SL and TP are decided per field:

  • If the Side Panel's automatic SL (or TP) is on, the new level is calculated from the new average entry and replaces the old one.
  • If it is off, the level you already have is kept.

Risk-based sizing for the added trade uses the stop that will apply after it joins. If there is no stop at all, the trade is not opened.

On netting accounts the broker itself keeps one position per symbol, so Cockpit works in Individual mode there and the Accumulated option is locked.

Changing the mode while trades are open resets their BE, trailing stop and partial TPs; their SL and TP stay.

7. Basket exits and Auto Exit

Basket exits close a whole group of trades at one price; Auto Exit closes or locks trading when an account-level condition is met.

Basket exit lines (PE / NE)

Place a PE (profit exit) or NE (negative exit) line on the chart to close every position on that symbol when price reaches it. This is the quickest way to put one stop and one target on a group of trades with different entries.

  • The line also writes itself into the broker-side SL or TP of the positions, including positions you open later, so you are protected even if your terminal disconnects.
  • Once triggered, Cockpit keeps closing until no position is left, at any price.
  • Pending orders are not cancelled by a basket exit.
  • Remove the lines and the broker-side levels they set are cleared; your other SL or TP stays as it was. In Accumulated mode with positions in one direction only, the levels are kept as that side's SL and TP.

Basket Exit (PE-NE)

Auto Exit rules

Auto Exit watches your account and acts on its own: it closes positions, or only alerts you, when a rule's condition is met. Click + Add rule in the Side Panel, start from a preset or build the rule yourself, and save it.

Auto Exit - New Rule Action

A rule has four parts:

  • Metric: P/L of the positions in scope · Equity (balance + open P/L) · Margin level (equity / used margin, %) · Time (a server time on the days you pick)
  • Period (P/L only): Open: open positions only · Trade: since the first position opened from flat, partial closes included · Day / Week / Month: since 00:00 server time / Monday / the 1st, closed and open trades together
  • Condition: at or below, or at or above, a value in money or % (Margin level: at or below only)
  • Action: Close all · Close losing: only positions in loss · Close worst: the most losing position, one every 5 sec while the condition holds · Alert only: closes nothing

Two toggle switches set the scope. All trades makes the rule account-wide: every symbol and magic number, other EAs and manual trades included; without it the rule covers this chart's symbol and Magic Number. Pendings also cancels pending orders (stealth ones included) when the rule closes positions; it works with Close all and Close losing.

Every fired rule writes a log line, shows an on-chart notification and sends a push notification to your phone (if push is set up in Tools > Options > Notifications).

A sound plays for Alert only rules and when positions are closed. If push is not set up, Cockpit notes it once in the Experts tab.

Presets

  • Daily loss: closes all when today's loss reaches 3%, then blocks trading until the day ends
  • Daily target: closes all when today's profit reaches 2%, then blocks trading until the day ends
  • Weekly loss: closes all when this week's loss reaches 5%, then blocks trading until the week ends
  • Equity floor: closes all when equity falls 10% below its current level, then blocks trading
  • Basket stop: closes all when the open positions lose 2% together
  • Basket gain: closes all when the open positions gain 1% together
  • Lock profit: once the open positions gain more than 0.5%, closes all if the gain falls back to 0.5%
  • Loss rescue: closes all when a loss deeper than 1% shrinks back to 1%
  • Margin guard: closes the most losing position every 5 sec while the margin level is at 150% or below
  • Friday close: closes all on Friday at 21:00 server time, before the weekend gap

Every value in a preset can be changed before you save.

Locks

After a closing rule fires on a day, week or month P/L, trading is locked until the period ends (for example until 00:00 server time); Equity rules lock while the condition holds. While locked, Cockpit's order buttons refuse new orders and positions opened elsewhere are closed. Pausing and resuming the rule ends the lock.

Each chart holds up to 10 rules (five are shown at once, the rest scroll). All trades rules appear on every Cockpit chart and count toward each chart's limit. After a terminal restart, the rules come back paused so you can review them before resuming.

8. Positions Panel

The Positions Panel shows every open position on the account in one sortable list, with the account's figures and buttons that close whole groups at once. Open it from the Clock bar.

Positions Panel

  • Account figures: balance, equity, margin, free margin, margin level and the total net P/L.
  • Filters: a symbol list (all symbols or one) and a magic filter: All (Cockpit, other EAs and manual trades), Manual (trades opened by hand in the terminal, mobile or web) or one magic number. The buttons below act only on what the filters show.
  • Columns: Symbol, Magic, Type, Lot, Duration, Points, Net P/L, % and a close button per row. Click a column header to sort by it. Long lists scroll (with the mouse wheel on MT5).
  • Flat: click to close all positions (Shift-click also cancels pending orders); Ctrl-click for a custom close
  • Close Buy: click to close buy positions; Ctrl-click for a custom close
  • Close Sell: click to close sell positions; Ctrl-click for a custom close
  • Close Profit: click to close positions in profit; Ctrl-click for a custom close
  • Close Loss: click to close positions in loss; Ctrl-click for a custom close

Custom close closes the percentage set in the panel's Custom close (%) field instead of the whole position, so you can take half off a group in one click.

9. Chart Menu, drawings and alerts

The Chart Menu gathers Cockpit's chart tools in one place; open it by clicking the corner under the price scale, at the bottom right of the chart. It also works on passive charts (section 1).

Chart Menu

Scales

  • Cockpit price scale: replaces the terminal's price scale with Cockpit's own
  • Reset price scale: back to automatic scaling
  • Order prices on scale: shows your order levels on the price scale (Cockpit price scale only)
  • Magnet to round levels: Strip clicks snap to a nearby round level
  • Cockpit time scale: replaces the time scale; it can show your custom time zone
  • Reset time scale: back to the latest bar
  • Go to: jumps the chart to a date and time you pick

The F key locks the vertical scale (scale fix), and its + / - buttons zoom it.

What the chart shows

  • Chart info: bid/ask lines, bar countdown, watermark (symbol, date and/or your own text)
  • Chart bars: higher-timeframe bars as an overlay on the chart, or as side bars to the right of it
  • Chart lines: round levels (00 / 50) · period levels: day, week and month opens; current and previous H4, day, week and month high/low; average daily range · period separators (H4, day, week, month) · sessions: standard sessions, killzones, Asia / London / New York highs, lows and starts, regular trading hours · Fib levels of the previous day, week or month range · pivots (daily, weekly, monthly)
  • Economic calendar (MT5): today's events of the symbol's currencies as pins on the chart, filtered by priority (high, medium and high, or all); click a pin for actual, forecast and previous values. Shown up to H1
  • Cockpit crosshair: Cockpit's own crosshair (C key)

Round levels come in two looks: short lines with their price labels at the right, or long lines running across the whole chart with the labels at the left. Double-click any round level line to switch between them.

HTF side bars carry a timeframe label above and below each group: click it to step to the next higher timeframe, Ctrl-click to go back to the previous one. Next to the bars, a countdown shows the time left until the next bar.

Drawings

  • Horizontal line: press Z, click the level
  • Zigzag: press Z twice, click the points, double-click to finish
  • Make the selected trendline horizontal: H
  • Open the drawing toolbar (colour, line, options, visibility): Shift-click it
  • Delete one drawing: press X, click it
  • Delete all drawings: in delete mode, Shift-click any drawing
  • Measure a distance: Shift-click the chart; click to fix the end, again to clear

The Drawings row of the Chart Menu shows or hides them, sets on which timeframes new drawings appear, syncs them across charts of the same symbol (on hedging accounts, also the same Magic Number), and deletes them all.

Quick drawing with the Z key

The Z key draws lines without opening MetaTrader's toolbar, on active and passive charts alike:

  • Press Z once: horizontal line mode. Click a level and a horizontal trendline is placed there; its right end stays on the current bar as new bars form.
  • Press Z twice: zigzag mode. Click point after point to draw connected trendline segments; double-click (or press Z) to finish.
  • Magnet: while you draw, a click within 10 pixels of a bar's open, high, low or close snaps to that price.
  • Esc cancels either mode.

The lines are ordinary MetaTrader trendlines, so delete mode, drawings sync and the drawing toolbar all work on them.

The drawing toolbar (Shift-click a drawing)

Shift-click any drawing on the chart (one of yours, Cockpit's quick lines or a MetaTrader object) to open a small toolbar beside it:

  • Color: a palette of colours, or a custom one
  • Line: style (solid, dash, dot, dash dot, dash dot dot) and width
  • Options: extend to the left, extend to the right, fill the shape, draw in the background (only those the drawing supports)
  • Visible on: this timeframe and lower, this timeframe and higher, this timeframe only, all timeframes, or the Chart Menu rule

The toolbar closes by itself if you leave it unused. In delete mode (X), Shift-click deletes all drawings instead.

Toolbar

Alerts

Press A and click a level for a price alert, or press J and click a trendline or other drawing to alert when price touches it. Ctrl-click an alert to delete it, Shift-click to delete all. The Alerts row of the Chart Menu mutes them or deletes them all (drawings stay).

Other chart helpers

  • Change timeframe: type the minutes (for example 15 or 240) or D, W, M, then press Tab.
  • Time tooltip: click the time scale to see server and local time.
  • Snapshot: S saves a picture of the chart to the Snapshots folder.

10. Settings

Open Settings from the Clock bar. It has three tabs (Trade, Risk and Interface), and every field has a tooltip with its range and current effect.

Settings - Trade

How settings are saved

  • Settings marked * belong to the chart's symbol. Apply uses them for this session only; Save writes them to the symbol's file so they load next time.
  • Unmarked settings are shared: they apply to every Cockpit chart at once (sizing settings per account).
  • Cancel discards your changes. The Save / Load / Reset menu saves to file, loads from file, or restores factory defaults.

Distances follow the market: the reference ATR

Most distances are set as multipliers of a reference ATR, not as fixed points. A multiplier of 1.50 with an ATR of 140 points gives 210 points, rounded to a tidy 200. This is why one set of settings behaves sensibly on EURUSD, gold, indices or crypto. The reference ATR's timeframe and period are set in the Trade tab, and you can refresh it there.

Trade tab

  • Position mode*: Individual or Accumulated (section 6)
  • Max slippage multiplier*: allowed slippage for market orders and closes, x reference ATR (ignored on market-execution accounts)
  • Max spread multiplier*: new entries are blocked when the spread is above this multiple of the symbol's typical spread (0 = off)
  • Initial SL/TP multiplier*: starting SL and TP distances in the Side Panel
  • Initial BE/TR stop multiplier*: starting BE buffer and trailing distance
  • ATR timeframe / period*: the reference ATR behind all multipliers
  • Partial close on TP1-TP4 (%): share of the remaining lot each partial TP closes
  • Manual partial close (%): share closed by Ctrl-click on an X or on Flat
  • Grid count, volume / spacing progression, spacing mode: grid orders (section 3); ATR mode adds ATR step and SL steps

Risk tab

  • Sizing modes: which modes the risk field offers: volume, % risk, money
  • Default mode: the mode the Trade Panel starts in
  • Risk calculation base: % risk of equity, balance or free margin
  • Volume presets*: first lot and the step added for each next preset
  • Risk % presets: first % and the step to the next
  • Money presets: first amount and the step to the next

Interface tab

  • Buy / sell / TP / SL colors: colours of orders and levels
  • Chart theme: 24 chart themes, 12 light and 12 dark, or keep your current colours
  • Interface size: Auto (follows your screen scale), 90%, 100%, 110%, 125% or 150%
  • Order display / offset: orders in the chart-shift area only, or extended over the chart, with the offset in pixels
  • Values shown as: P/L in money, points or %
  • Trade history / lookback: arrows for closed and live trades on the chart, closed trades from the last 1-30 days
  • Chart watermark / custom text: symbol and timeframe, server date, and up to 40 characters of your own text
  • Server (broker) time: the server's UTC offset and summer time rule (None, US or EU); Calibrate reads it from the live server time
  • Custom time / custom timezone: show your own time zone on the clock and/or time scale, with its UTC offset and summer time rule
  • Sounds: sounds on actions on or off

11. Logs and the end-of-day report

Cockpit writes a plain-text log of everything it does, one file per symbol, Magic Number, account and day, and closes each day with a P/L report that matches your broker statement.

You find the logs in the terminal's data folder (File > Open Data Folder), in the Cockpit Trade Manager/Logs folder (section 1). Files older than 10 days are removed automatically.

What a log contains

  • A header with your account, account type and the broker's limits (minimum stop distance and freeze level), which explains most "invalid stops" errors at a glance.
  • One line per action: entries with their slippage and the broker's real commission, modifications, partial and full closes with their P/L, and every automated action (break-even, trailing, CS/CO/RV, basket exit, Auto Exit).

The end-of-day report

At the end of each trading day Cockpit appends a summary: trades, wins and losses, and a final line such as:

Total net P/L: +21.30 (gross +24.10, comm -2.80 round-turn)

Commission is read from the broker's own records, whether your broker charges it on entry, on exit or both, so the total matches your statement. The report also arrives on Fridays without waiting for Monday's first tick. If your terminal was closed at the day's end, the missing report is written the next time Cockpit starts, marked (delayed).

12. MT4 and MT5: what differs

The panels, buttons and rules are the same on both platforms; the differences come from what each platform allows.

  • Strategy Tester (free demo): MT4: the panel is not shown in the tester; try it on a demo account instead. MT5: runs in the visual tester, so you can try it before buying.
  • Account types: MT4: hedging. MT5: hedging, netting and exchange.
  • Mouse-wheel scrolling in lists: MT4: not available (MT4 does not send wheel events). MT5: Positions Panel and symbol list.
  • End-of-day report on quiet days: MT4: written after 20 minutes without quotes late in the server day; a final version follows at day change if trading resumes. MT5: written exactly at the server's day change, even without quotes.
  • Economic calendar (Chart Menu): MT4: not available (MT4 has no built-in calendar). MT5: event pins on the chart.

Netting and exchange accounts (MT5)

Cockpit detects the account type on start and shows it in the Clock bar. On these accounts the broker keeps one position per symbol, so Cockpit runs in Individual mode, allows one Cockpit per symbol, and closes part of a position by sending an opposite order. Ctrl-click reverse closes the existing position first, then opens the new one.

13. Keyboard shortcuts

Every shortcut can be changed in the inputs, and Cockpit warns you if two actions share the same key.

  • O: market entry: press twice to place it (press once more or Esc to cancel)
  • P: pending entry: press twice to place it (press once more or Esc to cancel)
  • R: risk/reward tool: press twice to open (Esc to close)
  • I: Info Panel with the shortcut list (press again or Esc to close)
  • A: set a price alert (press again or Esc to cancel)
  • J: set an alert on a chart object such as a trendline (press again or Esc to cancel)
  • F: toggle scale fix
  • C: Cockpit crosshair (press again to turn off)
  • S: chart snapshot
  • Z: draw a trendline: press once for horizontal, twice for zigzag (Esc to cancel)
  • H: make the selected trendline horizontal
  • X: delete drawings mode (press again or Esc to cancel)

Forgot a key? Press I to see them all on the chart.

14. FAQ

Does Cockpit work with my broker and symbol? Yes. Lots follow your broker's step and limits, and default distances are multiples of the symbol's reference ATR (section 10), so the same settings behave sensibly on EURUSD, gold, indices or crypto.

Will it touch trades from my other EAs? Only if they use the same Magic Number as Cockpit. With the default 0, Cockpit manages manual trades; give Cockpit and your other EAs different numbers to keep them apart.

What happens if I close the terminal? SL and TP stored at the broker, including those written by basket exit lines, stay in force. Stealth orders, stealth SL/TP, trailing, partial TPs and Auto Exit need a running, connected terminal; use a VPS if you rely on them.

Can I run it on several charts? Yes, one Cockpit per chart. The Positions Panel on any chart shows all positions on the account.

Cockpit disappeared from my chart. Why? Most likely chart shift was turned off. Turn it back on and attach Cockpit again.

I get a message that a level cannot be changed. Price is closer to the level than your broker allows (its stop or freeze distance). Cockpit tells you instead of retrying; move the level further away or wait.

I downloaded the MT4 demo and see no panel. Why? The MT4 Strategy Tester cannot show Cockpit's panel, so the MT4 demo stays empty. The MT5 demo runs in visual mode and shows everything; the panels and workflow are the same on both platforms.

Support

Ask questions in the product's Comments tab or send me a private message on MQL5. I read every message, and feature requests from users shape the updates.

Trading involves risk. Cockpit is a tool for executing and managing your own decisions; it does not provide signals or guarantee results.