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

BuyOpen ([Your Parameters])

Usable in an seer event object

This function is used to call the BuyOpen event in the money management object that is related to the system. To actually place a BuyOpen order in the market use PlaceBuyOpen.

You can also pass any number of variables to the money management object.

Examples:

  #Basic call
  BuyOpen;
  #Pass in the ClosePrice and HighPrice to the money management object
  BuyOpen(ClosePrice, HighPrice); 

To retrieve these values in the money management object you would use:

  my ($symbolCP,$symbolHP)=@_;

The variables $symbolCp and $symbolHP would now contain the ClosePrice and HighPrice for the current symbol.

Related functions:

SellOpen , SellStop , BuyStop , BuyLimit , SellLimit , BuyStopLimit , SellStopLimit , StopLoss , PlaceBuyOpen , PlaceSellOpen , PlaceBuyStop , PlaceSellStop , PlaceBuyLimit , PlaceSellLimit , PlaceBuyStopLimit , PlaceSellStopLimit , PlaceStopLoss , NextBarOpen , PlaceSellMarketClose , PlaceBuyMarketClose , PlaceBuyAtPrice , PlaceSellAtPrice , OnFill

© 2008 seer trading systems ltd
feedback FAQ legal privacy