Table of Contents

Class ConnorsRSI

Namespace
StockSharp.Algo.Indicators
Assembly
StockSharp.Algo.dll

Connors RSI (CRSI) indicator.

[Display(ResourceType = typeof(LocalizedStrings), Name = "CRSI", Description = "ConnorsRSI")]
[Doc("topics/api/indicators/list_of_indicators/connors_rsi.html")]
[IndicatorOut(typeof(ConnorsRSIValue))]
public class ConnorsRSI : BaseComplexIndicator<ConnorsRSIValue>, IComplexIndicator, IIndicator, IPersistable, ICloneable<IIndicator>, ICloneable
Inheritance
ConnorsRSI
Implements
Derived
Inherited Members
Extension Methods

Constructors

ConnorsRSI()

Initializes a new instance of the ConnorsRSI.

public ConnorsRSI()

Properties

CrsiLine

Composite RSI line.

[Browsable(false)]
public CrsiLine CrsiLine { get; }

Property Value

CrsiLine

Measure

public override IndicatorMeasures Measure { get; }

Property Value

IndicatorMeasures

NumValuesToInitialize

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

public override int NumValuesToInitialize { get; }

Property Value

int

ROCRSIPeriod

ROC RSI Period.

[Display(ResourceType = typeof(LocalizedStrings), Name = "ROCRSI", Description = "ROCRSIPeriod", GroupName = "General")]
public int ROCRSIPeriod { get; set; }

Property Value

int

RSIPeriod

RSI Period.

[Display(ResourceType = typeof(LocalizedStrings), Name = "RSI", Description = "RSIPeriod", GroupName = "General")]
public int RSIPeriod { get; set; }

Property Value

int

RocRsi

ROC RSI indicator.

[Browsable(false)]
public RelativeStrengthIndex RocRsi { get; }

Property Value

RelativeStrengthIndex

Rsi

RSI indicator.

[Browsable(false)]
public RelativeStrengthIndex Rsi { get; }

Property Value

RelativeStrengthIndex

StreakRSIPeriod

Streak RSI Period.

[Display(ResourceType = typeof(LocalizedStrings), Name = "Streak", Description = "StreakRSIPeriod", GroupName = "General")]
public int StreakRSIPeriod { get; set; }

Property Value

int

UpDownRsi

Up/down RSI indicator.

[Browsable(false)]
public RelativeStrengthIndex UpDownRsi { get; }

Property Value

RelativeStrengthIndex

Methods

CreateValue(DateTimeOffset)

protected override ConnorsRSIValue CreateValue(DateTimeOffset time)

Parameters

time DateTimeOffset

Time

Returns

ConnorsRSIValue

ConnorsRSIValue

Load(SettingsStorage)

Load settings.

public override void Load(SettingsStorage storage)

Parameters

storage SettingsStorage

Settings storage.

OnProcess(IIndicatorValue)

To handle the input value.

protected override IIndicatorValue OnProcess(IIndicatorValue input)

Parameters

input IIndicatorValue

The input value.

Returns

IIndicatorValue

The resulting value.

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).

public override void Reset()

Save(SettingsStorage)

Save settings.

public override void Save(SettingsStorage storage)

Parameters

storage SettingsStorage

Settings storage.