Skip to content

BearsPower

interface cAlgo.API.Indicators

DesktopCLICloud

The calculation of the Bears Power.

Definition

public interface BearsPower

Namespace: cAlgo.API.Indicators · Group: Indicators · Implements: StandardIndicator

Examples

private BearsPower _bearsPower;

protected override void OnStart()
{
    _bearsPower = Indicators.BearsPower(13, MovingAverageType.Exponential);
}

protected override void OnBar()
{
    Print("Bears Power: {0}", _bearsPower.Result.Last(1));
}
def on_start(self):
    self.bearsPower = api.Indicators.BearsPower(13, MovingAverageType.Exponential)

def on_bar(self):
    api.Print(f"Bears Power: {self.bearsPower.Result.Last(1)}")

Properties

Name Description
ResultDesktopCLICloudIndicatorDataSeries The histogram (bar graph). It shows the maximum bearish strength during the time period.

Inherited members

From StandardIndicator: AddToChart, Symbol, TimeFrame, Bars