Skip to content

BearsPower.Result

property · BearsPower · cAlgo.API.Indicators

DesktopCLICloud

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

Definition

IndicatorDataSeries Result {get;}
bearsPower.Result: IndicatorDataSeries

Returns IndicatorDataSeries

Examples

var bearsPower = Indicators.BearsPower(13, MovingAverageType.Exponential);
if (bearsPower.Result.Last(1) < 0)
    Print("Bears are in control: {0}", bearsPower.Result.Last(1));
bearsPower = api.Indicators.BearsPower(13, MovingAverageType.Exponential)
if bearsPower.Result.Last(1) < 0:
    api.Print(f"Bears are in control: {bearsPower.Result.Last(1)}")