Sqrt

Modified on 2013/07/03 06:54 by Eugene — Categorized as: Community Indicators

Sqrt: Indicator Documentation

Syntax

DataSeries Sqrt(DataSeries ds)

Parameter Description

ds Specify data series

Description

Returns the square root of a specified data series.

Example

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 CompareMACDwithLBR : WealthScript { protected override void Execute() { Sqrt ds = Sqrt.Series(Close); ChartPane pane = CreatePane(40,true,true); PlotSeries( pane, ds, Color.Red, LineStyle.Solid, 2 ); HideVolume(); } } }