Struct FixedProfileResponse
- Namespace
- ATAS.Indicators
- Assembly
- ATAS.Indicators.dll
The result of a fixed profile request: the profile of the requested period as candles at the chart price scale and at the instrument tick size. A data provider that does not support fixed profiles returns the default value, in which both candles are null.
public struct FixedProfileResponse
- Extension Methods
Constructors
FixedProfileResponse(IndicatorCandle, IndicatorCandle)
The result of a fixed profile request: the profile of the requested period as candles at the chart price scale and at the instrument tick size. A data provider that does not support fixed profiles returns the default value, in which both candles are null.
public FixedProfileResponse(IndicatorCandle Scaled, IndicatorCandle Original)
Parameters
ScaledIndicatorCandleThe profile with price levels merged according to the chart scale; the same candle as
Originalwhen the chart is not scaled.OriginalIndicatorCandleThe profile with price levels at the instrument tick size.
Properties
Original
The profile with price levels at the instrument tick size.
public IndicatorCandle Original { readonly get; set; }
Property Value
Scaled
The profile with price levels merged according to the chart scale; the same candle as Original when the chart is not scaled.
public IndicatorCandle Scaled { readonly get; set; }
Property Value
Methods
Deconstruct(out IndicatorCandle, out IndicatorCandle)
public readonly void Deconstruct(out IndicatorCandle Scaled, out IndicatorCandle Original)
Parameters
ScaledIndicatorCandleOriginalIndicatorCandle
Equals(FixedProfileResponse)
public readonly bool Equals(FixedProfileResponse other)
Parameters
otherFixedProfileResponse
Returns
- bool
Equals(object)
public override readonly bool Equals(object obj)
Parameters
objobject
Returns
- bool
GetHashCode()
public override readonly int GetHashCode()
Returns
- int
ToString()
public override readonly string ToString()
Returns
- string
Operators
operator ==(FixedProfileResponse, FixedProfileResponse)
public static bool operator ==(FixedProfileResponse left, FixedProfileResponse right)
Parameters
leftFixedProfileResponserightFixedProfileResponse
Returns
- bool
operator !=(FixedProfileResponse, FixedProfileResponse)
public static bool operator !=(FixedProfileResponse left, FixedProfileResponse right)
Parameters
leftFixedProfileResponserightFixedProfileResponse
Returns
- bool