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