Summary

Returns the Aroon indicator instance.

Syntax

Aroon(int periods)

Parameters

Example

 
//...
[Parameter("Period")]
public int Period { get; set; }

private Aroon ar;

protected override void OnStart()
{
    ar = Indicators.Aroon(Period);
}
protected override void OnTick()//This could be OnBar().
{
    if (ar.Up.LastValue < ar.Down.LastValue)
    {
        //Do something
    }
}
//...