-
Gets the order direction as a signal enum – signallong, siignalshort, signalexitlong, signalexitshort, signalbuy, signalsell
Usage –
local orderdir = CC_GetOrderDirection(orderId)
or
local orderdir = CC_GetOrderDirection(orderId, PositionId, PriceMarket())