Show / Hide Table of Contents

    Class BuiltInIndicators

    Namespace: TradingPlatform.BusinessLayer
    Syntax
    public sealed class BuiltInIndicators

    Methods

    AC()

    Returns an instance of the Acceleration/Deceleration Oscillator (AC).

    AC measures the acceleration and deceleration of the current momentum.

    Declaration
    public Indicator AC()
    Returns
    Type Description
    Indicator
    Exceptions
    Type Condition
    ArgumentOutOfRangeException

    ADX(int, MaMode, IndicatorCalculationType)

    Returns an instance of the Average Directional Index (ADX) indicator.

    The ADX determines the strength of a prevailing trend.

    Declaration
    public Indicator ADX(int period, MaMode mode, IndicatorCalculationType calculationType = IndicatorCalculationType.AllAvailableData)
    Parameters
    Type Name Description
    int period

    Period

    MaMode mode

    Type of Moving Average

    IndicatorCalculationType calculationType

    Calculation type

    Returns
    Type Description
    Indicator
    Exceptions
    Type Condition
    ArgumentOutOfRangeException

    AFIRMA(int, PriceType, AfirmaMode, bool)

    Gets the AFIRMA indicator

    Autoregressive finite impulse response moving average. A digital filter accurately shows the price movement as powered with least square method to minimise time lag

    Declaration
    public Indicator AFIRMA(int period, PriceType priceType, AfirmaMode afirmaMode, bool least_squares_method)
    Parameters
    Type Name Description
    int period

    Moving average period

    PriceType priceType

    Type of the price

    AfirmaMode afirmaMode

    Afirma mode

    bool least_squares_method

    with least squares method overlapping if true

    Returns
    Type Description
    Indicator
    Exceptions
    Type Condition
    ArgumentOutOfRangeException

    AO()

    Gets the AO (Awesome Oscillator) indicator.

    The 'AO' indicator determines market momentum.

    Declaration
    public Indicator AO()
    Returns
    Type Description
    Indicator

    AROON(int)

    Gets the Aroon indicator.

    Reveals the beginning of a new trend and determines how strong it is

    Declaration
    public Indicator AROON(int period)
    Parameters
    Type Name Description
    int period

    Aroons period

    Returns
    Type Description
    Indicator
    Exceptions
    Type Condition
    ArgumentOutOfRangeException

    ATR(int, MaMode, IndicatorCalculationType)

    Gets the Average True Range (ATR) indicator.

    The ATR measures of market volatility.

    Declaration
    public Indicator ATR(int period, MaMode mode, IndicatorCalculationType calculationType = IndicatorCalculationType.AllAvailableData)
    Parameters
    Type Name Description
    int period

    Period of Moving Average.

    MaMode mode

    Type of Moving Average

    IndicatorCalculationType calculationType

    Calculation type

    Returns
    Type Description
    Indicator
    Exceptions
    Type Condition
    ArgumentOutOfRangeException

    Alligator(MaMode, PriceType, int, int, MaMode, PriceType, int, int, MaMode, PriceType, int, int)

    Gets the Alligator.

    Three moving averages with different colors, periods and calculation methods.

    Declaration
    public Indicator Alligator(MaMode JawMAType, PriceType JawSourcePrice, int JawMAPeiod, int JawMAShift, MaMode TeethMAType, PriceType TeethSourcePrice, int TeethMAPeiod, int TeethMAShift, MaMode LipsMAType, PriceType LipsSourcePrice, int LipsMAPeiod, int LipsMAShift)
    Parameters
    Type Name Description
    MaMode JawMAType

    Type of Jaw Moving Average.

    PriceType JawSourcePrice

    SourcePrice of Jaw Moving Average.

    int JawMAPeiod

    Period of Jaw Moving Average.

    int JawMAShift

    Shift of Jaw Moving Average.

    MaMode TeethMAType

    Period of Moving Average.

    PriceType TeethSourcePrice

    Type of Moving Average.

    int TeethMAPeiod

    Period of Moving Average.

    int TeethMAShift

    Type of Moving Average.

    MaMode LipsMAType

    Period of Moving Average.

    PriceType LipsSourcePrice

    Type of Moving Average.

    int LipsMAPeiod

    Period of Moving Average.

    int LipsMAShift

    Type of Moving Average.

    Returns
    Type Description
    Indicator
    Exceptions
    Type Condition
    ArgumentOutOfRangeException

    BB(int, double, PriceType, MaMode, IndicatorCalculationType)

    Gets the BB(Bollinger Bands) indicator.

    The 'BB' indicator provides a relative definition of high and low based on standard deviation and a simple moving average.

    Declaration
    public Indicator BB(int period, double coefficient, PriceType priceType, MaMode maMode, IndicatorCalculationType calculationType = IndicatorCalculationType.AllAvailableData)
    Parameters
    Type Name Description
    int period

    Period of MA for envelopes.

    double coefficient

    Value of confidence interval.

    PriceType priceType

    Sources prices for MA.

    MaMode maMode

    Type of moving average.

    IndicatorCalculationType calculationType

    Calculation type

    Returns
    Type Description
    Indicator
    Exceptions
    Type Condition
    ArgumentOutOfRangeException

    BBF(int, double, PriceType, MaMode, IndicatorCalculationType)

    Returns an instance of the Bollinger Bands Flat (BBF) indicator.

    The BBF provides the same data as BB, but drawn in separate field and easier to recognize whether price is in or out of the band.

    Declaration
    public Indicator BBF(int period, double deviation, PriceType priceType, MaMode mode, IndicatorCalculationType calculationType = IndicatorCalculationType.AllAvailableData)
    Parameters
    Type Name Description
    int period

    Period

    double deviation

    Deviation

    PriceType priceType

    Sources prices for MA

    MaMode mode

    Type of Moving Average

    IndicatorCalculationType calculationType

    Calculation type

    Returns
    Type Description
    Indicator
    Exceptions
    Type Condition
    ArgumentOutOfRangeException

    CCI(int, PriceType, MaMode, IndicatorCalculationType)

    Gets the Commodity Channel Index.

    Measures the position of price in relation to its moving average.

    Declaration
    public Indicator CCI(int maPeriod, PriceType priceType, MaMode maMode, IndicatorCalculationType calculationType = IndicatorCalculationType.AllAvailableData)
    Parameters
    Type Name Description
    int maPeriod

    Period for CCI MA

    PriceType priceType

    Sources prices for CCI

    MaMode maMode

    MA mode for CCI

    IndicatorCalculationType calculationType

    Calculation type

    Returns
    Type Description
    Indicator
    Exceptions
    Type Condition
    ArgumentOutOfRangeException

    CMO(int, PriceType)

    Gets the CMO (Chande Momentum Oscillator) indicator.

    The CMO calculates the dividing of difference between the sum of all recent gains and the sum of all recent losses by the sum of all price movement over the period.

    Declaration
    public Indicator CMO(int period, PriceType priceType)
    Parameters
    Type Name Description
    int period

    Period of MA for envelopes.

    PriceType priceType

    Sources prices for MA.

    Returns
    Type Description
    Indicator
    Exceptions
    Type Condition
    ArgumentOutOfRangeException

    Channel(int)

    Gets the Channel (Price Channel) indicator.

    The 'Channel' indicator is based on measurement of min and max prices for the definite number of periods.

    Declaration
    public Indicator Channel(int period)
    Parameters
    Type Name Description
    int period

    Period of price channel

    Returns
    Type Description
    Indicator
    Exceptions
    Type Condition
    ArgumentOutOfRangeException

    DMI(int, MaMode, IndicatorCalculationType)

    Gets the Directional Movement Index(DMI) indicator.

    The DMI іdentifies whether there is a definable trend in the market.

    Declaration
    public Indicator DMI(int period, MaMode mode, IndicatorCalculationType calculationType = IndicatorCalculationType.AllAvailableData)
    Parameters
    Type Name Description
    int period

    Period of Moving Average.

    MaMode mode

    Type of Moving Average.

    IndicatorCalculationType calculationType

    Calculation type

    Returns
    Type Description
    Indicator
    Exceptions
    Type Condition
    ArgumentOutOfRangeException

    EMA(int, PriceType, IndicatorCalculationType)

    Returns an instance of the Exponential Moving Average (EMA) indicator.

    EMA provides a weighted price calculation for the last N periods.

    Declaration
    public Indicator EMA(int maPeriod, PriceType priceType, IndicatorCalculationType calculationType = IndicatorCalculationType.AllAvailableData)
    Parameters
    Type Name Description
    int maPeriod

    Period of Exponential Moving Average

    PriceType priceType

    Sources prices for MA

    IndicatorCalculationType calculationType

    Calculation type

    Returns
    Type Description
    Indicator

    HV(int, int, PriceType, HVSheduleMode)

    Declaration
    public Indicator HV(int stdPeriod, int volatilityPeriod, PriceType priceType, HVSheduleMode hvMode)
    Parameters
    Type Name Description
    int stdPeriod
    int volatilityPeriod
    PriceType priceType
    HVSheduleMode hvMode
    Returns
    Type Description
    Indicator

    HV(int, int, PriceType, HVSheduleMode, int)

    Declaration
    public Indicator HV(int stdPeriod, int volatilityPeriod, PriceType priceType, HVSheduleMode hvMode, int percentilePeriod)
    Parameters
    Type Name Description
    int stdPeriod
    int volatilityPeriod
    PriceType priceType
    HVSheduleMode hvMode
    int percentilePeriod
    Returns
    Type Description
    Indicator

    ICH(int, int, int)

    Gets the Ichimoku.

    Enables to quickly discern and filter 'at a glance' the low-probability trading setups from those of higher probability.

    Declaration
    public Indicator ICH(int TenkanPeriod, int KijunPeriod, int SenkouSpanB)
    Parameters
    Type Name Description
    int TenkanPeriod

    Tenkan Period

    int KijunPeriod

    Kijun Period

    int SenkouSpanB

    Senkou Span B

    Returns
    Type Description
    Indicator
    Exceptions
    Type Condition
    ArgumentOutOfRangeException

    KAMA(int, double, double, PriceType)

    Returns an instance of the Kaufman Adaptive Moving Average (KAMA) indicator.

    KAMA is an exponential style average with a smoothing that varies according to recent data.

    Declaration
    public Indicator KAMA(int period, double fast, double slow, PriceType priceType)
    Parameters
    Type Name Description
    int period

    Period

    double fast

    Fast factor

    double slow

    Slow factor

    PriceType priceType

    Sources prices for MA

    Returns
    Type Description
    Indicator
    Exceptions
    Type Condition
    ArgumentOutOfRangeException

    KRI(int)

    Returns an instance of the Kairi Relative Index (KRI) indicator.

    KRI calculates deviation of the current price from its simple moving average as a percent of the moving average.

    Declaration
    public Indicator KRI(int period)
    Parameters
    Type Name Description
    int period
    Returns
    Type Description
    Indicator
    Exceptions
    Type Condition
    ArgumentOutOfRangeException

    Keltner(int, double, PriceType, MaMode, IndicatorCalculationType)

    Returns an instance of the Keltner Channel indicator.

    Keltner Channels are volatility-based envelopes set above and below an exponential moving average.

    Declaration
    public Indicator Keltner(int period, double offset, PriceType priceType, MaMode mode, IndicatorCalculationType calculationType = IndicatorCalculationType.AllAvailableData)
    Parameters
    Type Name Description
    int period

    Period of MA for Keltner's Channel

    double offset

    Coefficient of channel's width

    PriceType priceType

    Sources prices for MA

    MaMode mode

    Type of Moving Average

    IndicatorCalculationType calculationType

    Calculation type

    Returns
    Type Description
    Indicator
    Exceptions
    Type Condition
    ArgumentOutOfRangeException

    LWMA(int, PriceType)

    Gets the Linearly Weighted Moving Average

    Linear Weighted Moving Average makes the most recent bar more important unlike SMA.

    Declaration
    public Indicator LWMA(int maPeriod, PriceType priceType)
    Parameters
    Type Name Description
    int maPeriod

    Moving average period

    PriceType priceType

    Type of the price

    Returns
    Type Description
    Indicator
    Exceptions
    Type Condition
    ArgumentOutOfRangeException

    MA(int, PriceType, MaMode, IndicatorCalculationType)

    Gets the specific MA indicator, according to selected 'MaMode'.

    Declaration
    public Indicator MA(int period, PriceType priceType, MaMode maMode, IndicatorCalculationType calculationType = IndicatorCalculationType.AllAvailableData)
    Parameters
    Type Name Description
    int period

    Period of moving average.

    PriceType priceType

    Type of price.

    MaMode maMode

    MA mode.

    IndicatorCalculationType calculationType

    Calculation type

    Returns
    Type Description
    Indicator
    Exceptions
    Type Condition
    ArgumentOutOfRangeException

    MACD(int, int, int, IndicatorCalculationType)

    Gets the MACD (Moving Average Convergence/Divergence) indicator.

    The MACD is a trend-following momentum indicator that shows the relationship between two moving averages of prices.

    Declaration
    public Indicator MACD(int fastEMA, int slowEMA, int signalEMA, IndicatorCalculationType calculationType = IndicatorCalculationType.AllAvailableData)
    Parameters
    Type Name Description
    int fastEMA

    Period of fast EMA.

    int slowEMA

    Period of slow EMA.

    int signalEMA

    Period of signal EMA.

    IndicatorCalculationType calculationType

    Calculation type

    Returns
    Type Description
    Indicator
    Exceptions
    Type Condition
    ArgumentOutOfRangeException

    MAE(int, PriceType, MaMode, double, double, IndicatorCalculationType)

    Gets the MAE (Moving Average Envelope) indicator.

    The 'MAE' indicator demonstrates a range of the prices discrepancy from a Moving Average.

    Declaration
    public Indicator MAE(int period, PriceType priceType, MaMode maMode, double upShift, double downShift, IndicatorCalculationType calculationType = IndicatorCalculationType.AllAvailableData)
    Parameters
    Type Name Description
    int period

    Period of MA for envelopes.

    PriceType priceType

    Sources prices for MA.

    MaMode maMode

    Type of moving average.

    double upShift

    Upband deviation in %.

    double downShift

    Downband deviation in %.

    IndicatorCalculationType calculationType

    Calculation type

    Returns
    Type Description
    Indicator
    Exceptions
    Type Condition
    ArgumentOutOfRangeException

    MAS3(int, int, int, int)

    Gets the MAS3 (3MASignal) indicator.

    The 'MAS3' indicator offers buy and sell signals according to intersections of three moving averages.

    Declaration
    public Indicator MAS3(int shortPeriod, int middlePeriod, int longPeriod, int barsInterval)
    Parameters
    Type Name Description
    int shortPeriod

    Short moving average period.

    int middlePeriod

    Middle moving average period.

    int longPeriod

    Long moving average period.

    int barsInterval

    The count of bars. The trend will be determined on this interval.

    Returns
    Type Description
    Indicator
    Exceptions
    Type Condition
    ArgumentOutOfRangeException

    MD(int, int, PriceType, IndicatorCalculationType)

    Returns an instance of the McGinley Dynamic indicator.

    McGinley Dynamic avoids of most whipsaws and it rapidly moves up or down according to a quickly changing market. It needs no adjusting because it is dynamic and it adjusts itself.

    Declaration
    public Indicator MD(int period, int trackingFactor, PriceType priceType, IndicatorCalculationType calculationType = IndicatorCalculationType.AllAvailableData)
    Parameters
    Type Name Description
    int period

    Period of exponential moving average

    int trackingFactor

    Dynamic tracking factor

    PriceType priceType

    Source price type

    IndicatorCalculationType calculationType

    Calculation type

    Returns
    Type Description
    Indicator
    Exceptions
    Type Condition
    ArgumentOutOfRangeException

    MFI(int)

    Gets the MFI(Money Flow Index) indicator.

    The MFI(Money Flow Index) is an oscillator that uses both price and volume to measure buying and selling pressure.

    Declaration
    public Indicator MFI(int period)
    Parameters
    Type Name Description
    int period

    Period of MFI.

    Returns
    Type Description
    Indicator
    Exceptions
    Type Condition
    ArgumentOutOfRangeException

    MMA(int, PriceType)

    Returns an instance of the Modified Moving Average (MMA) indicator.

    MMA comprises a sloping factor to help it overtake with the growing or declining value of the trading price of the currency.

    Declaration
    public Indicator MMA(int maPeriod, PriceType priceType)
    Parameters
    Type Name Description
    int maPeriod

    Period of Modified Moving Average

    PriceType priceType

    Sources prices for MA

    Returns
    Type Description
    Indicator
    Exceptions
    Type Condition
    ArgumentOutOfRangeException

    Momentum(int, PriceType)

    Gets the Momentum indicator.

    Momentum compares where the current price is in relation to where the price was in the past.

    Declaration
    public Indicator Momentum(int period, PriceType priceType)
    Parameters
    Type Name Description
    int period

    Period for Momentum

    PriceType priceType

    Sources prices for Momentum

    Returns
    Type Description
    Indicator
    Exceptions
    Type Condition
    ArgumentOutOfRangeException

    OBV(PriceType)

    Gets On Balance Volume.

    On Balance Volume (OBV) measures buying and selling pressure as a cumulative indicator that adds volume on up days and subtracts volume on down days.

    Declaration
    public Indicator OBV(PriceType priceType)
    Parameters
    Type Name Description
    PriceType priceType

    Sources prices for OBV

    Returns
    Type Description
    Indicator
    Exceptions
    Type Condition
    ArgumentOutOfRangeException

    OsMA(int, int, int, IndicatorCalculationType)

    Gets the OsMA (Moving Average of Oscillator) indicator.

    The OsMA reflects the difference between an oscillator (MACD) and its moving average (signal line).

    Declaration
    public Indicator OsMA(int fastEMA, int slowEMA, int signalEMA, IndicatorCalculationType calculationType = IndicatorCalculationType.AllAvailableData)
    Parameters
    Type Name Description
    int fastEMA

    Period of fast EMA.

    int slowEMA

    Period of slow EMA.

    int signalEMA

    Period of signal EMA.

    IndicatorCalculationType calculationType

    Calculation type

    Returns
    Type Description
    Indicator
    Exceptions
    Type Condition
    ArgumentOutOfRangeException

    PO(int, int, PriceType, MaMode, IndicatorCalculationType)

    Returns an instance of the Price Oscillator (PO) indicator.

    PO calculates the variation between price moving averages.

    Declaration
    public Indicator PO(int period1, int period2, PriceType priceType, MaMode mode, IndicatorCalculationType calculationType = IndicatorCalculationType.AllAvailableData)
    Parameters
    Type Name Description
    int period1

    Period of MA1

    int period2

    Period of MA2

    PriceType priceType

    Sources prices for MA

    MaMode mode

    Type of Moving Average

    IndicatorCalculationType calculationType

    Calculation type

    Returns
    Type Description
    Indicator
    Exceptions
    Type Condition
    ArgumentOutOfRangeException

    PPMA(int)

    Gets the PPMA(Pivot Point Moving Average) indicator.

    The 'PPMA' indicator uses the pivot point calculation as the input a simple moving average.

    Declaration
    public Indicator PPMA(int period)
    Parameters
    Type Name Description
    int period

    Period of PPMA indicator

    Returns
    Type Description
    Indicator
    Exceptions
    Type Condition
    ArgumentOutOfRangeException

    PPO(int, int, int, IndicatorCalculationType)

    Returns an instance of the Percentage Price Oscillator (PPO).

    Percentage Price Oscillator is a momentum indicator. Signal line is EMA of PPO. Formula: (FastEMA-SlowEMA)/SlowEMA.

    Declaration
    public Indicator PPO(int fastPeriod, int slowPeriod, int signalPeriod, IndicatorCalculationType calculationType = IndicatorCalculationType.AllAvailableData)
    Parameters
    Type Name Description
    int fastPeriod

    Fast EMA Period

    int slowPeriod

    Slow EMA Period

    int signalPeriod

    Signal EMA Period

    IndicatorCalculationType calculationType

    Calculation type

    Returns
    Type Description
    Indicator
    Exceptions
    Type Condition
    ArgumentOutOfRangeException

    PVI(PriceType)

    Returns an instance of the Positive Volume Index (PVI) indicator.

    The PVI value changes on the periods in which value of volume has increased in comparison with the previous period.

    Declaration
    public Indicator PVI(PriceType priceType)
    Parameters
    Type Name Description
    PriceType priceType
    Returns
    Type Description
    Indicator
    Exceptions
    Type Condition
    ArgumentOutOfRangeException

    Qstick(int, MaMode, IndicatorCalculationType)

    Returns an instance of the Qstick indicator.

    The Qstick is a moving average that shows the difference between the prices at which an issue opens and closes.

    Declaration
    public Indicator Qstick(int period, MaMode mode, IndicatorCalculationType calculationType = IndicatorCalculationType.AllAvailableData)
    Parameters
    Type Name Description
    int period
    MaMode mode
    IndicatorCalculationType calculationType

    Calculation type

    Returns
    Type Description
    Indicator
    Exceptions
    Type Condition
    ArgumentOutOfRangeException

    RLW(int)

    Gets the %R Larry Williams.

    Uses Stochastic to determine overbought and oversold levels.

    Declaration
    public Indicator RLW(int period)
    Parameters
    Type Name Description
    int period

    Period for Momentum

    Returns
    Type Description
    Indicator
    Exceptions
    Type Condition
    ArgumentOutOfRangeException

    ROC(int)

    Gets the ROC (Rate of Change) indicator.

    The ROC shows the speed at which price is changing.

    Declaration
    public Indicator ROC(int period)
    Parameters
    Type Name Description
    int period

    Period of momentum.

    Returns
    Type Description
    Indicator
    Exceptions
    Type Condition
    ArgumentOutOfRangeException

    RSI(int, PriceType, RSIMode, MaMode, int, IndicatorCalculationType)

    Gets the RSI indicator.

    Relative Strength Index (RSI) is a momentum oscillator that measures the speed and change of price movements.

    Declaration
    public Indicator RSI(int period, PriceType priceType, RSIMode rsiMode, MaMode maMode, int maperiod, IndicatorCalculationType calculationType = IndicatorCalculationType.AllAvailableData)
    Parameters
    Type Name Description
    int period

    RSI Period

    PriceType priceType

    Price Type

    RSIMode rsiMode

    RSI Mode (Simple or Exponential)

    MaMode maMode

    MA Mode for smooth data

    int maperiod

    MA period for smooth data

    IndicatorCalculationType calculationType

    Calculation type

    Returns
    Type Description
    Indicator
    Exceptions
    Type Condition
    ArgumentOutOfRangeException

    Regression(int, PriceType)

    Gets the Regression indicator

    The Linear Regression Indicator plots the ending value of a Linear Regression Line for a specified number of bars; showing, statistically, where the price is expected to be.

    Declaration
    public Indicator Regression(int period, PriceType priceType)
    Parameters
    Type Name Description
    int period

    Moving average period

    PriceType priceType

    Type of the price

    Returns
    Type Description
    Indicator
    Exceptions
    Type Condition
    ArgumentOutOfRangeException

    SAR(double, double)

    Returns an instance of the Parabolic Time/Price System (SAR) indicator.

    SAR indicator helps to define the direction of the prevailing trend and the moment to close positions opened during the reversal.

    Declaration
    public Indicator SAR(double step, double maximum)
    Parameters
    Type Name Description
    double step

    Step of parabolic SAR system

    double maximum

    Maximum value for the acceleration factor

    Returns
    Type Description
    Indicator
    Exceptions
    Type Condition
    ArgumentOutOfRangeException

    SD(int, PriceType, MaMode, IndicatorCalculationType)

    Returns an instance of the Standart Deviation (SD) indicator.

    The SD shows the difference of the volatility value from the average one.

    Declaration
    public Indicator SD(int period, PriceType priceType, MaMode mode, IndicatorCalculationType calculationType = IndicatorCalculationType.AllAvailableData)
    Parameters
    Type Name Description
    int period

    Period of indicator

    PriceType priceType

    Sources prices for MA

    MaMode mode

    Type of Moving Average

    IndicatorCalculationType calculationType

    Calculation type

    Returns
    Type Description
    Indicator
    Exceptions
    Type Condition
    ArgumentOutOfRangeException

    SI(double)

    Get the Swing Index (SI) indicator.

    The SI is used to confirm trend line breakouts on price charts.

    Declaration
    public Indicator SI(double divider)
    Parameters
    Type Name Description
    double divider

    The divider.

    Returns
    Type Description
    Indicator
    Exceptions
    Type Condition
    ArgumentOutOfRangeException

    SMA(int, PriceType)

    Gets the SMA(Simple Moving Average) indicator.

    The 'SMA' indicator provides an average price for the last N periods.

    Declaration
    public Indicator SMA(int period, PriceType priceType)
    Parameters
    Type Name Description
    int period

    Period of simple moving average.

    PriceType priceType

    Sources prices for MA.

    Returns
    Type Description
    Indicator
    Exceptions
    Type Condition
    ArgumentOutOfRangeException

    SMMA(int, PriceType, IndicatorCalculationType)

    Returns an instance of the Smoothed Moving Average (SMMA) indicator.

    SMMA indicator provides a smoothed average price for the last N periods.

    Declaration
    public Indicator SMMA(int period, PriceType priceType, IndicatorCalculationType calculationType = IndicatorCalculationType.AllAvailableData)
    Parameters
    Type Name Description
    int period

    Moving average period

    PriceType priceType

    Type of the price

    IndicatorCalculationType calculationType

    Calculation type

    Returns
    Type Description
    Indicator
    Exceptions
    Type Condition
    ArgumentOutOfRangeException

    Stochastic(int, int, int, MaMode, IndicatorCalculationType)

    Gets the Stochastic Slow.

    Shows the location of the current close relative to the high/low range over a set number of periods (Slow).

    Declaration
    public Indicator Stochastic(int period, int smooth, int doubleSmooth, MaMode MaType, IndicatorCalculationType calculationType = IndicatorCalculationType.AllAvailableData)
    Parameters
    Type Name Description
    int period

    Period

    int smooth

    Smoothing

    int doubleSmooth

    Double smoothing

    MaMode MaType

    Moving type

    IndicatorCalculationType calculationType

    Calculation type

    Returns
    Type Description
    Indicator
    Exceptions
    Type Condition
    ArgumentOutOfRangeException

    StochasticxRSI(int, int, int)

    Gets the Stochastic x Relative Strength Index.

    StochRSI is an oscillator that measures the level of RSI relative to its range.

    Declaration
    public Indicator StochasticxRSI(int rsiPeriod, int kPeriod, int dPeriod)
    Parameters
    Type Name Description
    int rsiPeriod

    Period

    int kPeriod

    Smoothing

    int dPeriod

    Double smoothing

    Returns
    Type Description
    Indicator
    Exceptions
    Type Condition
    ArgumentOutOfRangeException

    TSI(int, int, IndicatorCalculationType)

    Get the True Strength Index (TSI) indicator.

    The TSI is a variation of the Relative Strength Indicator which uses a doubly-smoothed EMA of price momentum to eliminate choppy price changes and spot trend changes.

    Declaration
    public Indicator TSI(int firstPeriod, int secondPeriod, IndicatorCalculationType calculationType = IndicatorCalculationType.AllAvailableData)
    Parameters
    Type Name Description
    int firstPeriod

    First MA period.

    int secondPeriod

    Second MA period.

    IndicatorCalculationType calculationType

    Calculation type

    Returns
    Type Description
    Indicator
    Exceptions
    Type Condition
    ArgumentOutOfRangeException

    Volume()

    Returns an instance of the Volume indicator.

    Volume allows to confirm the strength of a trend or to suggest about it's weakness.

    Declaration
    public Indicator Volume()
    Returns
    Type Description
    Indicator
    Exceptions
    Type Condition
    ArgumentOutOfRangeException

    ZZ(double)

    Returns an instance of the ZigZag indicator.

    ZigZag is a trend following indicator that is used to predict when a given symbol's momentum is reversing.

    Declaration
    public Indicator ZZ(double deviation)
    Parameters
    Type Name Description
    double deviation

    Percent Deviation

    Returns
    Type Description
    Indicator
    Exceptions
    Type Condition
    ArgumentOutOfRangeException
    Back to top Copyright QUANTOWER LLC. © 2017-2023. All rights reserved.