|
Entry Order Filled Script |
Top Previous Next |
|
The Entry Order Filled script is called each time an entry order is filled. This script lets you perform any calculations or take actions that depend on the fill price or fill dates for an order.
The Turtle System uses this script to adjust stops for existing positions based on the slippage of an actual fill.
This script has full access to the Order object properties.
All scripts of this type in a System will be called each time an entry order is filled. To check if the current block is the same as the block originating the order, use the following:
IF block.name = order.blockName THEN |