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
Measure
public override IndicatorMeasures Measure { get; }
Property Value
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
ROCRSIPeriod
ROC RSI Period.
[Display(ResourceType = typeof(LocalizedStrings), Name = "ROCRSI", Description = "ROCRSIPeriod", GroupName = "General")]
public int ROCRSIPeriod { get; set; }
Property Value
RSIPeriod
RSI Period.
[Display(ResourceType = typeof(LocalizedStrings), Name = "RSI", Description = "RSIPeriod", GroupName = "General")]
public int RSIPeriod { get; set; }
Property Value
RocRsi
ROC RSI indicator.
[Browsable(false)]
public RelativeStrengthIndex RocRsi { get; }
Property Value
Rsi
RSI indicator.
[Browsable(false)]
public RelativeStrengthIndex Rsi { get; }
Property Value
StreakRSIPeriod
Streak RSI Period.
[Display(ResourceType = typeof(LocalizedStrings), Name = "Streak", Description = "StreakRSIPeriod", GroupName = "General")]
public int StreakRSIPeriod { get; set; }
Property Value
UpDownRsi
Up/down RSI indicator.
[Browsable(false)]
public RelativeStrengthIndex UpDownRsi { get; }
Property Value
Methods
CreateValue(DateTimeOffset)
Create ConnorsRSIValue.
protected override ConnorsRSIValue CreateValue(DateTimeOffset time)
Parameters
time
DateTimeOffset
Returns
Load(SettingsStorage)
Load settings.
public override void Load(SettingsStorage storage)
Parameters
storage
SettingsStorageSettings storage.
OnProcess(IIndicatorValue)
To handle the input value.
protected override IIndicatorValue OnProcess(IIndicatorValue input)
Parameters
input
IIndicatorValueThe 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
SettingsStorageSettings storage.