Lean
$LEAN_TAG$
|
Parabolic SAR Indicator Based on TA-Lib implementation More...
Public Member Functions | |
ParabolicStopAndReverse (string name, decimal afStart=0.02m, decimal afIncrement=0.02m, decimal afMax=0.2m) | |
Create new Parabolic SAR More... | |
ParabolicStopAndReverse (decimal afStart=0.02m, decimal afIncrement=0.02m, decimal afMax=0.2m) | |
Create new Parabolic SAR More... | |
override void | Reset () |
Resets this indicator to its initial state More... | |
Public Attributes | |
override bool | IsReady => Samples >= 2 |
Gets a flag indicating when this indicator is ready and fully initialized More... | |
int | WarmUpPeriod => 2 |
Required period, in data points, for the indicator to be ready and fully initialized. More... | |
Protected Member Functions | |
override decimal | ComputeNextValue (IBaseDataBar input) |
Computes the next value of this indicator from the given state More... | |
Protected Member Functions inherited from QuantConnect.Indicators.BarIndicator | |
BarIndicator (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... | |
Parabolic SAR Indicator Based on TA-Lib implementation
Definition at line 25 of file ParabolicStopAndReverse.cs.
QuantConnect.Indicators.ParabolicStopAndReverse.ParabolicStopAndReverse | ( | string | name, |
decimal | afStart = 0.02m , |
||
decimal | afIncrement = 0.02m , |
||
decimal | afMax = 0.2m |
||
) |
Create new Parabolic SAR
name | The name of this indicator |
afStart | Acceleration factor start value |
afIncrement | Acceleration factor increment value |
afMax | Acceleration factor max value |
Definition at line 44 of file ParabolicStopAndReverse.cs.
QuantConnect.Indicators.ParabolicStopAndReverse.ParabolicStopAndReverse | ( | decimal | afStart = 0.02m , |
decimal | afIncrement = 0.02m , |
||
decimal | afMax = 0.2m |
||
) |
Create new Parabolic SAR
afStart | Acceleration factor start value |
afIncrement | Acceleration factor increment value |
afMax | Acceleration factor max value |
Definition at line 59 of file ParabolicStopAndReverse.cs.
override void QuantConnect.Indicators.ParabolicStopAndReverse.Reset | ( | ) |
Resets this indicator to its initial state
Definition at line 77 of file ParabolicStopAndReverse.cs.
|
protected |
Computes the next value of this indicator from the given state
input | The trade bar input given to the indicator |
Definition at line 88 of file ParabolicStopAndReverse.cs.
override bool QuantConnect.Indicators.ParabolicStopAndReverse.IsReady => Samples >= 2 |
Gets a flag indicating when this indicator is ready and fully initialized
Definition at line 67 of file ParabolicStopAndReverse.cs.
int QuantConnect.Indicators.ParabolicStopAndReverse.WarmUpPeriod => 2 |
Required period, in data points, for the indicator to be ready and fully initialized.
Definition at line 72 of file ParabolicStopAndReverse.cs.