public static ElderSafeStopLong(Bars bars, int period, int lookback, double coefficient) public ElderSafeStopLong(Bars bars, int period, int lookback, double coefficient, string description)
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 SafeZoneDemo : WealthScript { protected override void Execute() { ElderSafeStopLong SafeLong = ElderSafeStopLong.Series( Bars, 22, 10, 2.0 ); ElderSafeStopShort SafeShort = ElderSafeStopShort.Series( Bars, 22, 10, 2.0 ); PlotSeries( PricePane, SafeLong, Color.Blue, LineStyle.Dots, 4 ); PlotSeries( PricePane, SafeShort, Color.Red, LineStyle.Dots, 4 ); } } }