|
ExitAllUnitsAtLimitOpen |
Top Previous Next |
|
Exits all units for the current instrument on the next open if it is higher than the limit price for long positions or lower than the limit price for short positions. This function is generally used by an Exit Block to close out a position.
Syntax
ExitAllUnitsAtLimitOpen( limitPrice )
Parameters
Example ' Exit all units on the next open if it trades through our limit. broker.ExitAllUnitsAtLimitOpen( limitPrice ) |