Built-in Functions
Structures
Built-in Variables
PD_LONG
PD_LONG is the value of the Type property in the Position structure, representing a long position type.
Type
number
See Also
Remarks
The value of PD_LONG is 0.
For long positions in futures markets, use exchange.SetDirection("closebuy") to set the closing direction to close this type of position.