Beta

Plots the Beta of an instrument vs. a reference

The first instrument is the primary chart data series. The reference instrument is specified by the parameter "Symbol2", which does not need to be displayed on the chart. "Symbol2" defaults to "^SP500" if only the first instrument is displayed on the chart, otherwise it defaults to the second instrument displayed on the chart.

The "Period" parameter specifes the number of bars to use for the calculation.

Typically, Beta is calculated on 36 monthly bars vs. "^SP500", which should give the same result as the Beta listed in Yahoo Finance and other sources. But other periods, timeframes, and reference data series may be used.

References:

http://en.wikipedia.org/wiki/Beta_(finance)

Created By kdoren
NinjaTrader Version 7
File Size 7.6 KB
Create Date 06/28/2010
# of Downloads 928

Importing to NinjaTrader 7 is Easy!

To import your 3rd party app or add-on to NinjaTrader, simply follow these 3 steps:

  1. Download the app or add-on file to your desktop
  2. From the NinjaTrader Control Center window, select the menu File > Utilities > Import NinjaScript
  3. Select the downloaded file from your desktop

Questions?

Visit the NinjaScript File Sharing discussion in the NinjaTrader user forum to interact with fellow traders and the NinjaTrader support team.