Seer logo - advanced backtesting for stock, futures and forex trading systems using using technical analysis indicators, charts, money management and position sizing
Functions by Category Functions by Alphabetical list

LongPosition

Usable in an seer event object

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

© 2011 seer trading systems ltd
feedback FAQ legal privacy