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

SellStop ([Your Parameters])

Usable in an seer event object

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

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

Examples:

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

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:

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

© 2010 seer trading systems ltd
feedback FAQ legal privacy