Property <Object_Name>.executionType returns the text description of how this order will be executed when brokered.  Order execution property value is controlled by the Broker Object function used to generate the order.


Prefix "Object_Name" can be order or alternateOrder, when an order is being accessed outside of a script when instruments are in context.


Execution Types:

Execution Requirements

at Market

All these order types are “at Market” executions that will happens when the order is given to your brokerage.

on Open

on Close

on Stop

Execution happens when Stop Price Conditions are enabled by the market.

on Stop Close

on Stop Open


Execution happens when Limit Price Conditions are enabled by the market.

on Limit Open

at Limit Close



Trading Blox order execution types are controlled by which Broker Object function is selected for generating the order.


Information about what order execution is active is available by accessing property with Order Object or AlternateOrder Object this way: <object_name>.executionType


'  Send Order's execution method to Print Output.csv file
Print order.executionType



Any one of the execution type names listed in the table above.


Alternate Order Object:

Access to Order Object properties and functions in other scripts is made possible by using the AlternateOrder Object as the prefix ahead of the "." property or function. AlternateOrder Object is discussed below.



Always check to be sure the order is available after a Broker function call using the system.orderExists function prior to accessing it.


Using the alternateOrder object when orders are not in context will provide the same access as the Order object.  However, the alternateOrder object must be brought into context using the system.SetAlternateOrder object function prior to any attempt to use is properties and functions.


Once orders are brought into context their properties and function are available to reference and changes.




Created with Help & Manual 7 and styled with Premium Pack Version 2.80 © by EC Software