public AlligatorJaw(DataSeries ds, int period, int delay, string description) public static AlligatorJaw Series(DataSeries ds, int period, int delay)public AlligatorTeeth(DataSeries ds, int period, int delay, string description) public static AlligatorTeeth Series(DataSeries ds, int period, int delay)public AlligatorLips(DataSeries ds, int period, int delay, string description) public static AlligatorLips Series(DataSeries ds, int period, int delay)
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 AlligatorDemo : WealthScript { protected override void Execute() { AveragePrice ds = AveragePrice.Series(Bars); AlligatorJaw aj = AlligatorJaw.Series(ds, 13, 8); AlligatorTeeth at = AlligatorTeeth.Series(ds, 8, 5); AlligatorLips al = AlligatorLips.Series(ds, 5, 2); HideVolume(); PlotSeries( PricePane, aj, Color.Blue, LineStyle.Solid, 1 ); PlotSeries( PricePane, at, Color.Red, LineStyle.Solid, 1 ); PlotSeries( PricePane, al, Color.Green, LineStyle.Solid, 1 ); } } }