Популярные книги
Performance
SYNTAX per()
This calculates the value of the Performance indicator. It is not normally used in formulas
except to compare the value of this indicator with some other value.
Plus Directional Movement
SYNTAX pdi( PERIODS )
This calculates the value of the Plus Directional Movement indicator. It is not normally used in
formulas except to compare the value of this indicator with some other value.
Polarized Fractal Efficiency
SYNTAX pfe( DATA ARRAY, PERIODS , SMOOTHING PERIODS)
This calculates the value of the Polarized Fractal Efficiency indicator. It is not normally used in
formulas except to compare the value of this indicator with some other value.
Positive Volume Index
SYNTAX pvi()
This calculates the value of the Positive Volume Index. It is not normally used in formulas
except to compare the value of this indicator with some other value.
Power
SYNTAX power( DATA ARRAY, POWER )
This calculates the value of DATA ARRAY raise to a specified POWER. For example:
power( 2, 4 )
This actually means:
2 x 2 x 2 x 2
When calculated out, this comes to 16.
This function will normally only be used in complex math calculations like quadratic equations.
Please be aware that a negative DATA ARRAY value raised to a non-integer POWER causes an
error message to be displayed.
Precision
SYNTAX prec( DATA ARRAY, PRECISION )
This will drop all the decimal places in DATA ARRAY after the number specified by
PRECISION. Small rounding errors may cause some minor distortion in the decimal portion of
any number stored in a computer. The effect does not normally show up until seven or more
decimal places.
Price Channel High
SYNTAX pricechannelhigh( PERIODS )
This calculates the value of the top line of the Price Channel indicator. It is not normally used in
formulas except to compare the value of this indicator with some other value.
Price Channel Low
SYNTAX pricechannellow( PERIODS )
This calculates the value of the bottom line of the Price Channel indicator. It is not normally
used in formulas except to compare the value of this indicator with some other value.
Price Oscillator
SYNTAX oscp( PERIODS, PERIODS, MA_METHOD, DIFF_METHOD )
This function calculates the predefined Price Oscillator indicator of using moving averages of
the two PERIODS specified. The method for expressing differences between these two averages
is set in the DIFF_METHOD parameter. Valid DIFF_METHODs are PERCENT and POINTS
(these can be abbreviated as % and $).
The moving averages can be of several different types. The exact type desired is specified by
MA_METHOD. Valid MA_METHODs are SIMPLE, EXPONENTIAL, WEIGHTED,
TIMESERIES, TRIANGULAR, and VARIABLE (these can be abbreviated as S, E, W, T, TRI,
VAR).
Price Volume Trend
SYNTAX pvt()
This calculates the value of the Price Volume Trend indicator. It is not normally used in
formulas except to compare the value of this indicator with some other value.
Projection Band Bottom
SYNTAX Projbandbot( PERIODS )
This calculates the value of the bottom line of the Projection Band indicator. It is not normally
used in formulas except to compare the value of this indicator with some other value.
Projection Band Top
SYNTAX Projbandbot( PERIODS )
This calculates the value of the top line of the Projection Band indicator. It is not normally used
in formulas except to compare the value of this indicator with some other value.
Projection Oscillator
SYNTAX Projosc( REGRESSION PERIODS, SLOWING PERIODS )
This calculates the value of the Projection Oscillator indicator. It is not normally used in
formulas except to compare the value of this indicator with some other value.
Put/Call Price
SYNTAX option( TYPE, DATE, PRICE, INTEREST, DIVIDEND )
This calculates the Put/Call Price indicator. It is not normally used in formula except to compare
the value of this indicator with some other value.
TYPE specifies whether the underlying security is an Equity or a Future (i.e., E or F). It also
specifies whether the option is a Put or a Call (i.e., P or C). Valid types are EC, EP, FC, and FP.
(These can be spelled out as CALL, PUT, FUTURECALL, and FUTUREPUT.)
DATE refers to the date that the option expires. The date must be formatted as YYMMDD. For
example, December 31, 1996, should be entered as 961231.
The PRICE parameter specifies the option's strike price.
The INTEREST parameter specifies a "risk free" market interest rate (e.g., 8.75). The yield on a
3 or 6 month T-Bill is usually a good choice.
The DIVIDEND parameter specifies the total dividends received over the last 12 months.
An example of this function would be:
Option( EC, 961231, 125, 8.5, 6.31 )
This would calculate the fair market value of an equity call that matures on December 31, 1996,
at a strike price of $125. The current market interest rates are 8.5% and the security paid an
annual dividend of $6.31.
Qstick
SYNTAX qstick( PERIODS )
This calculates the value of the Qstick indicator. It is not normally used in formulas except to
compare the value of this indicator with some other value.
r-squared
SYNTAX rsquared( DATA ARRAY, PERIODS )
This calculates the value of the r-squared indicator. It is not normally used in formulas except to
compare the value of this indicator with some other value.
Rally
SYNTAX rally()
This will return a +1 whenever a rally occurs. It will continue to return this same value until
either a Reaction, an Inside day, or an Outside day occur. At any time where Rally() is not equal
to +1, it will be equal to 0.
A rally day occurs when today's high is greater than the previous day's high and today's low is
greater than or equal to the previous day's low.
Rally With Volume
SYNTAX rallywithvol()
This will return a +1 whenever a rally with volume occurs. It will continue to return this same
value until either a Reaction, an Inside day, or an Outside day occur. At any time where Rally()
is not equal to +1, it will be equal to 0.
A rally with volume occurs when today's high is greater than the previous day's high and today's
low is greater than or equal to the previous day's low. Today's volume must also be greater than
the previous day's volume.
Random Walk Index of Highs
SYNTAX rwih( PERIODS )
This calculates the value of the Random Walk Index of the Highs indicator. It is not normally
used in formulas except to compare the value of this indicator with some other value.
Random Walk Index of Lows
SYNTAX rwil( PERIODS )
This calculates the value of the Random Walk Index of the Lows indicator. It is not normally
used in formulas except to compare the value of this indicator with some other value.
Range Indicator
SYNTAX rangeindicator( PERIODS, SMOOTHING PERIODS )
This calculates the value of the Range Indicator. It is not normally used in formulas except to
compare the value of this indicator with some other value.
Rate of Change
SYNTAX roc( DATA ARRAY, PERIODS, DIFF_METHOD )
This function calculates the change in DATA ARRAY over PERIODS amount of time. The
result can be expressed by either of two methods. Valid DIFF_METHODs are PERCENT and
POINTS (these can be abbreviated as % and $). For more information on this funciton, refer to
Chapter 1.