Skip to content

BullsPower

interface cAlgo.API.Indicators

DesktopCLICloud

The calculation of the Bulls Power.

Definition

public interface BullsPower

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

Examples

private BullsPower _bullsPower;

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

protected override void OnBar()
{
    Print("Bulls Power: {0}", _bullsPower.Result.Last(1));
}
def on_start(self):
    self.bullsPower = api.Indicators.BullsPower(13, MovingAverageType.Exponential)

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

Properties

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

Inherited members

From StandardIndicator: AddToChart, Symbol, TimeFrame, Bars