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
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.
ROCRSIPeriod
public int ROCRSIPeriod { get; set; }
value = connorsRSI.ROCRSIPeriod
connorsRSI.ROCRSIPeriod = value
ROC RSI Period.
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
Load
public override void Load(SettingsStorage storage)
connorsRSI.Load(storage)
Load settings.
- storage
- Settings storage.
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).
Save
public override void Save(SettingsStorage storage)
connorsRSI.Save(storage)
Save settings.
- storage
- Settings storage.