Skip to content

Aroon.Up

property · Aroon · cAlgo.API.Indicators

DesktopCLICloud

Aroon Up

Definition

IndicatorDataSeries Up {get;}
aroon.Up: IndicatorDataSeries

Returns IndicatorDataSeries — The Aroon Up result.

Examples

//...

//...

private Aroon _aroon;

//...

protected override void OnStart()
{
    _aroon = Indicators.Aroon(Periods);
}
protected override void OnBar()
{
    Print("Current Aroon Up Value is: {0}", _aroon.Up.LastValue);
}

//...
import clr
clr.AddReference("cAlgo.API")

from cAlgo.API import *

class Test():
    def on_start(self):
        self.aroon = api.Indicators.Aroon(api.Periods)

    def on_bar(self):
        api.Print(f"Current Aroon Up Value is: {self.aroon.Up.LastValue}")
{
  "Parameters": [
    {
      "Name": "Periods",
      "Type": "Integer",
      "DefaultValue": 25
    }
  ]
}