Functions by Category Functions by Alphabetical list
Position |  | This function returns true if there is a position for the current symbol. Examples: if (not Position) {
#We don't have a position, do entry logic
BuyOpen if Crossover(EMA(Close,13),EMA(Close,26));
}
else {
#We do have a position, do exit logic
SellOpen if Crossunder(EMA(Close,13),EMA(Close,26));
}
Related functions: NoPosition , LongPosition , 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
|