public Beta(Bars bars, Bars index, int period)
using System; using System.Collections.Generic; using System.Text; using System.Drawing; using WealthLab; using WealthLab.Indicators; using Community.Indicators;namespace WealthLab.Strategies { public class MyStrategy : WealthScript { protected override void Execute() { Beta beta = Beta.Series( Bars, GetExternalSymbol("^GSPC",true),200); // Yahoo symbol ChartPane betatest = CreatePane( 30, true, true ); PlotSeries( betatest, beta, Color.DarkMagenta, LineStyle.Solid, 2 ); } } }