ConnorsRSI

StockSharp.Algo.Indicators

Connors RSI (CRSI) indicator.

Inherits: BaseComplexIndicator<IConnorsRSIValue>

Constructors

ConnorsRSI
public ConnorsRSI()
connorsRSI = ConnorsRSI()

Initializes a new instance of the ConnorsRSI.

Properties

CrsiLine
public CrsiLine CrsiLine { get; }
value = connorsRSI.CrsiLine

Composite RSI line.

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

IndicatorMeasures.

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

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

RocRsi
public RelativeStrengthIndex RocRsi { get; }
value = connorsRSI.RocRsi

ROC RSI indicator.

ROCRSIPeriod
public int ROCRSIPeriod { get; set; }
value = connorsRSI.ROCRSIPeriod
connorsRSI.ROCRSIPeriod = value

ROC RSI Period.

Rsi
public RelativeStrengthIndex Rsi { get; }
value = connorsRSI.Rsi

RSI indicator.

RSIPeriod
public int RSIPeriod { get; set; }
value = connorsRSI.RSIPeriod
connorsRSI.RSIPeriod = value

RSI Period.

StreakRSIPeriod
public int StreakRSIPeriod { get; set; }
value = connorsRSI.StreakRSIPeriod
connorsRSI.StreakRSIPeriod = value

Streak RSI Period.

UpDownRsi
public RelativeStrengthIndex UpDownRsi { get; }
value = connorsRSI.UpDownRsi

Up/down RSI indicator.

Methods

CreateValue
protected override IConnorsRSIValue CreateValue(DateTime time)
result = connorsRSI.CreateValue(time)

Create .

time
Time
LoadAsync
public override Task LoadAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = connorsRSI.LoadAsync(storage, cancellationToken)

Load settings.

storage
Settings storage.
cancellationToken
CancellationToken

Returns: Task

OnProcess
protected override IIndicatorValue OnProcess(IIndicatorValue input)
result = connorsRSI.OnProcess(input)

To handle the input value.

input
The input value.

Returns: The resulting value.

Reset
public override void Reset()
connorsRSI.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).

SaveAsync
public override Task SaveAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = connorsRSI.SaveAsync(storage, cancellationToken)

Save settings.

storage
Settings storage.
cancellationToken
CancellationToken

Returns: Task