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

Envelope ([Column], [Period], [Percent], [MA])

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

Creates two envelopes around the column. The parameter MA is optional (the moving average used in the calculation), defaults to EMA, and can be any moving average (EMA, SMA, WWS). The parameter Percent is the percentage of the bands above and below the passed in column. In scalar context returns the upper column, in list context returns the upper and lower columns.

Examples:

  my ($upper,$lower)=Envelope(Close,25,5);
  #Returns the upper and lower columns of an envelope around 
  #the close column for 25 bars, with a 5% shift
  Today(Envelope(Open,13,10,'WWS'));
  #Returns the value for todays upper column of an envelope around 
  #the open column for 13 bars, with a 10% shift, using the WWS moving average.

Related functions:

ATR , ADX , BB , CCI , MFI , OBV , RSI , SS , ROC , RS , Range , DEMA , MACD , TypicalPrice , MedianPrice , WeightedClose , Momentum , WilliamsR , Performance , Percent , TrueRange , Volatility , PivotPoint , MoneyFlow , StaDev , AveDev , Variance , Skewness , Kurtosis , LongWhite , LongBlack , PiercingLine , BullishEngulfing , BearishEngulfing , HammerHanging , ThreeWhiteSoldiers , ThreeBlackCrows , DarkCloudCover , Doji , LinearReg , LinearRegAngle , LinearRegIntercept , LinearRegSlope , TSF , Correl

© 2011 seer trading systems ltd
feedback FAQ legal privacy