|
Lean
$LEAN_TAG$
|
This indicator computes the Balance Of Power (BOP). The Balance Of Power is calculated with the following formula: BOP = (Close - Open) / (High - Low) More...
Public Member Functions | |
| BalanceOfPower () | |
| Initializes a new instance of the BalanceOfPower class using the specified name. More... | |
| BalanceOfPower (string name) | |
| Initializes a new instance of the BalanceOfPower 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 (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... | |
This indicator computes the Balance Of Power (BOP). The Balance Of Power is calculated with the following formula: BOP = (Close - Open) / (High - Low)
Definition at line 25 of file BalanceOfPower.cs.
| QuantConnect.Indicators.BalanceOfPower.BalanceOfPower | ( | ) |
Initializes a new instance of the BalanceOfPower class using the specified name.
Definition at line 30 of file BalanceOfPower.cs.
| QuantConnect.Indicators.BalanceOfPower.BalanceOfPower | ( | string | name | ) |
Initializes a new instance of the BalanceOfPower class using the specified name.
| name | The name of this indicator |
Definition at line 39 of file BalanceOfPower.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 BalanceOfPower.cs.
| override bool QuantConnect.Indicators.BalanceOfPower.IsReady => Samples > 0 |
Gets a flag indicating when this indicator is ready and fully initialized
Definition at line 47 of file BalanceOfPower.cs.
| int QuantConnect.Indicators.BalanceOfPower.WarmUpPeriod => 1 |
Required period, in data points, for the indicator to be ready and fully initialized.
Definition at line 52 of file BalanceOfPower.cs.