public static Peak Series(DataSeries source, double reversalAmount, WealthLab.Indicators.PeakTroughMode mode) public static double Value(int bar, DataSeries source, double reversalAmount, WealthLab.Indicators.PeakTroughMode mode)
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() { // Draw the level of 7% Peaks on the chart PlotSeries( PricePane, Peak.Series( High, 7, PeakTroughMode.Percent ), Color.Red, LineStyle.Dots, 3 ); } } }