KnowSureThing

StockSharp.Algo.Indicators

Know Sure Thing (KST) indicator.

Inherits: BaseComplexIndicator<IKnowSureThingValue>

Constructors

KnowSureThing
public KnowSureThing()
knowSureThing = KnowSureThing()

Initializes a new instance of the KnowSureThing.

Properties

KstLine
public KnowSureThingLine KstLine { get; }
value = knowSureThing.KstLine

KST line.

Measure
public override IndicatorMeasures Measure { get; }
value = knowSureThing.Measure

IndicatorMeasures.

NumValuesToInitialize
public override int NumValuesToInitialize { get; }
value = knowSureThing.NumValuesToInitialize

Number of values that need to be processed in order for the indicator to initialize (be IsFormed equals ). if undefined.

Roc1
public RateOfChange Roc1 { get; }
value = knowSureThing.Roc1

Rate of Change #1.

Roc2
public RateOfChange Roc2 { get; }
value = knowSureThing.Roc2

Rate of Change #2.

Roc3
public RateOfChange Roc3 { get; }
value = knowSureThing.Roc3

Rate of Change #3.

Roc4
public RateOfChange Roc4 { get; }
value = knowSureThing.Roc4

Rate of Change #4.

Signal
public SimpleMovingAverage Signal { get; }
value = knowSureThing.Signal

Signal line.

Sma1
public SimpleMovingAverage Sma1 { get; }
value = knowSureThing.Sma1

Simple Moving Average applied to ROC #1.

Sma2
public SimpleMovingAverage Sma2 { get; }
value = knowSureThing.Sma2

Simple Moving Average applied to ROC #2.

Sma3
public SimpleMovingAverage Sma3 { get; }
value = knowSureThing.Sma3

Simple Moving Average applied to ROC #3.

Sma4
public SimpleMovingAverage Sma4 { get; }
value = knowSureThing.Sma4

Simple Moving Average applied to ROC #4.

Methods

CalcIsFormed
protected override bool CalcIsFormed()
result = knowSureThing.CalcIsFormed()

Calc IsFormed.

Returns: IsFormed

CreateValue
protected override IKnowSureThingValue CreateValue(DateTime time)
result = knowSureThing.CreateValue(time)

Create .

time
Time
OnProcess
protected override IIndicatorValue OnProcess(IIndicatorValue input)
result = knowSureThing.OnProcess(input)

To handle the input value.

input
The input value.

Returns: The resulting value.

Reset
public override void Reset()
knowSureThing.Reset()

To reset the indicator status to initial. The method is called each time when initial settings are changed (for example, the length of period).