ExitAllUnitsOnClose

Top  Previous  Next

Exits all units for the current instrument on the next close. This function is generally used by an Exit Block to close out a position.

 

Syntax

 

ExitAllUnitsOnClose

 

Parameters

none

 

this function does not take any parameters

 

Example

' Enter the market on the next open.

broker.ExitAllUnitsOnClose