Lean  $LEAN_TAG$
QuantConnect.Indicators.InternalBarStrength Class Reference

The InternalBarStrenght indicator is a measure of the relative position of a period's closing price to the same period's high and low. The IBS can be interpreted to predict a bullish signal when displaying a low value and a bearish signal when presenting a high value. More...

Inheritance diagram for QuantConnect.Indicators.InternalBarStrength:
[legend]

Public Member Functions

 InternalBarStrength (string name)
 Creates a new InternalBarStrenght indicator using the specified period and moving average type More...
 
 InternalBarStrength ()
 Creates a new InternalBarStrenght indicator using the specified period and moving average type 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...
 

Detailed Description

The InternalBarStrenght indicator is a measure of the relative position of a period's closing price to the same period's high and low. The IBS can be interpreted to predict a bullish signal when displaying a low value and a bearish signal when presenting a high value.

Definition at line 25 of file InternalBarStrength.cs.

Constructor & Destructor Documentation

◆ InternalBarStrength() [1/2]

QuantConnect.Indicators.InternalBarStrength.InternalBarStrength ( string  name)

Creates a new InternalBarStrenght indicator using the specified period and moving average type

Parameters
nameThe name of this indicator

Definition at line 42 of file InternalBarStrength.cs.

◆ InternalBarStrength() [2/2]

QuantConnect.Indicators.InternalBarStrength.InternalBarStrength ( )

Creates a new InternalBarStrenght indicator using the specified period and moving average type

Definition at line 50 of file InternalBarStrength.cs.

Member Function Documentation

◆ ComputeNextValue()

override decimal QuantConnect.Indicators.InternalBarStrength.ComputeNextValue ( IBaseDataBar  input)
protected

Computes the next value of this indicator from the given state

Parameters
inputThe input given to the indicator
Returns
A new value for this indicator

Definition at line 60 of file InternalBarStrength.cs.

Member Data Documentation

◆ IsReady

override bool QuantConnect.Indicators.InternalBarStrength.IsReady => Samples > 0

Gets a flag indicating when this indicator is ready and fully initialized

Definition at line 31 of file InternalBarStrength.cs.

◆ WarmUpPeriod

int QuantConnect.Indicators.InternalBarStrength.WarmUpPeriod => 1

Required period, in data points, for the indicator to be ready and fully initialized.

Definition at line 36 of file InternalBarStrength.cs.


The documentation for this class was generated from the following file: