PineHookPineHook

Open Positions

View and manage trades currently open in your MT5 account from the PineHook dashboard.

Video walkthrough coming soon

The Open Positions page shows every trade that is currently open in your MT5 account, updated in real-time as your EA reports back. You can close positions and modify stop loss / take profit levels directly from here — no need to open MetaTrader.

What Appears Here#

The table lists each open trade with the following information:

ColumnWhat it shows
TicketMT5 order ticket number
LicenseWhich license (EA) opened the trade
SymbolThe trading instrument
TypeBuy or Sell
LotsPosition size
Open PricePrice at which the trade was entered
SL / TPCurrent stop loss and take profit levels
Unrealized P&LCurrent profit or loss in account currency
Open TimeWhen the trade was opened

Unrealized P&L updates live as prices move.

Filtering Positions#

If you have multiple licenses or trade many instruments, use the filter bar to narrow the view:

  • By license — show only positions for one MT5 terminal
  • By symbol — pick an instrument from the dropdown to filter

Closing a Position#

  1. Find the trade you want to close in the table.
  2. Click the Close button in that row.
  3. A dialog opens. Choose whether to close the whole position or only part of it: switch between Percentage (1-100%, with 25/50/75/100% shortcuts) and Lots mode, then click Close Position.

The dashboard sends a ticket-targeted close command to the EA for that specific position. The EA closes the requested amount at market; once confirmed, the row updates to the reduced size, or disappears from the table when the position is fully closed.

Market execution

Positions are closed at the current market price. There is no option to set a specific close price from the dashboard — use a limit order from MT5 directly if you need that.

Modifying Stop Loss and Take Profit#

  1. Click the Modify button (pencil icon) on any position row.
  2. A dialog opens showing the current SL and TP values.
  3. Enter the new stop loss and take profit as absolute price levels (for example, 1.05000).
  4. Click Apply Changes. The command is sent to your EA and the new SL/TP take effect once the EA confirms the modification.

Leave a field empty to keep its current value. The dialog rejects 0 or negative values, and you must set at least one of the two fields to save.

Move to breakeven

To move the stop loss to breakeven, enter the position's open price (shown in the same row of the table) into the SL field. Or, from a TradingView alert, use the breakeven webhook command. See Signal Commands for syntax.

When the Table is Empty#

If the table shows no positions:

  • Your account has no open trades at the moment — this is normal when markets are closed or your strategy hasn't entered yet.
  • The EA may be disconnected. Check the connection status on the Overview page. Positions are not visible when the EA is offline, because the server relies on the EA to report them.

Next Steps#

  • Signal Logs — See the close signal that was recorded when you close from here
  • Signal Commands — Learn about closelong, closeshort, and modify commands