NAME      Absolute Value
	
SYNTAX    abs( DATA ARRAY )

FUNCTION  Calculates the absolute value of the DATA ARRAY.

EXAMPLE   The formula "abs( -10 )" will return +10; the formula "abs( 10 )"
          also returns + 10.


NAME      Accumulation/Distribution

SYNTAX    ad()

FUNCTION  Calculates the predefined Accumulation/Distribution indicator.


NAME      Accumulation Swing Index

SYNTAX    aswing( LIMIT MOVE )

FUNCTION  Calculates the predefined Accumulation Swing Index. The Swing
          Index requires opening prices.

EXAMPLE   aswing( 3.0 )

SEE ALSO  The swing() function on page 254.


NAME      Addition

SYNTAX    add( DATA ARRAY, DATA ARRAY )

FUNCTION  Adds the two parameters together.

EXAMPLE   The formula "add( H, 10.7 )" adds 10.7 to the high prices (this
          formula also could be written as "H + 10.7").

SEE ALSO  The tip in section 6.7.2 on page 270; the sub() function on
          page 253.


NAME      Arc Tangent

SYNTAX    atan( Y DATA ARRAY, X DATA ARRAY )

FUNCTION  Returns the arc tangent of Y/X. The value is returned in degrees
	  from 0 to 359.9. The degrees are returned as shown below.

				90
				 |
			   180---+---0
				 |
				270

EXAMPLE   The formula "atan( 10, 0 )" returns 90.

SEE ALSO  The cos() function on page 236; the sin() function on page 252.


NAME      Average Directional Movement

SYNTAX    adx( PERIODS )

FUNCTION  Calculates the predefined Average Directional Movement indicator.

EXAMPLE   adx( 14 )

SEE ALSO  The adxr() function on page 238; the csi() function on page 236;
	  the dx() function on page 238; the mdi() function on page 245; the
	  pdi() function on page 248.


NAME      Average True Range

SYNTAX    atr( PERIODS )

FUNCTION  Calculates the predefined Average True Range indicator.

EXAMPLE   atr( 20 )

SEE ALSO  The co() function on page 235; the volo0 function on page 256.


NAME      Ceiling

SYNTAX    ceil( DATA ARRAY )

FUNCTION  Calculates the lowest integer that is greater than DATA ARRAY.

EXAMPLE   The formula "ceil( 7.2 )" returns 8; the formula "ceil(-7.2)"
	  returns -7.

SEE ALSO  The floor() function on page 239; the int() function on page 242;
	  the rnd() function on page 251.
                  

NAME      Commodity Channel Index (EQUIS)

SYNTAX    ccie( PERIODS )

FUNCTION  Calculates the predefined Commodity Channel Index (EQUIS).

EXAMPLE   ccie( 14 )
                     

NAME      Commodity Channel Index (Standard)

SYNTAX    cci( PERIODS )

FUNCTION  Calculates the predefined Commodity Channel Index (Standard).

EXAMPLE   cci( 14 )


NAME      Commodity Selection Index

SYNTAX    csi( PERIODS, VALUE, MARGIN, COMMISSION )

FUNCTION  Calculates the predefined Commodity Selection Index.

EXAMPLE   csi(14, 25, 50, 2500)
                                                                                               
SEE ALSO  The adx() function on page 234; the adxr() function on page 238;
	  the dx() function on page 238; the mdi() function on page 245; the
	  pdi() function on page 248.


NAME      Correlation Analysis

SYNTAX    corr( INDEPENDENT, DEPENDENT, PERIODS, SHIFT )

FUNCTION  Calculates the predefined Correlation indicator. Compares the
          correlation of DEPENDENT to INDEPENDENT over PERIODS
          time periods, after shifting DATA ARRAY2 to the right SHIFT-
          periods.

EXAMPLE   The formula "corr(macd(), CLOSE, 5, 10 )" compares the MACD
          indicator to the closing price 10-periods in the future, after
          statistically averaging each data array over the preceding
	  5-periods.

SEE ALSO  The tsf() function on page 254; the std() function on page 252.


NAME       Cosine

SYNTAX     COS( DATA ARRAY )

FUNCTION   Returns the cosine of DATA ARRAY. Assumes that the DATA ARRAY
	   values are in degrees.

EXAMPLE    COS( C )

SEE ALSO   The atan() function on page 234; the sin() function on page 252.


NAME	   Cumulate

SYNTAX     cum( DATA ARRAY )

FUNCTION   Calculates a cumulative sum of the DATA ARRAY.

EXAMPLE    The formula "cum( 1 )" calculates an indicator that rises one point
           each day; the formula "cum( C )" calculates the cumulative total of
           all closing prices.

SEE ALSO   The sum() function on page 253.


NAME       Delta

SYNTAX     delta( TYPE, DATE, PRICE, INTEREST, DIVIDEND )

FUNCTlON   Calculates the predefined Delta indicator. See the option()
 	   function on page 250 for a description of the parameters used in
	   the delta function.

EXAMPLE    delta( EC, 891220, 125, 7.50, 4.75 )

SEE ALSO   The gamma() function on page 241; the life() function on
           page 247; the option() function on page 250; the theta() function
	   on page 254; the vega() function on page 256; and the volo()
	   function on page 256.


NAME       Detrended Price Oscillator

SYNTAX     dpo( PERIODS )

FUNCTION   Calculates the predefined Detrended Price Oscillator.

EXAMPLE    dpo( 25 )


NAME       Directional Movement Index

SYNTAX     dx( PERIODS )

FUNCTION   Calculates the predefined Directional Movement Index.

EXAMPLE    dx( 14 )

SEE ALSO   The adx() function on page 234; the adxr() function on page 238;
           the csi() function on page 236; the mdi() function on page 245;
	   the pdi() function on page 248.


NAME       Directional Movement Rating

SYNTAX     adxr( PERIODS )

FUNCTION   Calculates the predefined Directional Movement Rating.

EXAMPLE    adxr( 14 )

SEE ALSO   The adx() function on page 234; the csi() function on page 236; the
           dx() function on page 238; the mdi() function on page 245; the
	   pdi() function on page 248.


NAME       Division

SYNTAX     div( DATA ARRAY, DATA ARRAY )

FUNCTION   Divides the first parameter by the second. Division by zero
           produces a result of zero.

EXAMPLE    The formula "div( 10,2 )" returns 5 (this formula also could be
           written as "10 / 2").

SEE ALSO   The tip in section 6.7.2 on page 270; the mu10 function on
           page 246.


NAME       Exponent

SYNTAX     exp( DATA ARRAY )

FUNCTION   Calculates e raised to the DATA ARRAY power.

SEE ALSO   The log() function on page 243.


NAME       Fast Fourier Transform

SYNTAX     fft( DATA ARRAY, PERIODS, LENGTH, DETREND or MEAN,
           AMPLITUDE or POWER )

FUNCTION   Calculates the PERIODS time period Fourier indicator of the
           DATA ARRAY, given sample LENGTH using the DETREND or
           MEAN method, and displays the AMPLITUDE or POWER
           spectrum.

EXAMPLE    The formula "fft( CLOSE, 100, 1, DETREND, POWER )" returns
           the default Fast Fourier indicator.


NAME       Floor

SYNTAX     floor( DATA ARRAY )

FUNCTION   Calculates the highest integer that is less than DATA ARRAY.

EXAMPLE    The function "floor( 13.9 )" returns 13. The formula
           "floor( -13.9 )" returns 14.

SEE ALSO   The ceil() function on page 235; the int() function on page 242;
	   the rnd() function on page 251.


NAME       Formula Call

SYNTAX     fml( FORMULA_NAME ) or fml( FORMULA NUMBER )

FUNCTION   Calculates the value of another custom formula.  The formula can
	   be referenced using either a FORMULA or a FORMULA_NUMBER.

           When referencing a formula's name, the name must be contained in
           quotation marks (e.g., fml( "Secret A")).

	   You only have to supply enough of the name to identify it from
	   other formulas. For example, if you have a formula named "Best
	   Formula" and another formula named "My Best Formula," a reference
	   to fml( "Best Formula" ) will generate an error message, because
	   MetaStock will not be able to determine which formula you are
	   referencing. (In this example, fml( "My" ) would be sufficient to
	   identify the formula.)

	   The "case" of the formula's name, either upper- or lower-case, is
           ignored. If you change a formula's name, you must also change any
	   fml() calls that reference that formula.

	   When referencing a formula's number, the number must be
	   preceded by a "#." The formula numbers are displayed in the Custom
	   Formulas menu.

EXAMPLE    The formula "fml("Secret A") * fml(#11)" calculates the value of
           the formula named "Secret A" multiplied by formula number 11.

SEE ALSO   Section 6.3.13 on page 227 of the Formula Tutorial.


NAME       Fraction

SYNTAX     frac( DATA ARRAY )

FUNCTION   Eliminates the integer portion of DATA ARRAY and returns the
	   fractional part.

EXAMPLE    The formula "frac( 10.7 )" returns 0.7; the formula "frac( -19.8 )"
           returns -0.8.

SEE ALSO   The into function on page 242; the rnd0 function on page 251.


NAME       Gamma

SYNTAX     gamma( TYPE, DATE, PRICE, INTEREST, DIVIDEND )

FUNCTION   Calculates the predefined Gamma indicator. See the option()
           function on page 250 for a description of the parameters used
	   in the gamma() function.

EXAMPLE    gamma( EC, 891220, 125, 7.50, 4.75 )

SEE ALSO   The delta() function on page 237; the life() function on page 247;
           the option() function on page 250; the theta() function on page 254;
           the vega() function on page 256; and the volo() function on
           page 256.

NAME       Herrick Payoff Index

SYNTAX     hpi( CENTS, MULTIPLYING FACTOR )

FUNCTION   Calculates the predefined Herrick Payoff Index.

EXAMPLE    hpi(100, 10)


NAME       Highest High Value

SYNTAX     hhv( DATA ARRAY, PERIODS )

FUNCTION   Calculates the highest value in the DATA ARRAY over the
           preceding PERIODS (PERIODS includes the current day).

EXAMPLE    The formula "hhv( CLOSE, 5 )" returns the highest closing price
           over the preceding five periods; "hhv(H,7)" returns the highest high
           price over the preceding seven periods.

SEE ALSO   The Stochastic Oscillator example on page 263; the llv() function
           on page 243.


NAME       If

SYNTAX     if( DATA ARRAY, > >= < <= <> =, DATA ARRAY, THEN
           DATA ARRAY, ELSE DATA ARRAY )

FUNCTION   A conditional function that returns the fourth parameter (THEN) if
           the conditional expression defined by the first three parameters is
           true, otherwise, the fifth parameter is returned (ELSE).

EXAMPLE    The formula "if(1,<,2,3,4)" will always return the value three.

SEE ALSO   The On Balance Volume example on page 261; section 6.3.12 on
           page 227 of the Formula Tutorial.


NAME       Integer

SYNTAX     int( DATA ARRAY )

FUNCTION   Removes the fractional portion of DATA ARRAY and returns the
           integer part.

EXAMPLE    The formula "int( 10.7 )" returns 10; the formula "int( -19.8 )"
	   returns - 19.

SEE ALSO   The ceil() function on page 235; the floor() function on page 239;
           the ffac() function on page 241; the rnd() function on page 251.


NAME       Logarithm

SYNTAX     log( DATA ARRAY )

FUNCTION   Calculates the natural logarithm of DATA ARRAY.

SEE ALSO   The exp() function on page 238.


NAME       Lowest Low Value

SYNTAX     llv( DATA ARRAY, PERIODS )

FUNCTION   Calculates the lowest value in the DATA ARRAY over the
           preceding PERIODS (PERIODS includes the current day).

EXAMPLE    The formula 'llv( CLOSE, 14 )" returns the lowest closing price
           over the preceding 14 periods.

SEE ALSO   The Stochastic Oscillator example on page 263; the hhv() function
           on page 242.


NAME       MACD

SYNTAX     macd()

FUNCTION   Calculates the predefined MACD indicator.

EXAMPLE    The formula "macd()" returns the value of the MACD indicator
           (i.e., the solid line). The formula "mov(macd(),9,E)" returns the
           value of the MACD's trigger (i.e., the dotted line).


NAME       Mass Index

SYNTAX     mass( PERIODS )

FUNCTION   Calculates the predefined Mass Index.

EXAMPLE    mass( 25 )


NAME       Maximum

SYNTAX     max( DATA ARRAY, DATA ARRAY )

FUNCTION   Returns the largest of the two parameters.

EXAMPLE    The formula "max( CLOSE, 10 )" returns either the closing price
           or 10, whichever is greater. The formula "max(-14, 13)" always
           returns 13.


NAME       Median Price

SYNTAX     mp()

FUNCTION   Calculates the predefined Median Price indicator.

SEE ALSO   The min() function on page 244.


NAME       Midpoint

SYNTAX     mid( DATA ARRAY, PERIODS )

FUNCTION   Returns the midpoint of the DATA ARRAY over the specified time
           PERIOD. The midpoint is the value halfway between the highest
           and lowest DATA ARRAY values during the specified PERIOD.

EXAMPLE    The formula "mid( CLOSE, 7 )" is equivalent to
           "llv(C,7) + ((hhv(C,7) - 11v(C,7)) / 2)."

SEE ALSO   The hhv() function on page 242; the llv() function on page 243.


NAME       Minimum

SYNTAX     min( DATA ARRAY, DATA ARRAY )

FUNCTION   Returns the smallest of the two parameters.

EXAMPLE    The formula "min( CLOSE, 10 )" returns the closing price or 10,
           whichever is less. The formula "min(-14, 13)" always returns -14.

SEE ALSO   The max() function on page 244.


NAME       Minus Directional Movement

SYNTAX     mdi( PERIODS )

FUNCTION   Calculates the predefined Minus Directional Movement indicator.

EXAMPLE    mdi( 14 )

SEE ALSO   The adx() function on page 234; the adxr() function on page 238;
           the csi() function on page 236; the dx() function on page 238; the
           pdi() function on page 248.


NAME       Modulus

SYNTAX     mod( DATA ARRAY, DATA ARRAY )

FUNCTION   Calculates the remainder (i.e., the fractional portion) of DATA
           ARRAY divided by DATA ARRAY. A division by zero produces
           a zero result.

EXAMPLE    The formula "mod( 10, 3 )" returns 1.0; the formula
           "mod( -10.7, 3 )" returns -1.7. You could write an equivalent
           formula as "-10.7 - (int(-10.7 / 3) * 3)."


NAME       Momentum

SYNTAX     mo( PERIODS )

FUNCTION   Calculates the predefined Momentum indicator.

EXAMPLE    mo( 12 )


NAME       Money Flow Index

SYNTAX     mfi( PERIODS )

FUNCTION   Calculates the predefined Money Flow Index.

EXAMPLE    mfi( 14 )

SEE ALSO   The rsi() function on page 252.


NAME       Moving Average

SYNTAX     mov( DATA ARRAY, PERIODS, METHOD)

FUNCTION   Calculates a PERIODS moving average of DATA ARRAY using
           METHOD calculation method. Valid methods are SIMPLE,
           EXPONENTIAL, WEIGHTED, TIMESERIES, TRIANGULAR,
           and VARIABLE. (these can be abbreviated as S, E, W, T, TRI,
           and VAR).

EXAMPLE    The formula "mov( CLOSE, 25, EXPONENTIAL )" returns the
           value of a 25-period exponential moving average of the closing
           prices.


NAME       Multiplication

SYNTAX     mul( DATA ARRAY, DATA ARRAY )

FUNCTION   Calculates DATA ARRAY multiplied by DATA ARRAY.

EXAMPLE    The function "mul( CLOSE, 2)" returns the closing price multiplied
           by two. (This function also could be written as "C * 2.")

SEE ALSO   The tip in section 6.7.2 on page 270; the div() function on
           page 238.


NAME       Negative

SYNTAX     neg( DATA ARRAY )

FUNCTION   Calculates the negative of DATA ARRAY.

EXAMPLE    The formula "neg( 10 )" returns -10; the formula "neg( -12 )"
           returns +12. This formula also could be written "-(-12)."


NAME       Negative Volume Index

SYNTAX     nvi()

FUNCTION   Calculates the predefined Negative Volume Index.

SEE ALSO   The pvi() function on page 248.


NAME       On Balance Volume

SYNTAX     obv()

FUNCTION   Calculates the predefined On Balance Volume indicator.

SEE ALSO   The example formula on page 261.


NAME       Option Life

SYNTAX     life( EXPIRATION DATE )

FUNCTION   Calculates the predefined Option Life indicator.

EXAMPLE    The formula "life( 921222 )" displays the number of days until
           December 22, 1992. Refer to the option() function on page 250 for
           information on specifying dates within a function.

SEE ALSO   The delta() function on page 237; the gamma() function on
           page 241; the option() function on page 250; the theta() function
	   on page 254; the vega() function on page 256; and the volo()
	   function on page 256.


NAME       Parabolic SAR

SYNTAX     sar( STEP, MAXIMUM )

FUNCTION   Calculates the predefined Parabolic SAR indicator.

EXAMPLE    sar( 0.02, 0.20 )


NAME       Performance

SYNTAX     per()

FUNCTION   Calculates the predefined Performance indicator.


NAME      Plus Directional Movement

SYNTAX    pdi( PERIODS )

FUNCTION  Calculates the predefined Plus Directional Movement indicator.

EXAMPLE   pdi( 14 )

SEE ALSO  The adx() function on page 234; the adxr() function on page 238;
          the csi() function on page 236; the dx() function on page 238; the
          mdi() function on page 245.


NAME      Positive Volume Index

SYNTAX    pvi()

FUNCTION  Calculates the predefined Positive Volume Index.

SEE ALSO  The nvi() function on page 246.


NAME      Power

SYNTAX    pwr( DATA ARRAY, POWER )

FUNCTION  Calculates DATA ARRAY raised to the POWER power. A negative DATA
	  ARRAY value raised to a non-integer POWER causes an error message
	  to be displayed.

EXAMPLE   The formula "pwr( 10, 3 )" returns 1,000.
                  

NAME      Precision

SYNTAX    prec( DATA ARRAY, PRECISION )

FUNCTION  Truncates DATA ARRAY to PRECISION decimal places.

EXAMPLE   The formula "prec( 10.12981, 2 )" returns 10.120. The formula
	  "prec( 10.12981, 4 )" returns 10.12980. Small binary rounding
	  errors may cause some minor distortion in the decimal portion
	  of any number stored in a computer.
 

NAME      Price Oscillator

SYNTAX    oscp( PERIODS, PERIODS, MA_METHOD, D1FF_METHOD )

FUNCTION  Calculates the PERIODS/PERIODS predefined Price Oscillator
          indicator calculated using the MA_METHOD moving average
          method expressed in DIFF_METHOD.

	  Valid MA_METHODs are SIMPLE, EXPONENTIAL, WEIGHTED, TIMESERIES,
	  TRIANGULAR, and VARIABLE. (these can be abbreviated as S, E, W, T,
	  TRI, VAR).

	  Valid DIFF_METHODs are PERCENT and POINTS (these can be abbreviated
	  as % and $).

EXAMPLE   The formula "oscp(1, 25, E, $)" returns a 1-period/25-period
          exponential price oscillator expressed in points.

SEE ALSO  The oscv() function on page 257.


NAME      Price Volume Trend

SYNTAX    pvt()

FUNCTION  Calculates the predefined Price Volume Trend indicator.


NAME      Put/Call Price

SYNTAX    option( TYPE, DATE, PRICE, INTEREST, DIVIDEND )

FUNCTION  Calculates the predefined Put/Call Price indicator.

EXAMPLE   The formula "option( EC, 901231, 125, 8.5, 6.31 )" calculates the
	  fair market value of an equity call that matures on December 31,
	  1990 at a strike price of $125.  The current market interest rates
	  are 8.5% and the security paid an annual dividend of $6.31.

          TYPE specifies whether the security is an Equity or a Future (i.e.,
	  E or F) and if a Put or Call price (i.e, P or C) should be
	  calculated.  Valid TYPEs are EC, EP, FC, and FP.  (These types also
	  can be spelled out as CALL, PUT, FUTURECALL, and FUTUREPUT.)

   	  The DATE is the date that the option expires. The DATE must be
	  entered as a number in the YYMMDD format. For example, December 31,
	  1991 should be entered as 911231.  This date format is used
	  regardless of the date format specified in the Configuration
	  section.

	  The PRICE parameter specifies the option's strike price.

	  The INTEREST parameter specifies a "risk free" market interest rate
	  (e.g., 8.75).

	  The DIVIDEND parameter specifies the total dividends received over
	  the last 12 months.

SEE ALSO  The delta() function on page 237; the gamma() function on
          page 241; the life() function on page 247; the theta() function on
          page 254; the vega() function on page 25; and the volo() function
          on page 256.


NAME      Rate of Change

SYNTAX    roc( DATA ARRAY, PERIODS, DIFF_METHOD )

FUNCTION  Calculates the PERIODS rate-of-change of DATA ARRAY
          expressed as DIFF_METHOD.

	  Valid DIFF_METHODs are PERCENT and POINTS (these can be abbreviated
	  as % and $).

EXAMPLE   The formula "roc( CLOSE, 12, PERCENT )" returns the 12-period
          percent rate-of-change of the closing prices.


NAME      Reference

SYNTAX    ref(DATA ARRAY, PERIODS )

FUNCTION  References a previous or subsequent element in a DATA ARRAY.
          A positive PERIOD references "n" periods in the future; a negative
          PERIOD references "n" periods ago.

EXAMPLE   The formula "ref( CLOSE, -12 )" returns the closing price 12
          periods ago. Thus, you could write the 12-day price rate-of-change
          (expressed in points) as "C - ref( C, -12 )." The formula "ref( C,
          +12 )" returns the closing price 12 periods ahead.


NAME      Round

SYNTAX    rnd( DATA ARRAY

FUNCTION  Rounds DATA ARRAY to the nearest integer.

EXAMPLE   The formula "rnd( +10.5 )" returns +11. The formula "red( -10.4
          )" returns -10.

SEE ALSO  The ceil() function on page 235; the floor() function on page 239;
          the into function on page 242.


NAME      Relative Strength Index (RSI)

SYNTAX    rsi( PERIODS )

FUNCTION  Calculates the predefined RSI indicator.

EXAMPLE   rsi( 14 )


NAME      Sine

SYNTAX    sin( DATA ARRAY )

FUNCTION  Returns the sine of DATA ARRAY. This function assumes that
          the DATA ARRAY values are in degrees.

EXAMPLE   You can plot a sine wave using the formula "sin(cum(5))."
          Increasing the value in this formula (i.e., "5") will increase the
          frequency of the sine wave.

SEE ALSO  The atan() function on page 234; the cos() function on page 236.


NAME      Square Root

SYNTAX    sqr( DATA ARRAY )

FUNCTION  Calculates the square root of DATA ARRAY. The square root of
          a negative number always returns a zero result.

EXAMPLE   The formula "sqr( 16 )" returns 4.

SEE ALSO  The Standard Deviation formula on page 262.


NAME      Standard Deviation

SYNTAX    std( DATA ARRAY, PERIODS )

FUNCTION  Calculates the predefined Standard Deviation indicator.

EXAMPLE   std( CLOSE, 21 )


NAME      Stochastic Oscillator

SYNTAX    stoch( %K PERIODS, %K SLOWING ) FUNCTION Calculates the predefined Stochastic Oscillator.

EXAMPLE   The formula "stoch( 5, 3 )" returns the value of a 5-period %K
          slowed 3-periods.

SEE ALSO  The Stochastic formula on page 263.


NAME      Subtraction

SYNTAX    sub( DATA ARRAY, DATA ARRAY )

FUNCTION  Calculates DATA ARRAY minus DATA ARRAY.

EXAMPLE   The formula "sub( 10, 2 )" returns eight. (This formula also could
          be written as "10 - 2.")

SEE ALSO  The tip in section 6.7.2 on page 270; the add() function on
          page 233.


NAME      Summation

SYNTAX    sum( DATA ARRAY, PERIODS )

FUNCTION  Calculates a cumulative sum of the DATA ARRAY for the
          specified PERIOD (including today).

EXAMPLE   The formula "sum( CLOSE, 12 )" returns the sum of the preceding
	  12 closing prices. A 12-period simple moving average could be
	  written "sum(C,12) / 12."

SEE ALSO  The cum() function on page 237.


NAME      Swing Index

SYNTAX    swing( LIMIT MOVE )

FUNCTION  Calculates the predefined Swing Index indicator. The Swing Index
          requires opening prices.

EXAMPLE   swing( 3.0 )

SEE ALSO  The aswing() function on page 233.


NAME      Theta

SYNTAX    theta( TYPE, DATE, PRICE, INTEREST, DIVIDEND )

FUNCTION  Calculates the predefined Theta indicator. See the option() function
          on page 25() for a description of the parameters used in the theta()
          function.

EXAMPLE   theta( EC, 891220, 125, 7.50, 4.75 )

SEE ALSO  The delta() function on page 237; the gamma() function on
          page 241; the life() function on page 247; the option() function on
          page 250; the vega() function on page 256; and the volo() function
          on page 256.


NAME      Time Series Forecast

SYNTAX    tsf( DATA ARRAY, PERIODS )

FUNCTION  Calculates the predefined PERIODS Time Series Forecast indicator
          of DATA ARRAY.

EXAMPLE   The formula "tsf( CLOSE, 10 )" returns a 10-period Time Series
          Forecast of the closing prices.

SEE ALSO  The corr() function on page 236.


NAME      Trade Volume Index

SYNTAX    tvi( MINIMUM TICK )

FUNCTION  Calculates the predefined Trade Volume Index. EXAMPLE tvi( 0.125 )

SEE ALSO  The obv() function on page 247.


NAME      TRIX

SYNTAX    trix( PERIODS

FUNCTION  Calculates the predefined TRIX indicator. EXAMPLE trix( 12 )


NAME  	  Ultimate Oscillator

SYNTAX 	  ult( CYCLE1, CYCLE2, CYCLE3 )

FUNCTION  Calculates the predefined Ultimate Oscillator indicator using the
          three cycle lengths supplied as parameters. Note that each of the
          three parameters must be greater than the preceding parameter or
          an error message will be displayed (e.g., "ult( 5, 5, 5)" is not
          valid).

EXAMPLE   The formula "nit( 7, 14, 21 )" returns the default Ultimate
          Oscillator.


NAME      Variance

SYNTAX    var( DATA ARRAY, PERIODS )

FUNCTION  Calculates the statistical variance of DATA ARRAY over the
          specified time PERIOD.

SEE ALSO  The std() function on page 252; the Standard Deviation example on
          page 262.


NAME      Vega

SYNTAX    vega( TYPE, DATE, PRICE, INTEREST, DIVIDEND )

FUNCTION  Calculates the predefined Vega indicator. See the option() function
	  on page 250 for a description of the parameters used in the vga()
	  function.

EXAMPLE   vega( EC, 891220, 125, 7.50, 4.75 )

SEE ALSO  The delta() function on page 237; the gamma() function on
          page 241; the life() function on page 247; the option() function on
          page 250; the theta() function on page 254; and the volo() function
          on page 256.


NAME      Vertical Horizontal Filter

SYNTAX    vhf( DATA ARRAY, PERIODS )

FUNCTION  Calculates the predefined Vertical Horizontal Filter of DATA ARRAY
 	  over the specified time PERIOD.

EXAMPLE   vhf( C, 28 )


NAME      Volatility, Chaikin's

SYNTAX    vol( MA PERIODS, ROC PERIODS )

FUNCTION  Calculates the predefined Chaikin's Volatility indicator.

EXAMPLE   vol( 10, 10 )


NAME      Volatility, Option

SYNTAX    volo()

FUNCTION  Calculates the predefined Option Volatility indicator.

EXAMPLE   volo()

SEE ALSO  The delta() function on page 237; the gamma() function on
          page 241; the life() function on page 247; the option() function on
          page 250; the theta() function on page 254; and the vega() function
          on page 256.


NAME      Volume Oscillator

SYNTAX    oscv( PERIODS, PERIODS, MA_METHOD, D1FF_METHOD)

FUNCTION  Calculates the PERIODS/PERIODS predefined Volume Oscillator
          indicator calculated using the MA_METHOD moving average
          method expressed in DIFF_METHOD.

	  Valid MA_METHODs are SIMPLE, EXPONENTIAL, WEIGHTED, TIMESERIES,
	  TRIANGULAR, and VARIABLE.  (these can be abbreviated as S, E, W, T,
	  TRI, and VAR).

	  Valid DIFF_METHODs are PERCENT and POINTS (these can be abbreviated
	  as % and $).

EXAMPLE   oscv( 1, 25, SIMPLE, $ )

SEE ALSO  The oscp() function on page 249.


NAME      Weighted Close

SYNTAX    wc()

FUNCTION  Calculates the predefined Weighted Close indicator.


NAME      Williams' A/D

SYNTAX    willa()

FUNCTION  Calculates the predefined Willtams A/D indicator.


NAME      Williams' %R

SYNTAX    willr( %R PERIODS )

FUNCTION  Calculates the predefined Willtams' %R indicator.

EXAMPLE   willr( 14 )


NAME      Zig Zag

SYNTAX    zig( DATA ARRAY, MINIMUM CHANGE, DIFF_METHOD )

FUNCTION  Calculates the MINIMUM CHANGE predefined Zig Zag indicator
          of DATA ARRAY using the DIFF_METHOD method of  
          calculation.

          Valid DIFF_METHODs are PERCENT and POINTS (these can be                         
          abbreviated as % and $).

EXAMPLE zig( CLOSE, 5, PERCENT )


