Skip to content

ElderForceIndex

interface cAlgo.API.Indicators

DesktopCLICloud

The calculation of the Elder's Force Index.

Definition

public interface ElderForceIndex

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

Examples

private ElderForceIndex _elderForceIndex;

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

protected override void OnBar()
{
    Print("Elder's Force Index: {0}", _elderForceIndex.Result.Last(1));
}
def on_start(self):
    self.elderForceIndex = api.Indicators.ElderForceIndex(13, MovingAverageType.Exponential)

def on_bar(self):
    api.Print(f"Elder's Force Index: {self.elderForceIndex.Result.Last(1)}")

Properties

Name Description
ResultDesktopCLICloudIndicatorDataSeries Alexander Elder's force index is a technical indicator that measures the amount of power used to move the price of an asset.

Inherited members

From StandardIndicator: AddToChart, Symbol, TimeFrame, Bars