Order and position lines drawn on the chart

Senzoukria paints the broker position and every working order as horizontal lines on the chart, each labelled with its price and the money at stake, each with a close button, and each draggable to modify or create an order.

Senzoukria · Documentation · Updated September 2026


Where to find it

Where
On the footprint chart in Tracker mode, above the drawings layer
Line identifiers
broker:entry, broker:sl, broker:tp and broker:ord:<order id>
Persistence
None — broker lines are ephemeral and never restored at restart
Position label setting
Position labels, placed Left, Centre or Right (default Right)
Drag commit
On mouse release, or after 350 ms without movement
Feedback
An order toast over the chart, 2.6 s on success and 9 s on refusal

What it does

With a position open, an entry line is drawn at the average price and labelled with the side, the size and the unrealised result rounded to the dollar, for example "LONG 2 · +$48". Rounding to the dollar is deliberate: to the cent the label would change on every position publication, which means a drawing write per tick.

The current stop and the current target are drawn as separate dashed lines labelled with their price and the money at stake, computed from the entry price rather than from the market. "SL 29593.00 · −$78" is a decision; a bare price is not. The quantity comes from the order when the broker states one, otherwise from the position, because some frames omit it and showing a zero-sized stop on a live order is worse than showing nothing.

Every other resting order is drawn too, keyed by its own order id and labelled with side, type, remaining quantity and price, for example "BUY LMT 2× 29450.00". These lines do not require an open position: a buy limit placed below the market while flat must be visible, otherwise the chart stays silent after the click.

Each line carries a permanently visible close button. Cancelling an order is one click; the line does not have to be selected first. The entry line's button closes the position.

Dragging a line

What each drag gesture means
SettingDefaultWhat it changes
Drag an order linemodifyMoves that order to the dropped price, restating its original order type
Drag the entry line below a longcreate a stopPlaces a protective stop at the dropped price
Drag the entry line above a longcreate a targetPlaces a take-profit at the dropped price; a short is the mirror image
Drop on the entry itselfno actionReported as dropped on the entry, nothing is sent
Drag a market orderno actionA market order has no level to move
Commit delay350 ms of stillness, or the mouse release signalWhen the modification is actually sent to the broker
Position labelsRightWhere the LONG, SL or TP pill sits on its line: Left, Centre or Right

How to use it

  • Drag a stop line to move the stop; release the mouse and the modification leaves immediately rather than after a timer.
  • Pull the entry line down under a long to create a stop, or up to create a target. The side is deduced from the position, never from the direction of the mouse.
  • Click the cross on any line to cancel that order, or on the entry line to close the position.
  • Read the toast over the chart: successes clear quickly, refusals stay long enough to read the gateway's raw message, and clicking dismisses either.

Limits and pitfalls

While a line is being dragged or its modification is in flight, reconciliation leaves that line where you put it. Without that rule the next feed tick would drag it back to the old price mid-gesture.

Broker lines are excluded from drawing persistence. If they were saved they would come back at restart frozen at the price of a closed position.

Only one stop and one target are drawn per position: the ones that would be reached first. A deliberate scale-out at several prices shows a single target line.

Some brokers modify an order by cancelling and recreating it, which changes the order id. The line is rebuilt from the new order rather than following the old one.

This page in other languages

Frequently asked questions

Why did my line snap back while I was moving it?
It should not while the gesture is in progress or in flight. If the feed moves it afterwards, the broker refused the modification or replaced the order with a different id; the toast over the chart carries the gateway's message.
Why is the amount on my stop different from what I expected?
The label is computed from the position's average entry price, the contract specification and the order's stated quantity. It is the risk actually taken, not the distance from the current market price.
Can I hide the pills on the lines?
Their placement is a setting — Left, Centre or Right — with Right as the default. The line itself always carries its label.

Keep reading