Built-in Functions
Structures
Built-in Variables and Constants
Conventions
Exchanges
PD_SHORT
A short position; the value is 1. Used in the Type field of the Position structure.
Type
number
See Also
Remarks
To close a short position, set the direction with exchange.SetDirection("closesell") and then place a buy order.