public PercentRank(DataSeries ds, int period, string description) public static PercentRank Series(DataSeries ds, int period)public PrcRank(DataSeries ds, int period, string description) public static PrcRank Series(DataSeries ds, int period)
using System; using System.Collections.Generic; using System.Text; using System.Drawing; using WealthLab; using Community.Indicators;namespace WealthLab.Strategies { public class MyStrategy : WealthScript { protected override void Execute() { PercentRank pr = PercentRank.Series(Close,252); PrcRank pc = PrcRank.Series(Close,252); ChartPane p = CreatePane( 30,true,true ); PlotSeries( p, pr, Color.Red, WealthLab.LineStyle.Solid, 1 ); PlotSeries( p, pc, Color.Blue, WealthLab.LineStyle.Solid, 1 ); } } }