Abstract base class for a candlestick pattern indicator
More...
|
| override void | Reset () |
| | Resets this indicator to its initial state More...
|
| |
| int | Period |
| | Gets the period of this window indicator More...
|
| |
| override bool | IsReady |
| | Gets a flag indicating when this indicator is ready and fully initialized More...
|
| |
| virtual int | WarmUpPeriod |
| | Required period, in data points, to the indicator to be ready and fully initialized More...
|
| |
Abstract base class for a candlestick pattern indicator
Definition at line 24 of file CandlestickPattern.cs.
◆ CandlestickPattern()
| QuantConnect.Indicators.CandlestickPatterns.CandlestickPattern.CandlestickPattern |
( |
string |
name, |
|
|
int |
period |
|
) |
| |
|
protected |
Creates a new CandlestickPattern with the specified name
- Parameters
-
| name | The name of this indicator |
| period | The number of data points to hold in the window |
Definition at line 31 of file CandlestickPattern.cs.
◆ GetCandleColor()
| static CandleColor QuantConnect.Indicators.CandlestickPatterns.CandlestickPattern.GetCandleColor |
( |
IBaseDataBar |
tradeBar | ) |
|
|
staticprotected |
◆ GetRealBody()
| static decimal QuantConnect.Indicators.CandlestickPatterns.CandlestickPattern.GetRealBody |
( |
IBaseDataBar |
tradeBar | ) |
|
|
staticprotected |
Returns the distance between the close and the open of a candle
- Parameters
-
Definition at line 49 of file CandlestickPattern.cs.
◆ GetHighLowRange()
| static decimal QuantConnect.Indicators.CandlestickPatterns.CandlestickPattern.GetHighLowRange |
( |
IBaseDataBar |
tradeBar | ) |
|
|
staticprotected |
◆ GetCandleRange()
Returns the range of a candle
- Parameters
-
| type | The type of setting to use |
| tradeBar | The input candle |
Definition at line 68 of file CandlestickPattern.cs.
◆ GetCandleGapUp()
| static bool QuantConnect.Indicators.CandlestickPatterns.CandlestickPattern.GetCandleGapUp |
( |
IBaseDataBar |
tradeBar, |
|
|
IBaseDataBar |
previousBar |
|
) |
| |
|
staticprotected |
◆ GetCandleGapDown()
| static bool QuantConnect.Indicators.CandlestickPatterns.CandlestickPattern.GetCandleGapDown |
( |
IBaseDataBar |
tradeBar, |
|
|
IBaseDataBar |
previousBar |
|
) |
| |
|
staticprotected |
◆ GetRealBodyGapUp()
| static bool QuantConnect.Indicators.CandlestickPatterns.CandlestickPattern.GetRealBodyGapUp |
( |
IBaseDataBar |
tradeBar, |
|
|
IBaseDataBar |
previousBar |
|
) |
| |
|
staticprotected |
Returns true if the candle is higher than the previous one (with no body overlap)
Definition at line 105 of file CandlestickPattern.cs.
◆ GetRealBodyGapDown()
| static bool QuantConnect.Indicators.CandlestickPatterns.CandlestickPattern.GetRealBodyGapDown |
( |
IBaseDataBar |
tradeBar, |
|
|
IBaseDataBar |
previousBar |
|
) |
| |
|
staticprotected |
Returns true if the candle is lower than the previous one (with no body overlap)
Definition at line 113 of file CandlestickPattern.cs.
◆ GetLowerShadow()
| static decimal QuantConnect.Indicators.CandlestickPatterns.CandlestickPattern.GetLowerShadow |
( |
IBaseDataBar |
tradeBar | ) |
|
|
staticprotected |
◆ GetUpperShadow()
| static decimal QuantConnect.Indicators.CandlestickPatterns.CandlestickPattern.GetUpperShadow |
( |
IBaseDataBar |
tradeBar | ) |
|
|
staticprotected |
◆ GetCandleAverage()
| static decimal QuantConnect.Indicators.CandlestickPatterns.CandlestickPattern.GetCandleAverage |
( |
CandleSettingType |
type, |
|
|
decimal |
sum, |
|
|
IBaseDataBar |
tradeBar |
|
) |
| |
|
staticprotected |
Returns the average range of the previous candles
- Parameters
-
| type | The type of setting to use |
| sum | The sum of the previous candles ranges |
| tradeBar | The input candle |
Definition at line 142 of file CandlestickPattern.cs.
The documentation for this class was generated from the following file: