@Deprecated public abstract class AbstractHeadAndShouldersPatternIndicator extends AbstractPatternIndicator
AbstractPatternIndicator.IndexValue, AbstractPatternIndicator.PatternIndicatorOutput, AbstractPatternIndicator.PatternObject
BARS_FORWARD_UNTIL_CROSS, CLOSE_PRICE, HIGH_LOW_PRICES, HUNDRED_PERCENT, MAXIMAL_INCREMENT_COUNT, OUTPUT_COUNT_FOR_ONE_SUBINDICATOR, PERCENT_MULTIPLYER
Constructor and Description |
---|
AbstractHeadAndShouldersPatternIndicator()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected AbstractPatternIndicator.IndexValue[] |
constructBottomAsymptote(double[] cleanPattern,
double[] pivotPointsData,
int dirtyPatternStartIndex,
int dirtyPatternSize)
Deprecated.
|
protected AbstractPatternIndicator.IndexValue[] |
constructUppperAsymptote(double[] cleanPattern,
double[] pivotPointsData,
int dirtyPatternStartIndex,
int dirtyPatternSize)
Deprecated.
|
protected OptInputParameterInfo[] |
createOptInputParameterInfo()
Deprecated.
|
protected OutputParameterInfo[] |
createOutputParameterInfo()
Deprecated.
|
protected double |
getHeadHeightRatio()
Deprecated.
|
protected int |
getNumberOfOutputsForOneSubindicator()
Deprecated.
|
protected void |
setHeadHeightRatio(double headHeightRatio)
Deprecated.
|
void |
setOptInputParameter(int index,
Object value)
Deprecated.
Sets optional input parameter.
|
a, angleBetween2LinesDegrees, angleBetween2LinesRadians, angleBetweenAsymptotesInDegrees, aproxEqual, aproxEqual, aproxEqual, aproxEqualTriple, areParallel, average, averageValueForIndicies, b, calculate, calculateCrossIndex, calculateCrossIndex, calculateCrossIndex, calculateLastAsymptoteIndex, calculatePivotPoints, checkGapsRange, checkPattern, constructDiagonalAsymptote, constructDiagonalAsymptoteUntilCross, constructDiagonalAsymptoteUntilCrossWithHorizontal, constructHorizontalAsymptote, constructHorizontalAsymptoteUntilCross, constructPattern, createFirstAsymptoteInfo, createIndicatorInfo, createInputParameterInfo, createNumberOfBarsOnSidesStartCountInfo, createPatterCurveInfo, createPatternInaccuracy, createPriceForPivotPointsCalculationInfo, createSecondAsymptoteInfo, createWholePatternCalculationInfo, drawIndexValues, drawOutput, drawPatternLine, getBarsOnSidesIncrementCount, getBarsOnSidesStartCount, getDefaultPatternRecognitionGroup, getIndicatorInfo, getInputParameterInfo, getLookback, getLookforward, getNumberOfOutputs, getOptInputParameterInfo, getOptInputParameterInfos, getOutputParameterInfo, getPatternPivotPointNumber, getPatternQuality, getPivotPointCalculationPrice, getReversedPatternQuality, indicesToValues, isUseful, isWholePatternCalculation, onStart, setBarsOnSidesStartCount, setInputParameter, setOutputParameter, setPatternQuality, setPivotPointCalculationPrice, setWholePatternCalculation, willAsymptotesCrossBeforeBarsCount, willAsymptotesCrossForUnitsCount, willAsymptotesCrossUntilPatternEnd, willAsymptotesCrossUntilPatternEnd, x4y, xCross, y4x
public AbstractHeadAndShouldersPatternIndicator()
protected AbstractPatternIndicator.IndexValue[] constructBottomAsymptote(double[] cleanPattern, double[] pivotPointsData, int dirtyPatternStartIndex, int dirtyPatternSize)
constructBottomAsymptote
in class AbstractPatternIndicator
protected AbstractPatternIndicator.IndexValue[] constructUppperAsymptote(double[] cleanPattern, double[] pivotPointsData, int dirtyPatternStartIndex, int dirtyPatternSize)
constructUppperAsymptote
in class AbstractPatternIndicator
protected OutputParameterInfo[] createOutputParameterInfo()
createOutputParameterInfo
in class AbstractPatternIndicator
protected OptInputParameterInfo[] createOptInputParameterInfo()
createOptInputParameterInfo
in class AbstractPatternIndicator
public void setOptInputParameter(int index, Object value)
IIndicator
setOptInputParameter
in interface IIndicator
setOptInputParameter
in class AbstractPatternIndicator
index
- index of the parametervalue
- int or double valueprotected double getHeadHeightRatio()
protected void setHeadHeightRatio(double headHeightRatio)
protected int getNumberOfOutputsForOneSubindicator()
getNumberOfOutputsForOneSubindicator
in class AbstractPatternIndicator
Copyright © 2016. All rights reserved.