Skip to main content

Beta II for Metastock

maestro over 15 years ago Metastock

  • Rating:
    0 / 5 (Votes 0)
  • Tags:
    metastock, oscillator

This formula calculates Beta which 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.

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.

Files

Indicator / Formula

Copy & Paste Friendly
(( 21 * Sum( ROC( CLOSE ,1 ,% ) * ROC( Security("WIG",C),1 ,% ) ,21 ) ) -
( Sum( ROC( CLOSE ,1 ,% ) ,21) * Sum( ROC( Security("WIG",C) ,1 ,% ) ,21 ) ) ) /
( (21 * Sum( Pwr( ROC( Security("WIG",C) ,1 ,% ) ,2 ) ,21 )) -
Pwr( Sum( ROC( Security("WIG",C) ,1 ,% ) ,21 ) ,2 ))

0 comments

Leave Comment

Please login here to leave a comment.