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

my

Usable in an seer event objectUsable in an seer indicator objectUsable in an seer chart object

Used to declare local (private) variables whose scope is not required outside the current bar.

Examples:

  #declaring $temp
  my $temp;            
  #declaring $temp and setting it to the ClosePrice
  my $temp=ClosePrice;
  #declaring $small and $large 
  my ($small,$large);  
  #declaring $close and $high, and setting them to this bars close and high
  my ($close,$high)=(ClosePrice,HighPrice); 
  #declaring $upper and $lower and setting them to the upper and lower 
  #columns from the bollinger bands indicator
  my ($upper,$lower)=BB(20,2); 
  #declaring $atr and setting it to the first passed in parameter
  my ($atr)=@_; 
  #declaring $now and $stop and setting them to the first 2 passed in parameters      
  my ($now,$stop)=@_; 

Related functions:

© 2011 seer trading systems ltd
feedback FAQ legal privacy