Functions by Category Functions by Alphabetical list
LongPosition |  | This function returns true if the current symbols position is long.Examples: if (LongPosition) {
#If we have a long position, close it.
PlaceSellOpen('Closing the long');
}
Related functions: Position , NoPosition , ShortPosition , NumOfPositions , PositionType , PositionValue , PositionQuantity , MaxPriceSinceEntry , MinPriceSinceEntry , MaxClosePriceSinceEntry , MinClosePriceSinceEntry , BarsSinceEntry , OpenProfit , EnterPrice , EnterDate , AccPosition , AccNoPosition , AccLongPosition , AccShortPosition , AccNumOfPositions , AccPositionType , Positions , AccPositions , Contracts , Units , Shares , SystemOpenProfit , AccountOpenProfit , PositionsOverview , PositionOrderOverview , PositionsOrdersOverview , AccPositionsOverview , AccPositionsOrdersOverview
|