MetaStock™ Zone Forum & FAQ Artykuły Linki Elliott Waves EasyLanguage™ Zone

A B C D E F G H I J K L M N O P R S T U V W Y Z #

Alpha and Beta
rev. 01/06/97

To plot Alpha and Beta in MetaStock follow the steps below.
**The custom indicator named Beta is required to plot Alpha.

In the Windows versions of MetaStock,

To plot Alpha:

Create the custom formulas Alpha and Beta (see below for formula syntax).
Open a chart of the desired security.
Drag the price plot of the index you are comparing, into the chart of the security and close the chart of the index.
**Maximize the security chart if needed.
Drag the custom indicator Alpha from the Quick List and drop it onto theprice plot of the index.
**The index plot will turn a purplish color when you are plotting on topof it.

**Note, this formula is set to calculate Alpha over 21 periods.
To change the time periods replace each instance of 21 in the formula with the desired number of periods and also
change the time periods in the Beta custom indicator.

Alpha

( Sum( ROC( CLOSE ,1 ,% ) ,21 ) - ( Fml( "Beta" ) * Sum( ROC( INDICATOR,1,%) ,21 ) ) ) / 21

To plot Beta:

Open a chart of the desired security.
Drag the price plot of the index your comparing, into the chart of the security.
Drag this custom indicator from the Quick List and drop it onto the price plot of the index.

Note, this formula is set to calculate beta over 21 periods.
To change the time periods replace each instance of 21 in the formula with the desired number of periods.}

Beta

( ( 21 * Sum( ROC( CLOSE ,1 ,% ) * ROC( INDICATOR ,1 ,% ) ,21 ) ) -
( Sum( ROC( CLOSE ,1 ,% ) ,21) * Sum( ROC( INDICATOR ,1 ,% ) ,21 ) ) ) /
( (21 * Sum( Pwr( ROC( INDICATOR ,1 ,% ) ,2 ) ,21 )) - Pwr( Sum( ROC( INDICATOR ,1 ,% ) ,21 ) ,2 ))

**Beta is a measure of volatility of one security against another. This is typically used to measure the volatility of a stock against an index like the S&P 500. A value greater than one indicates the stock is more volatile than the index.

Source / From: TOP
http://www.equis.com

Equis and MetaStock® and MetaStock Professional® are registered trademarks of Equis International. Achelis Binary Wave®, The DownLoader®,
Expert Advisor®, OptionScope®, Quotecenter® and Smart Charts® are trademarks of Equis International, a Thomson Reuters company.

TradeStation® Pro, TradeStation® 2000i, OptionStation®, SuperCharts®, PowerEditor® and EasyLanguage®
are registered trademarks of TradeStation Technologies, Inc. Other names and marks referred to are the property of their respective owners.

All information provided on this website is for educational purposes only. Trading involves risk, including possible loss of principal and other losses.

Ten i inne materiały na tej stronie zostały zamieszczone zostały jedynie w celach edukacyjnych, nie ponoszę żadnej odpowiedzialno¶ci za ich stosowanie.

Gra na giełdzie i rynkach walutowych (FOREX) niesie ze sob± ryzyko poważnych strat finansowych!