Quicktip 68 | Identifying what order was filled

2 years ago
6

A Gold Pass (https://markplex.com/markplex-members...) member asked for help with identifying what order was filled and asked: “Is there a way to identify the name of the last order filled?”

_Quicktip68 demonstrates how to create a simple order ticket and bracket order ticket. The order ticket is sent if current bar close is less than open. Target and stop order tickets are placed a number of ticks away from the average entry price. This program is based on tutorial 169.

When the order ticket is filled an order update event updates the bracket order using the average filled price for the order ticket. It then sends the bracket order ticket. It also prints information about the order.

The quick tip also use an OrdersProvider and its update event to print information when an order is filled.

THIS INDICATOR IS A SIMPLE DEMONSTRATION. ONLY USE ON YOUR SIMULATED ACCOUNTS.

See https://markplex.com/quick-tip-68-identifying-what-order-was-filled/

Loading comments...