TrueStrengthIndex

StockSharp.Algo.Indicators

True Strength Index.

Inherits: BaseComplexIndicator<ITrueStrengthIndexValue>

Constructors

TrueStrengthIndex
public TrueStrengthIndex()
trueStrengthIndex = TrueStrengthIndex()

Initializes a new instance of the TrueStrengthIndex.

Properties

FirstLength
public int FirstLength { get; set; }
value = trueStrengthIndex.FirstLength
trueStrengthIndex.FirstLength = value

First smoothing period.

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

IndicatorMeasures.

SecondLength
public int SecondLength { get; set; }
value = trueStrengthIndex.SecondLength
trueStrengthIndex.SecondLength = value

Second smoothing period.

Signal
public ExponentialMovingAverage Signal { get; }
value = trueStrengthIndex.Signal

Signal line (EMA applied to TSI values).

SignalLength
public int SignalLength { get; set; }
value = trueStrengthIndex.SignalLength
trueStrengthIndex.SignalLength = value

Signal line period.

Tsi
public Line Tsi { get; }
value = trueStrengthIndex.Tsi

TSI main line indicator (internal line instance).

Methods

CreateValue
protected override ITrueStrengthIndexValue CreateValue(DateTime time)
result = trueStrengthIndex.CreateValue(time)

Create .

time
Time
Load
public override void Load(SettingsStorage storage)
trueStrengthIndex.Load(storage)

Load settings.

storage
Settings storage.
OnProcess
protected override IIndicatorValue OnProcess(IIndicatorValue input)
result = trueStrengthIndex.OnProcess(input)

To handle the input value.

input
The input value.

Returns: The resulting value.

Save
public override void Save(SettingsStorage storage)
trueStrengthIndex.Save(storage)

Save settings.

storage
Settings storage.
ToString
public override string ToString()
result = trueStrengthIndex.ToString()

Преобразовать к строковому представлению.

Returns: Строковое представление.