AroonUp

Modified on 2008/04/13 15:02 by Administrator — Categorized as: Standard Indicators

Syntax

public AroonUp(WealthLab.DataSeries source, int period, string description)
public static AroonUp Series(WealthLab.DataSeries source, int period)
public static double Value(int bar, WealthLab.DataSeries source, int period)

Parameter Description

source Price series
period Indicator calculation period

Description

See AroonDown

Example

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() { for(int bar = 20; bar < Bars.Count; bar++) { // Flag Bullish Aroon Crossovers

if( CrossOver( bar, AroonDown.Series( Close, 20 ), AroonUp.Series( Close, 20 ) ) ) SetBackgroundColor( bar, Color.FromArgb(231, 255, 231) ); } } } }