Skip to content

Quick-tip 68 | Identifying what order was filled

A Gold Pass 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.

In the second video two slightly modified versions of the program are applied to the chart. Information about both trades are displayed by using the order indexes. The video also shows how to get order information using a specific order identification code. 

Also see Tutorial 159 

Part of the _Quicktip68 indicator
Part of the _Quicktip68 indicator

Video explanation of quick-tip 68

Video explanation of quick-tip 68

In this second video a second program is applied to the chart generating another trade. Information about both trades in printed in the print log.

Download the quick-tip 68 TradeStation EasyLanguage indicator for Gold Pass members

If you are a Gold Pass member you can download the tutorial ELD file below, please make sure that you are logged in with your Gold Pass user name and password.

This content is for members only.

THE TRADING APPS, INDICATORS, SHOW ME STUDIES, STRATEGIES AND OTHER PROGRAMS HAVE BEEN INCLUDED SOLELY FOR EDUCATIONAL PURPOSES.

TO THE BEST OF MARKPLEX CORPORATION’S KNOWLEDGE, ALL OF THE INFORMATION ON THIS PAGE IS CORRECT, AND IT IS PROVIDED IN THE HOPE THAT IT WILL BE USEFUL. HOWEVER, MARKPLEX CORPORATION ASSUMES NO LIABILITY FOR ANY DAMAGES, DIRECT OR OTHERWISE, RESULTING FROM THE USE OF THIS INFORMATION AND/OR PROGRAM(S) DESCRIBED, AND NO WARRANTY IS MADE REGARDING ITS ACCURACY OR COMPLETENESS. USE OF THIS INFORMATION AND/OR PROGRAMS DESCRIBED IS AT YOUR OWN RISK.

ANY EASYLANGUAGE OR POWERLANGUAGE TRADING STRATEGIES, TRADING APPS, SIGNALS, STUDIES, INDICATORS, SHOWME STUDIES, PAINTBAR STUDIES, PROBABILITYMAP STUDIES, ACTIVITYBAR STUDIES, FUNCTIONS (AND PARTS THEREOF) AND ASSOCIATED TECHNIQUES REFERRED TO, INCLUDED IN OR ATTACHED TO THIS TUTORIAL OR PROGRAM DESCRIPTION ARE EXAMPLES ONLY, AND HAVE BEEN INCLUDED SOLELY FOR EDUCATIONAL PURPOSES. MARKPLEX CORPORATION. DOES NOT RECOMMEND THAT YOU USE ANY SUCH TRADING STRATEGIES, SIGNALS, STUDIES, INDICATORS, SHOWME STUDIES, PAINTBAR STUDIES, PROBABILITYMAP STUDIES, ACTIVITYBAR STUDIES, FUNCTIONS (OR ANY PARTS THEREOF) OR TECHNIQUES. THE USE OF ANY SUCH TRADING STRATEGIES, SIGNALS, STUDIES, INDICATORS, SHOWME STUDIES, PAINTBAR STUDIES, PROBABILITYMAP STUDIES, ACTIVITYBAR STUDIES, FUNCTIONS AND TECHNIQUES DOES NOT GUARANTEE THAT YOU WILL MAKE PROFITS, INCREASE PROFITS, OR MINIMIZE LOSSES.