public static VMA Series(DataSeries source, int period) public VMA(DataSeries source, int period, string description)
using System; using System.Collections.Generic; using System.Text; using System.Drawing; using WealthLab; using WealthLab.Indicators;namespace WealthLab.Strategies { public class MyStrategy : WealthScript { protected override void Execute() { // Compare a Volume Weighted Moving Average with a standard MA PlotSeries( PricePane, SMA.Series( Close, 60 ), Color.Blue, LineStyle.Solid, 1 ); PlotSeries( PricePane, VMA.Series( Close, 60 ), Color.DarkGreen, LineStyle.Solid, 2 ); } } }