DataSeries ShiftedMA( DataSeries ds, int period, int delay, ChoiceOfMA option );
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 shiftedMA_demo : WealthScript { protected override void Execute() { ShiftedMA delayedEMA = ShiftedMA.Series( Close, 20, 2, ChoiceOfMA.EMA ); DataSeries ema = EMAModern.Series( Close, 20 ); PlotSeries( PricePane, ema, Color.Red, LineStyle.Solid, 2 ); PlotSeries( PricePane, delayedEMA, Color.Blue, LineStyle.Solid, 1 ); } } }