AccumulationDistribution
interface cAlgo.API.Indicators
DesktopCLICloud
Accumulation Distribution indicator is an indicator that can identify if the market is driven by buyers (accumulation) or by sellers (distribution)
Definition
public interface AccumulationDistribution
Namespace: cAlgo.API.Indicators · Group: Indicators · Implements: StandardIndicator
Examples
private AccumulationDistribution _accumulationDistribution;
protected override void OnStart()
{
_accumulationDistribution = Indicators.AccumulationDistribution();
}
protected override void OnBar()
{
Print("Accumulation Distribution: {0}", _accumulationDistribution.Result.Last(1));
}
def on_start(self):
self.accumulationDistribution = api.Indicators.AccumulationDistribution()
def on_bar(self):
api.Print(f"Accumulation Distribution: {self.accumulationDistribution.Result.Last(1)}")
Properties
| Name | Description |
|---|---|
ResultDesktopCLICloudIndicatorDataSeries | Gets the resulting time series of the Accumulation Distribution indicator calculation. |
Inherited members
From StandardIndicator: AddToChart, Symbol, TimeFrame, Bars