DynamicZonesRSI
StockSharp.Algo.Indicators
Dynamic Zones RSI indicator.
Inherits: DecimalLengthIndicator
Constructors
DynamicZonesRSI
public DynamicZonesRSI()
dynamicZonesRSI = DynamicZonesRSI()
Initializes a new instance of the DynamicZonesRSI.
Properties
Length
public override int Length { get; set; }
value = dynamicZonesRSI.Length
dynamicZonesRSI.Length = value
Period length. By default equal to 1.
Measure
public override IndicatorMeasures Measure { get; }
value = dynamicZonesRSI.Measure
IndicatorMeasures.
NumValuesToInitialize
public override int NumValuesToInitialize { get; }
value = dynamicZonesRSI.NumValuesToInitialize
Number of values that need to be processed in order for the indicator to initialize (be IsFormed equals ). if undefined.
OverboughtLevel
public decimal OverboughtLevel { get; set; }
value = dynamicZonesRSI.OverboughtLevel
dynamicZonesRSI.OverboughtLevel = value
Overbought level.
OversoldLevel
public decimal OversoldLevel { get; set; }
value = dynamicZonesRSI.OversoldLevel
dynamicZonesRSI.OversoldLevel = value
Oversold level.
Methods
LoadAsync
public override Task LoadAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = dynamicZonesRSI.LoadAsync(storage, cancellationToken)
Load settings.
- storage
- Settings storage.
- cancellationToken
- CancellationToken
Returns: Task
OnProcessDecimal
protected override decimal? OnProcessDecimal(IIndicatorValue input)
result = dynamicZonesRSI.OnProcessDecimal(input)
To handle the input value.
- input
- The input value.
Returns: The new value of the indicator.
Reset
public override void Reset()
dynamicZonesRSI.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 = dynamicZonesRSI.SaveAsync(storage, cancellationToken)
Save settings.
- storage
- Settings storage.
- cancellationToken
- CancellationToken
Returns: Task
ToString
public override string ToString()
result = dynamicZonesRSI.ToString()
Returns a string representation of the tuple, with values separated by commas.
Returns: A string representing the tuple's values.