Lean
$LEAN_TAG$
|
This indicator computes the Accumulation/Distribution (AD) The Accumulation/Distribution is calculated using the following formula: AD = AD + ((Close - Low) - (High - Close)) / (High - Low) * Volume More...
Public Member Functions | |
AccumulationDistribution () | |
Initializes a new instance of the AccumulationDistribution class using the specified name. More... | |
AccumulationDistribution (string name) | |
Initializes a new instance of the AccumulationDistribution class using the specified name. More... | |
Public Attributes | |
override bool | IsReady => Samples > 0 |
Gets a flag indicating when this indicator is ready and fully initialized More... | |
int | WarmUpPeriod => 1 |
Required period, in data points, for the indicator to be ready and fully initialized. More... | |
Protected Member Functions | |
override decimal | ComputeNextValue (TradeBar input) |
Computes the next value of this indicator from the given state More... | |
Protected Member Functions inherited from QuantConnect.Indicators.TradeBarIndicator | |
TradeBarIndicator (string name) | |
Creates a new TradeBarIndicator with the specified name More... | |
Additional Inherited Members | |
Properties inherited from QuantConnect.Indicators.IIndicatorWarmUpPeriodProvider | |
int | WarmUpPeriod [get] |
Required period, in data points, for the indicator to be ready and fully initialized. More... | |
This indicator computes the Accumulation/Distribution (AD) The Accumulation/Distribution is calculated using the following formula: AD = AD + ((Close - Low) - (High - Close)) / (High - Low) * Volume
Definition at line 25 of file AccumulationDistribution.cs.
QuantConnect.Indicators.AccumulationDistribution.AccumulationDistribution | ( | ) |
Initializes a new instance of the AccumulationDistribution class using the specified name.
Definition at line 30 of file AccumulationDistribution.cs.
QuantConnect.Indicators.AccumulationDistribution.AccumulationDistribution | ( | string | name | ) |
Initializes a new instance of the AccumulationDistribution class using the specified name.
name | The name of this indicator |
Definition at line 39 of file AccumulationDistribution.cs.
|
protected |
Computes the next value of this indicator from the given state
input | The input given to the indicator |
Definition at line 59 of file AccumulationDistribution.cs.
override bool QuantConnect.Indicators.AccumulationDistribution.IsReady => Samples > 0 |
Gets a flag indicating when this indicator is ready and fully initialized
Definition at line 47 of file AccumulationDistribution.cs.
int QuantConnect.Indicators.AccumulationDistribution.WarmUpPeriod => 1 |
Required period, in data points, for the indicator to be ready and fully initialized.
Definition at line 52 of file AccumulationDistribution.cs.