public AwesomeOscillator(Bars bars, int period1, int period2, string description) public static AwesomeOscillator Series(Bars bars, int period1, int period2)
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 AODemo : WealthScript { protected override void Execute() { AwesomeOscillator ao = AwesomeOscillator.Series(Bars, 5, 34); HideVolume(); ChartPane pAO = CreatePane( 30, false, false ); PlotSeries( pAO, ao, Color.Blue, LineStyle.Histogram, 2 ); } } }