com.optstack.api.studies

StudiesT

trait StudiesT extends StudiesOperationsT

List of supported technical, statistical, volatility, mathematical studies

Studies can be added / subtracted / multiplied / deleted:

var ndx = this.getInstrument ("^NDX")

var mvg20 = ndx.studies.MovingAverage(20)
var mvg10 = ndx.studies.MovingAverage(10)
var mvg5 = ndx.studies.MovingAverage(5)

// (subtract [10 period] Mvg from [20 period] Mvg) and divide by [5 period] Mvg
var mvgRatio = (mvg20 - mvg10) / mvg5

Studies can be compared with each other (greater than, less than, crossesAbove, etc..):

mvg20.crossesAbove(mvg10)
mvg10.crossesBelow(mvg5)
mvg10 >=  ((mvg20 + mvg5) / 2)

Studies can be chained together, where the output of one study is used as the input of the next study

// compute the [10 period] Moving Average of the [14 period] Standard Deviation
var averageStdDev= ndx.studies.StdDev(14).MovingAverage(10)

// compute the [14 period] Standard Deviation of the [10 period] Moving Average
var stdDevOfAverage= ndx.studies.MovingAverage(10).StdDev(14)

// compute the [6 period] Standard Deviation of the [5 period] Moving Average of the [10 period] 100x Correlation
var t = (ndx.studies.Correlation(security=rut,timePeriod=10) * 100).MovingAverage(5).StdDev(6)
Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. StudiesT
  2. StudiesOperationsT
  3. MathOperationsT
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def !==(d: Any): Boolean

    Does NOT Equal

    Does NOT Equal

    Definition Classes
    StudiesOperationsT
    Annotations
    @FunctionInfo()
  2. abstract def <(d: Any): Boolean

    Less Than

    Less Than

    Definition Classes
    StudiesOperationsT
    Annotations
    @FunctionInfo()
  3. abstract def <=(d: Double): Boolean

    Less Than Or Equal

    Less Than Or Equal

    Definition Classes
    StudiesOperationsT
    Annotations
    @FunctionInfo()
  4. abstract def <=(d: Any): Boolean

    Less Than Or Equal

    Less Than Or Equal

    Definition Classes
    StudiesOperationsT
    Annotations
    @FunctionInfo()
  5. abstract def ===(d: Any): Boolean

    Is Equals To

    Is Equals To

    Definition Classes
    StudiesOperationsT
    Annotations
    @FunctionInfo()
  6. abstract def >(d: Any): Boolean

    Greater Than

    Greater Than

    Definition Classes
    StudiesOperationsT
    Annotations
    @FunctionInfo()
  7. abstract def >=(d: Double): Boolean

    Greater Than Or Equal

    Greater Than Or Equal

    Definition Classes
    StudiesOperationsT
    Annotations
    @FunctionInfo()
  8. abstract def >=(d: Any): Boolean

    Greater Than Or Equals

    Greater Than Or Equals

    Definition Classes
    StudiesOperationsT
    Annotations
    @FunctionInfo()
  9. abstract def ADLine()(implicit scriptExecContext: <error>): StudiesT

    Chaikin A/D Line is a volume-based indicator designed to measure the cumulative flow of money into and out of a security

    Chaikin A/D Line is a volume-based indicator designed to measure the cumulative flow of money into and out of a security

    Annotations
    @FunctionInfo()
  10. abstract def Acos(barType: BarType = BarType.CLOSE_OR_MARK)(implicit scriptExecContext: <error>): StudiesT

    Vector Trigonometric ACos

    Vector Trigonometric ACos

    Annotations
    @FunctionInfo()
  11. abstract def AdOsc(fastPeriod: Int = 3, slowPeriod: Int = 10)(implicit scriptExecContext: <error>): StudiesT

    Chaikin A/D Oscillator measures the momentum of the Accumulation Distribution Line using the MACD formula.

    Chaikin A/D Oscillator measures the momentum of the Accumulation Distribution Line using the MACD formula.

    Annotations
    @FunctionInfo()
  12. abstract def Add(security: SecurityT, barType: BarType = BarType.CLOSE_OR_MARK)(implicit scriptExecContext: <error> = null): StudiesT

    Add the prices of two instruments together

    Add the prices of two instruments together

    Annotations
    @FunctionInfo()
  13. abstract def Adx(timePeriod: Int)(implicit scriptExecContext: <error>): StudiesT

    Average Directional Movement Index is used to determine when price is trending strongly

    Average Directional Movement Index is used to determine when price is trending strongly

    Annotations
    @FunctionInfo()
  14. abstract def Adxr(timePeriod: Int)(implicit scriptExecContext: <error>): StudiesT

    Average Directional Movement Index Rating measures the strength of the Average Directional Movement Index (ADX).

    Average Directional Movement Index Rating measures the strength of the Average Directional Movement Index (ADX).

    Annotations
    @FunctionInfo()
  15. abstract def Apo(fastPeriod: Int = 12, slowPeriod: Int = 26, MAType: <error> = MovingAverageType.SMA, barType: BarType = BarType.CLOSE_OR_MARK)(implicit scriptExecContext: <error>): StudiesT

    Absolute Price Oscillator is an indicator based on the difference between two Exponential Moving Averages (EMA).

    Absolute Price Oscillator is an indicator based on the difference between two Exponential Moving Averages (EMA).

    Annotations
    @FunctionInfo()
  16. abstract def Aroon(timePeriod: Int)(implicit scriptExecContext: <error>): AroonT

    The Aroon indicator is a technical indicator used for identifying trends in an underlying security and the likelihood that the trends will reverse.

    The Aroon indicator is a technical indicator used for identifying trends in an underlying security and the likelihood that the trends will reverse. The indicator reports the time it is taking for the price to reach, from a starting point, the highest and lowest points over a given time period, each reported as a percentage of total time.

    Annotations
    @FunctionInfo()
  17. abstract def AroonOsc(timePeriod: Int)(implicit scriptExecContext: <error>): StudiesT

    The Aroon oscillator is calculated by subtracting Aroon down from Aroon up.

    The Aroon oscillator is calculated by subtracting Aroon down from Aroon up. Readings above zero indicate that an uptrend is present, while readings below zero indicate that a downtrend is present.

    Annotations
    @FunctionInfo()
  18. abstract def Asin(barType: BarType = BarType.CLOSE_OR_MARK)(implicit scriptExecContext: <error>): StudiesT

    Vector Trigonometric ASin

    Vector Trigonometric ASin

    Annotations
    @FunctionInfo()
  19. abstract def Atan(barType: BarType = BarType.CLOSE_OR_MARK)(implicit scriptExecContext: <error>): StudiesT

    Vector Trigonometric ATan

    Vector Trigonometric ATan

    Annotations
    @FunctionInfo()
  20. abstract def Atr(timePeriod: Int)(implicit scriptExecContext: <error>): StudiesT

    The Average True Range (ATR) is an indicator that measures volatility.

    The Average True Range (ATR) is an indicator that measures volatility.

    Annotations
    @FunctionInfo()
  21. abstract def AvgPrice()(implicit scriptExecContext: <error>): StudiesT

    Average Price

    Average Price

    Annotations
    @FunctionInfo()
  22. abstract def Beta(indexToUseForBeta: SecurityT, timePeriod: Int, barType: BarType = BarType.CLOSE_OR_MARK)(implicit scriptExecContext: <error> = null): StudiesT

    Beta is a measure of the volatility, or systematic risk, of a security or a portfolio in comparison to the market as a whole.

    Beta is a measure of the volatility, or systematic risk, of a security or a portfolio in comparison to the market as a whole.

    Annotations
    @FunctionInfo()
  23. abstract def BollingerBands(timePeriod: Int, nDeviationUp: Double = 2, nDeviationDown: Double = 2, movingAverageType: <error> = MovingAverageType.SMA, barType: BarType = BarType.CLOSE_OR_MARK)(implicit scriptExecContext: <error> = null): BollingerT

    Bollinger Bands study consists of two lines plotted, by default, two standard deviations above and below a moving average of specified type and length.

    Bollinger Bands study consists of two lines plotted, by default, two standard deviations above and below a moving average of specified type and length. Standard deviation changes as price volatility increases or decreases.

    Annotations
    @FunctionInfo()
  24. abstract def Bop()(implicit scriptExecContext: <error>): StudiesT

    The Balance of Power indicator measures the market strength of buyers against sellers by assessing the ability of each side to drive prices to an extreme level.

    The Balance of Power indicator measures the market strength of buyers against sellers by assessing the ability of each side to drive prices to an extreme level.

    Annotations
    @FunctionInfo()
  25. abstract def Cci(timePeriod: Int)(implicit scriptExecContext: <error>): StudiesT

    Commodity Channel Index (CCI) is a momentum oscillator that can be used to identify overbought/oversold levels or trend reversals.

    Commodity Channel Index (CCI) is a momentum oscillator that can be used to identify overbought/oversold levels or trend reversals. The indicator becomes overbought or oversold when it reaches a relative extreme.

    Annotations
    @FunctionInfo()
  26. abstract def Cdl2Crows()(implicit scriptExecContext: <error>): StudiesT

    Two Crows is a bearish reversal pattern.

    Two Crows is a bearish reversal pattern. In this pattern, during an uptrend, after opening gap-up, market closes lower. Next day, a black candle occurs, which fills the gap, and thus Two Crows pattern is formed. The pattern is an indicator of eroding uptrend and a warning about a possible reversal in trend.

    Annotations
    @FunctionInfo()
  27. abstract def Cdl3BlackCrows()(implicit scriptExecContext: <error>): StudiesT

    Three black crows is a bearish candlestick pattern that is used to predict the reversal of the current uptrend.

    Three black crows is a bearish candlestick pattern that is used to predict the reversal of the current uptrend. This pattern consists of three consecutive long-bodied candlesticks that have closed lower than the previous day with each session's open occurring within the body of the previous candle.

    Annotations
    @FunctionInfo()
  28. abstract def Cdl3Inside()(implicit scriptExecContext: <error>): StudiesT

    Three Inside Up/Down are reversal patterns.

    Three Inside Up/Down are reversal patterns. The first candle is long in the direction of the trend. The second candle is shorter and closes up to the half way mark of the first candlestick, indicating there is a change in momentum. The third candle closes beyond the open of the first candlestick.

    Annotations
    @FunctionInfo()
  29. abstract def Cdl3LineStrike()(implicit scriptExecContext: <error>): StudiesT

    Three Line Strike is a trend continuation candlestick pattern consisting of four candles.

    Three Line Strike is a trend continuation candlestick pattern consisting of four candles. Depending on their heights and collocation, a bullish or a bearish trend continuation can be predicted.

    Annotations
    @FunctionInfo()
  30. abstract def Cdl3Outside()(implicit scriptExecContext: <error>): StudiesT

    Three Outside Up/Down is a trend reversal candlestick pattern consisting of three candles.

    Three Outside Up/Down is a trend reversal candlestick pattern consisting of three candles.

    Annotations
    @FunctionInfo()
  31. abstract def Cdl3StarsInSouth()(implicit scriptExecContext: <error>): StudiesT

    Three Stars In The South is a bullish trend reversal candlestick pattern consisting of three candles.

    Three Stars In The South is a bullish trend reversal candlestick pattern consisting of three candles.

    Annotations
    @FunctionInfo()
  32. abstract def Cdl3WhiteSoldiers()(implicit scriptExecContext: <error>): StudiesT

    Three White Soldiers is a bullish trend reversal candlestick pattern consisting of three candles.

    Three White Soldiers is a bullish trend reversal candlestick pattern consisting of three candles.

    Annotations
    @FunctionInfo()
  33. abstract def CdlAbandonedBaby(penetration: Double = 0.3)(implicit scriptExecContext: <error>): StudiesT

    Abandoned Baby is a pattern that is used by traders to signal a reversal in the current trend

    Abandoned Baby is a pattern that is used by traders to signal a reversal in the current trend

    Annotations
    @FunctionInfo()
  34. abstract def CdlAdvanceBlock()(implicit scriptExecContext: <error>): StudiesT

    Advance Block is classified as a three-line bearish reversal pattern

    Advance Block is classified as a three-line bearish reversal pattern

    Annotations
    @FunctionInfo()
  35. abstract def CdlBeltHold()(implicit scriptExecContext: <error>): StudiesT

    Belt-hold is considered a minor trend reversal pattern that can indicate a bullish or bearish trend reversal

    Belt-hold is considered a minor trend reversal pattern that can indicate a bullish or bearish trend reversal

    Annotations
    @FunctionInfo()
  36. abstract def CdlBreakaway()(implicit scriptExecContext: <error>): StudiesT

    Breakaway is a trend reversal candlestick pattern consisting of five candles.

    Breakaway is a trend reversal candlestick pattern consisting of five candles. Depending on their heights and collocation, a short-term bullish or bearish trend reversal can be predicted.

    Annotations
    @FunctionInfo()
  37. abstract def CdlClosingMarubozu()(implicit scriptExecContext: <error>): StudiesT

    Closing Marubozu is a candlestick pattern which is a candle of specific shape: long and missing both shadows.

    Closing Marubozu is a candlestick pattern which is a candle of specific shape: long and missing both shadows.

    Annotations
    @FunctionInfo()
  38. abstract def CdlConcealBabysWall()(implicit scriptExecContext: <error>): StudiesT

    Concealing Baby Swallow is a bullish trend reversal candlestick pattern consisting of four candles

    Concealing Baby Swallow is a bullish trend reversal candlestick pattern consisting of four candles

    Annotations
    @FunctionInfo()
  39. abstract def CdlCounterAttack()(implicit scriptExecContext: <error>): StudiesT

    Counterattack

    Counterattack

    Annotations
    @FunctionInfo()
  40. abstract def CdlDarkCloudCover(penetration: Double = 0.5)(implicit scriptExecContext: <error>): StudiesT

    Dark Cloud Cover is a bearish trend reversal candlestick pattern consisting of two candles.

    Dark Cloud Cover is a bearish trend reversal candlestick pattern consisting of two candles.

    Annotations
    @FunctionInfo()
  41. abstract def CdlDoji()(implicit scriptExecContext: <error>): StudiesT

    Doji is a candlestick pattern which is a candle of specific shape: its Open price is equal (or almost equal) to the Close price.

    Doji is a candlestick pattern which is a candle of specific shape: its Open price is equal (or almost equal) to the Close price.

    Annotations
    @FunctionInfo()
  42. abstract def CdlDojiStar()(implicit scriptExecContext: <error>): StudiesT

    Doji star is a trend reversal candlestick pattern consisting of three candles.

    Doji star is a trend reversal candlestick pattern consisting of three candles.

    Annotations
    @FunctionInfo()
  43. abstract def CdlDragonflyDoji()(implicit scriptExecContext: <error>): StudiesT

    Dragonfly Doji

    Dragonfly Doji

    Annotations
    @FunctionInfo()
  44. abstract def CdlEngulfing()(implicit scriptExecContext: <error>): StudiesT

    Engulfing pattern is a trend reversal candlestick pattern consisting of two candles.

    Engulfing pattern is a trend reversal candlestick pattern consisting of two candles. Depending on their heights and collocation, a bullish or a bearish trend reversal can be predicted.

    Annotations
    @FunctionInfo()
  45. abstract def CdlEveningDojiStar(penetration: Double = 0.3)(implicit scriptExecContext: <error>): StudiesT

    Evening Doji star is a bearish trend reversal candlestick pattern consisting of three candles.

    Evening Doji star is a bearish trend reversal candlestick pattern consisting of three candles.

    Annotations
    @FunctionInfo()
  46. abstract def CdlEveningStar(penetration: Double = 0.3)(implicit scriptExecContext: <error>): StudiesT

    Evening star is a bearish trend reversal candlestick pattern consisting of three candles.

    Evening star is a bearish trend reversal candlestick pattern consisting of three candles.

    Annotations
    @FunctionInfo()
  47. abstract def CdlGapSideSideWhite()(implicit scriptExecContext: <error>): StudiesT

    Up/down-gap side-by-side white lines is a trend continuation candlestick pattern consisting of three candles.

    Up/down-gap side-by-side white lines is a trend continuation candlestick pattern consisting of three candles. Depending on their heights and collocation, a bullish or a bearish trend continuation can be predicted.

    Annotations
    @FunctionInfo()
  48. abstract def CdlGravestoneDoji()(implicit scriptExecContext: <error>): StudiesT

    Gravestone Doji

    Gravestone Doji

    Annotations
    @FunctionInfo()
  49. abstract def CdlHammer()(implicit scriptExecContext: <error>): StudiesT

    Hammer is a bullish trend reversal candlestick pattern which is a candle of specific shape.

    Hammer is a bullish trend reversal candlestick pattern which is a candle of specific shape.

    Annotations
    @FunctionInfo()
  50. abstract def CdlHangingMan()(implicit scriptExecContext: <error>): StudiesT

    Hanging Man is a bearish trend reversal candlestick pattern which is a candle of specific shape.

    Hanging Man is a bearish trend reversal candlestick pattern which is a candle of specific shape.

    Annotations
    @FunctionInfo()
  51. abstract def CdlHarami()(implicit scriptExecContext: <error>): StudiesT

    Harami is a trend reversal candlestick pattern consisting of two candles.

    Harami is a trend reversal candlestick pattern consisting of two candles. Depending on their heights and collocation, a bullish or a bearish trend reversal can be predicted.

    Annotations
    @FunctionInfo()
  52. abstract def CdlHaramiCross()(implicit scriptExecContext: <error>): StudiesT

    Harami Cross is a trend reversal candlestick pattern consisting of two candles.

    Harami Cross is a trend reversal candlestick pattern consisting of two candles. It is considered a particular case of the Harami candlestick pattern.

    Annotations
    @FunctionInfo()
  53. abstract def CdlHighWave()(implicit scriptExecContext: <error>): StudiesT

    High-Wave Candle

    High-Wave Candle

    Annotations
    @FunctionInfo()
  54. abstract def CdlHikkake()(implicit scriptExecContext: <error>): StudiesT

    Hikkake Pattern

    Hikkake Pattern

    Annotations
    @FunctionInfo()
  55. abstract def CdlHikkakeMod()(implicit scriptExecContext: <error>): StudiesT

    Modified Hikkake Pattern

    Modified Hikkake Pattern

    Annotations
    @FunctionInfo()
  56. abstract def CdlHomingPigeon()(implicit scriptExecContext: <error>): StudiesT

    Homing Pigeon is a bullish trend reversal candlestick pattern consisting of two candles.

    Homing Pigeon is a bullish trend reversal candlestick pattern consisting of two candles.

    Annotations
    @FunctionInfo()
  57. abstract def CdlIdentical3Crows()(implicit scriptExecContext: <error>): StudiesT

    Identical Three Crows is a bearish trend reversal candlestick pattern consisting of three candles.

    Identical Three Crows is a bearish trend reversal candlestick pattern consisting of three candles.

    Annotations
    @FunctionInfo()
  58. abstract def CdlInNeck()(implicit scriptExecContext: <error>): StudiesT

    In Neck is a bearish trend continuation candlestick pattern consisting of two candles.

    In Neck is a bearish trend continuation candlestick pattern consisting of two candles.

    Annotations
    @FunctionInfo()
  59. abstract def CdlInvertedHammer()(implicit scriptExecContext: <error>): StudiesT

    Inverted Hammer is a bullish trend reversal candlestick pattern consisting of two candles.

    Inverted Hammer is a bullish trend reversal candlestick pattern consisting of two candles.

    Annotations
    @FunctionInfo()
  60. abstract def CdlKicking()(implicit scriptExecContext: <error>): StudiesT

    Kicking is a trend reversal candlestick pattern consisting of two candles.

    Kicking is a trend reversal candlestick pattern consisting of two candles. Depending on their collocation, a bullish or a bearish trend reversal can be predicted.

    Annotations
    @FunctionInfo()
  61. abstract def CdlKickingByLength()(implicit scriptExecContext: <error>): StudiesT

    Kicking - bull / bear determined by the longer marubozu

    Kicking - bull / bear determined by the longer marubozu

    Annotations
    @FunctionInfo()
  62. abstract def CdlLadderBottom()(implicit scriptExecContext: <error>): StudiesT

    Ladder Bottom

    Ladder Bottom

    Annotations
    @FunctionInfo()
  63. abstract def CdlLongLeggedDoji()(implicit scriptExecContext: <error>): StudiesT

    Long Legged Doji is a trend reversal candlestick pattern which is a Doji candle of specific shape.

    Long Legged Doji is a trend reversal candlestick pattern which is a Doji candle of specific shape.

    Annotations
    @FunctionInfo()
  64. abstract def CdlLongLine()(implicit scriptExecContext: <error>): StudiesT

    Long Line Candle

    Long Line Candle

    Annotations
    @FunctionInfo()
  65. abstract def CdlMarubozu()(implicit scriptExecContext: <error>): StudiesT

    Marubozu is a candlestick pattern which is a candle of specific shape: long and missing both shadows.

    Marubozu is a candlestick pattern which is a candle of specific shape: long and missing both shadows.

    Annotations
    @FunctionInfo()
  66. abstract def CdlMatHold(penetration: Double = 0.5)(implicit scriptExecContext: <error>): StudiesT

    Mat Hold is a bullish trend continuation candlestick pattern consisting of five candles

    Mat Hold is a bullish trend continuation candlestick pattern consisting of five candles

    Annotations
    @FunctionInfo()
  67. abstract def CdlMatchingLow()(implicit scriptExecContext: <error>): StudiesT

    Matching Low is a bullish trend reversal candlestick pattern consisting of two candles.

    Matching Low is a bullish trend reversal candlestick pattern consisting of two candles.

    Annotations
    @FunctionInfo()
  68. abstract def CdlMorningDojiStar(penetration: Double = 0.3)(implicit scriptExecContext: <error>): StudiesT

    Morning Doji Star is a bullish trend reversal candlestick pattern consisting of three candles.

    Morning Doji Star is a bullish trend reversal candlestick pattern consisting of three candles.

    Annotations
    @FunctionInfo()
  69. abstract def CdlMorningStar(penetration: Double = 0.3)(implicit scriptExecContext: <error>): StudiesT

    Morning Star is a bullish trend reversal candlestick pattern consisting of three candles.

    Morning Star is a bullish trend reversal candlestick pattern consisting of three candles.

    Annotations
    @FunctionInfo()
  70. abstract def CdlOnNeck()(implicit scriptExecContext: <error>): StudiesT

    On-Neck Pattern is a bearish trend continuation candlestick pattern consisting of two candles.

    On-Neck Pattern is a bearish trend continuation candlestick pattern consisting of two candles.

    Annotations
    @FunctionInfo()
  71. abstract def CdlPiercing()(implicit scriptExecContext: <error>): StudiesT

    Piercing is a bullish trend reversal candlestick pattern consisting of two candles

    Piercing is a bullish trend reversal candlestick pattern consisting of two candles

    Annotations
    @FunctionInfo()
  72. abstract def CdlRickshawMan()(implicit scriptExecContext: <error>): StudiesT

    Rickshaw Man

    Rickshaw Man

    Annotations
    @FunctionInfo()
  73. abstract def CdlRiseFall3Methods()(implicit scriptExecContext: <error>): StudiesT

    Rising / Falling Three Methods is a trend continuation candlestick pattern consisting of five candles.

    Rising / Falling Three Methods is a trend continuation candlestick pattern consisting of five candles.

    Annotations
    @FunctionInfo()
  74. abstract def CdlSeperatingLines()(implicit scriptExecContext: <error>): StudiesT

    Separating Lines is a trend continuation candlestick pattern consisting of two candles.

    Separating Lines is a trend continuation candlestick pattern consisting of two candles.

    Annotations
    @FunctionInfo()
  75. abstract def CdlShootingStar()(implicit scriptExecContext: <error>): StudiesT

    Shooting Star is a bearish trend reversal candlestick pattern consisting of two candles.

    Shooting Star is a bearish trend reversal candlestick pattern consisting of two candles.

    Annotations
    @FunctionInfo()
  76. abstract def CdlShortLine()(implicit scriptExecContext: <error>): StudiesT

    Short Line Candle

    Short Line Candle

    Annotations
    @FunctionInfo()
  77. abstract def CdlSpinningTop()(implicit scriptExecContext: <error>): StudiesT

    Spinning Top

    Spinning Top

    Annotations
    @FunctionInfo()
  78. abstract def CdlStalledPattern()(implicit scriptExecContext: <error>): StudiesT

    Stalled pattern

    Stalled pattern

    Annotations
    @FunctionInfo()
  79. abstract def CdlStickSandwhich()(implicit scriptExecContext: <error>): StudiesT

    Stick Sandwich is a bullish trend reversal candlestick pattern consisting of three candles.

    Stick Sandwich is a bullish trend reversal candlestick pattern consisting of three candles.

    Annotations
    @FunctionInfo()
  80. abstract def CdlTakuri()(implicit scriptExecContext: <error>): StudiesT

    Takuri (Dragonfly Doji with very long lower shadow)

    Takuri (Dragonfly Doji with very long lower shadow)

    Annotations
    @FunctionInfo()
  81. abstract def CdlTasukiGap()(implicit scriptExecContext: <error>): StudiesT

    Tasuki Gap is a trend continuation candlestick pattern consisting of three candles

    Tasuki Gap is a trend continuation candlestick pattern consisting of three candles

    Annotations
    @FunctionInfo()
  82. abstract def CdlThrusting()(implicit scriptExecContext: <error>): StudiesT

    Thrusting Pattern is a bearish trend continuation candlestick pattern consisting of two candles.

    Thrusting Pattern is a bearish trend continuation candlestick pattern consisting of two candles.

    Annotations
    @FunctionInfo()
  83. abstract def CdlTristar()(implicit scriptExecContext: <error>): StudiesT

    Tristar Pattern is a trend reversal candlestick pattern consisting of three Doji candles.

    Tristar Pattern is a trend reversal candlestick pattern consisting of three Doji candles.

    Annotations
    @FunctionInfo()
  84. abstract def CdlUnique3River()(implicit scriptExecContext: <error>): StudiesT

    Unique 3 River is a bullish trend reversal candlestick pattern consisting of three candles.

    Unique 3 River is a bullish trend reversal candlestick pattern consisting of three candles.

    Annotations
    @FunctionInfo()
  85. abstract def CdlUpsideGap2Crows()(implicit scriptExecContext: <error>): StudiesT

    Upside Gap Two Crows is a bearish trend reversal candlestick pattern consisting of three candles.

    Upside Gap Two Crows is a bearish trend reversal candlestick pattern consisting of three candles.

    Annotations
    @FunctionInfo()
  86. abstract def CdlXSideGap3Methods()(implicit scriptExecContext: <error>): StudiesT

    Upside / Downside Gap Three Methods is a trend continuation candlestick pattern consisting of three candles.

    Upside / Downside Gap Three Methods is a trend continuation candlestick pattern consisting of three candles.

    Annotations
    @FunctionInfo()
  87. abstract def Ceil(barType: BarType = BarType.CLOSE_OR_MARK)(implicit scriptExecContext: <error>): StudiesT

    Ceiling

    Ceiling

    Annotations
    @FunctionInfo()
  88. abstract def Cmo(timePeriod: Int = 14, barType: BarType = BarType.CLOSE_OR_MARK)(implicit scriptExecContext: <error>): StudiesT

    Chande Momentum Oscillator is a study concerning the price change rate.

    Chande Momentum Oscillator is a study concerning the price change rate.

    Annotations
    @FunctionInfo()
  89. abstract def ConstantValue(constant: Double)(implicit scriptExecContext: <error> = null): StudiesT

    A constant value

    A constant value

    Annotations
    @FunctionInfo()
  90. abstract def Correlation(securityToCorrelateWith: SecurityT, timePeriod: Int, barType: BarType = BarType.CLOSE_OR_MARK)(implicit scriptExecContext: <error> = null): StudiesT

    Correlation is a measure that determines the degree to which two different instruments' movements are associated.

    Correlation is a measure that determines the degree to which two different instruments' movements are associated. The range of values for the correlation coefficient is -1.0 to 1.0

    Annotations
    @FunctionInfo()
  91. abstract def Cos(barType: BarType = BarType.CLOSE_OR_MARK)(implicit scriptExecContext: <error>): StudiesT

    Cosine

    Cosine

    Annotations
    @FunctionInfo()
  92. abstract def Cosh(barType: BarType = BarType.CLOSE_OR_MARK)(implicit scriptExecContext: <error>): StudiesT

    Hyperbolic Cosine

    Hyperbolic Cosine

    Annotations
    @FunctionInfo()
  93. abstract def CumulativePercentageChange(barType: BarType = BarType.CLOSE_OR_MARK)(implicit scriptExecContext: <error>): StudiesT

    Cumulative percentage change: ((currentPrice / initialPrice) - 1)

    Cumulative percentage change: ((currentPrice / initialPrice) - 1)

    Annotations
    @FunctionInfo()
  94. abstract def DayOfTheMonth()(implicit scriptExecContext: <error> = null): StudiesT

    Day of the month.

    Day of the month. (1st of the month, 15th of the month, etc)

    Annotations
    @FunctionInfo()
  95. abstract def DayOfTheWeek()(implicit scriptExecContext: <error> = null): StudiesT

    Day Of The Week

    Day Of The Week

    Monday=2,Tuedsay=3,...Friday=6

    Annotations
    @FunctionInfo()
  96. abstract def DaysAfterLastEarningsDate()(implicit scriptExecContext: <error> = null): StudiesT

    Number of Calendar Days After Last Earnings Date

    Number of Calendar Days After Last Earnings Date

    Annotations
    @FunctionInfo()
  97. abstract def DaysAfterLastThirdFridayOfMonth()(implicit scriptExecContext: <error> = null): StudiesT

    Number of Calendar Days After Monthly Expiration Friday.

    Number of Calendar Days After Monthly Expiration Friday. If current month's expiration Friday has NOT yet passed, will return number of days since PRIOR month's expiration Friday.

    Annotations
    @FunctionInfo()
  98. abstract def DaysBeforeNextEarningsDate()(implicit scriptExecContext: <error> = null): StudiesT

    Number of Calendar Days Before Next Earnings Date

    Number of Calendar Days Before Next Earnings Date

    Annotations
    @FunctionInfo()
  99. abstract def DaysBeforeNextThirdFridayOfMonth()(implicit scriptExecContext: <error> = null): StudiesT

    Number of Calendar Days Before Monthly Expiration Friday.

    Number of Calendar Days Before Monthly Expiration Friday. If current month's expiration Friday has passed, will return number of days till NEXT month's expiration Friday.

    Annotations
    @FunctionInfo()
  100. abstract def DaysPassedSinceLastLosingTrade()(implicit scriptExecContext: <error> = null): StudiesT

    Number of calendar days since the last losing trade.

    Number of calendar days since the last losing trade. Can be used to specify X days to wait after last losing trade (DaysPassedSinceLastLosingTrade >= X)

    Annotations
    @FunctionInfo()
  101. abstract def DaysPassedSinceLastTrade()(implicit scriptExecContext: <error> = null): StudiesT

    Number of calendar days since the last trade.

    Number of calendar days since the last trade. Can be used to specify X days to wait after last trade (DaysPassedSinceLastTrade >= X)

    Annotations
    @FunctionInfo()
  102. abstract def DaysSinceBacktestStartDate()(implicit scriptExecContext: <error> = null): StudiesT

    Number of calendar days since the the start date of the backtest

    Number of calendar days since the the start date of the backtest

    Annotations
    @FunctionInfo()
  103. abstract def DaysSinceFirstTradingDayOfMonth()(implicit scriptExecContext: <error> = null): StudiesT

    Number of calendar days since the first non-weekend date of the month

    Number of calendar days since the first non-weekend date of the month

    Annotations
    @FunctionInfo()
  104. abstract def DaysSinceFirstTradingDayOfQuarter()(implicit scriptExecContext: <error> = null): StudiesT

    Number of calendar days since the first trading day of the current quarter.

    Number of calendar days since the first trading day of the current quarter. Will determine the current quarter (Q1, Q2, Q3, Q4) and compute the number of days since the first trading day of current quarter.

    Annotations
    @FunctionInfo()
  105. abstract def DaysUntilLastTradingDayOfMonth()(implicit scriptExecContext: <error> = null): StudiesT

    Number of calendar days until the last non-weekend date of the month.

    Number of calendar days until the last non-weekend date of the month.

    Annotations
    @FunctionInfo()
  106. abstract def Dema(timePeriod: Int, barType: BarType = BarType.CLOSE_OR_MARK)(implicit scriptExecContext: <error>): StudiesT

    Double Exponential Moving Average is designed for calculating a moving average eliminating lags associated with simple moving averages.

    Double Exponential Moving Average is designed for calculating a moving average eliminating lags associated with simple moving averages.

    Annotations
    @FunctionInfo()
  107. abstract def Divide(security: SecurityT, barType: BarType = BarType.CLOSE_OR_MARK)(implicit scriptExecContext: <error> = null): StudiesT

    Divide the prices of two instruments

    Divide the prices of two instruments

    Annotations
    @FunctionInfo()
  108. abstract def Dx(timePeriod: Int)(implicit scriptExecContext: <error>): StudiesT

    Directional Movement Index is a trend-following indicator

    Directional Movement Index is a trend-following indicator

    Annotations
    @FunctionInfo()
  109. abstract def Ema(timePeriod: Int, barType: BarType = BarType.CLOSE_OR_MARK)(implicit scriptExecContext: <error>): StudiesT

    Exponential Moving Average is a type of the moving average study where the most recent market action is assigned greater importance as the average is calculated.

    Exponential Moving Average is a type of the moving average study where the most recent market action is assigned greater importance as the average is calculated.

    Annotations
    @FunctionInfo()
  110. abstract def Exp(barType: BarType = BarType.CLOSE_OR_MARK)(implicit scriptExecContext: <error>): StudiesT

    Exponential function (e^x)

    Exponential function (e^x)

    Annotations
    @FunctionInfo()
  111. abstract def Floor(barType: BarType = BarType.CLOSE_OR_MARK)(implicit scriptExecContext: <error>): StudiesT

    Floor returns the largest integer less than or equal to a given number

    Floor returns the largest integer less than or equal to a given number

    Annotations
    @FunctionInfo()
  112. abstract def HTPhasor(barType: BarType = BarType.CLOSE_OR_MARK)(implicit scriptExecContext: <error>): HTPhasorT

    Hilbert Transform - Phasor Components

    Hilbert Transform - Phasor Components

    Annotations
    @FunctionInfo()
  113. abstract def HTSine(barType: BarType = BarType.CLOSE_OR_MARK)(implicit scriptExecContext: <error>): HTSineT

    Hilbert Transform - SineWave

    Hilbert Transform - SineWave

    Annotations
    @FunctionInfo()
  114. abstract def HistoricalVolatility(timePeriod: Int, barType: BarType = BarType.CLOSE_OR_MARK)(implicit scriptExecContext: <error> = null): StudiesT

    Historical Volatility of the underlying instrument

    Historical Volatility of the underlying instrument

    Annotations
    @FunctionInfo()
  115. abstract def HtDcPeriod(barType: BarType = BarType.CLOSE_OR_MARK)(implicit scriptExecContext: <error>): StudiesT

    Hilbert Transform - Dominant Cycle Period

    Hilbert Transform - Dominant Cycle Period

    Annotations
    @FunctionInfo()
  116. abstract def HtDcPhase(barType: BarType = BarType.CLOSE_OR_MARK)(implicit scriptExecContext: <error>): StudiesT

    Hilbert Transform - Dominant Cycle Phase

    Hilbert Transform - Dominant Cycle Phase

    Annotations
    @FunctionInfo()
  117. abstract def HtTrendMode(barType: BarType = BarType.CLOSE_OR_MARK)(implicit scriptExecContext: <error>): StudiesT

    Hilbert Transform - Trend vs Cycle Mode

    Hilbert Transform - Trend vs Cycle Mode

    Annotations
    @FunctionInfo()
  118. abstract def HtTrendline(barType: BarType = BarType.CLOSE_OR_MARK)(implicit scriptExecContext: <error>): StudiesT

    Hilbert Transform - Instantaneous Trendline

    Hilbert Transform - Instantaneous Trendline

    Annotations
    @FunctionInfo()
  119. abstract def ImpliedVolatility_1Month(forceRecalc: Boolean = false)(implicit scriptExecContext: <error> = null): StudiesT

    1 Month Implied Volatility of the underlying instrument (10% = 10, 20% = 20)

    1 Month Implied Volatility of the underlying instrument (10% = 10, 20% = 20)

    Annotations
    @FunctionInfo()
  120. abstract def ImpliedVolatility_3Month()(implicit scriptExecContext: <error> = null): StudiesT

    3 Month Implied Volatility of the underlying instrument (10% = 10, 20% = 20)

    3 Month Implied Volatility of the underlying instrument (10% = 10, 20% = 20)

    Annotations
    @FunctionInfo()
  121. abstract def ImpliedVolatility_6Month()(implicit scriptExecContext: <error> = null): StudiesT

    6 Month Implied Volatility of the underlying instrument (10% = 10, 20% = 20)

    6 Month Implied Volatility of the underlying instrument (10% = 10, 20% = 20)

    Annotations
    @FunctionInfo()
  122. abstract def Kama(timePeriod: Int, barType: BarType = BarType.CLOSE_OR_MARK)(implicit scriptExecContext: <error>): StudiesT

    Kaufman Adaptive Moving Average

    Kaufman Adaptive Moving Average

    Annotations
    @FunctionInfo()
  123. abstract def LinearReg(timePeriod: Int, barType: BarType = BarType.CLOSE_OR_MARK)(implicit scriptExecContext: <error>): StudiesT

    Linear Regression

    Linear Regression

    Annotations
    @FunctionInfo()
  124. abstract def LinearRegAngle(timePeriod: Int, barType: BarType = BarType.CLOSE_OR_MARK)(implicit scriptExecContext: <error>): StudiesT

    Linear Regression Angle

    Linear Regression Angle

    Annotations
    @FunctionInfo()
  125. abstract def LinearRegIntercept(timePeriod: Int, barType: BarType = BarType.CLOSE_OR_MARK)(implicit scriptExecContext: <error>): StudiesT

    Linear Regression Intercept

    Linear Regression Intercept

    Annotations
    @FunctionInfo()
  126. abstract def LinearRegSlope(timePeriod: Int, barType: BarType = BarType.CLOSE_OR_MARK)(implicit scriptExecContext: <error>): StudiesT

    Linear Regression Slope

    Linear Regression Slope

    Annotations
    @FunctionInfo()
  127. abstract def Ln(barType: BarType = BarType.CLOSE_OR_MARK)(implicit scriptExecContext: <error>): StudiesT

    Natural Log

    Natural Log

    Annotations
    @FunctionInfo()
  128. abstract def Log10(barType: BarType = BarType.CLOSE_OR_MARK)(implicit scriptExecContext: <error>): StudiesT

    Log Base 10

    Log Base 10

    Annotations
    @FunctionInfo()
  129. abstract def LookBack(timePeriod: Int, barType: BarType = BarType.CLOSE_OR_MARK, returnPriorValueWhenNull: Boolean = true)(implicit scriptExecContext: <error> = null): StudiesT

    Look back X time periods back

    Look back X time periods back

    Annotations
    @FunctionInfo()
  130. abstract def MACD(fastPeriod: Int = 12, slowPeriod: Int = 26, signalPeriod: Int = 9, barType: BarType = BarType.CLOSE_OR_MARK)(implicit scriptExecContext: <error>): MACDT

    Moving Average Convergence / Divergence is a momentum indicator also used to evaluate trending characteristics of a security.

    Moving Average Convergence / Divergence is a momentum indicator also used to evaluate trending characteristics of a security.

    Annotations
    @FunctionInfo()
  131. abstract def MaMa(fastLimit: Double = 0.5, slowLimit: Double = 0.5, barType: BarType = BarType.CLOSE_OR_MARK)(implicit scriptExecContext: <error>): MaMaT

    MESA Adaptive Moving Average

    MESA Adaptive Moving Average

    Annotations
    @FunctionInfo()
  132. abstract def Max(timePeriod: Int, barType: BarType = BarType.CLOSE_OR_MARK)(implicit scriptExecContext: <error>): StudiesT

    Highest value over specified period

    Highest value over specified period

    Annotations
    @FunctionInfo()
  133. abstract def MaxIndex(timePeriod: Int, barType: BarType = BarType.CLOSE_OR_MARK)(implicit scriptExecContext: <error>): StudiesT

    Index of highest value over specified period

    Index of highest value over specified period

    Annotations
    @FunctionInfo()
  134. abstract def MeanImpliedVolatility()(implicit scriptExecContext: <error> = null): StudiesT

    Implied Volatility of the underlying instrument using the old VIX formula (Whaley model) - (10% = 10, 20% = 20)

    Implied Volatility of the underlying instrument using the old VIX formula (Whaley model) - (10% = 10, 20% = 20)

    Annotations
    @FunctionInfo()
  135. abstract def MedianPrice()(implicit scriptExecContext: <error>): StudiesT

    Median Price

    Median Price

    Annotations
    @FunctionInfo()
  136. abstract def MidPoint(timePeriod: Int, barType: BarType = BarType.CLOSE_OR_MARK)(implicit scriptExecContext: <error>): StudiesT

    Midpoint over specified time period

    Midpoint over specified time period

    Annotations
    @FunctionInfo()
  137. abstract def MidPrice(timePeriod: Int)(implicit scriptExecContext: <error>): StudiesT

    Midpoint price over specified period

    Midpoint price over specified period

    Annotations
    @FunctionInfo()
  138. abstract def Min(timePeriod: Int, barType: BarType = BarType.CLOSE_OR_MARK)(implicit scriptExecContext: <error>): StudiesT

    Lowest value over a specified period

    Lowest value over a specified period

    Annotations
    @FunctionInfo()
  139. abstract def MinIndex(timePeriod: Int, barType: BarType = BarType.CLOSE_OR_MARK)(implicit scriptExecContext: <error>): StudiesT

    Index of lowest value over a specified period

    Index of lowest value over a specified period

    Annotations
    @FunctionInfo()
  140. abstract def MinusDI(timePeriod: Int)(implicit scriptExecContext: <error>): StudiesT

    Minus Directional Indicator

    Annotations
    @FunctionInfo()
  141. abstract def MinusDM(timePeriod: Int)(implicit scriptExecContext: <error>): StudiesT

    Minus Directional Movement

    Minus Directional Movement

    Annotations
    @FunctionInfo()
  142. abstract def Momentum(timePeriod: Int, barType: BarType = BarType.CLOSE_OR_MARK)(implicit scriptExecContext: <error>): StudiesT

    Momentum measures the velocity of price changes for a fixed time interval.

    Momentum measures the velocity of price changes for a fixed time interval. Momentum is measured by subtracting the price at the beginning of the interval from the latest price.

    Annotations
    @FunctionInfo()
  143. abstract def MoneyFlowIndex(timePeriod: Int = 14)(implicit scriptExecContext: <error>): StudiesT

    Money Flow Index is a momentum indicator illustrating the strength of money flowing into and out of a security measured on a 0-100 scale

    Money Flow Index is a momentum indicator illustrating the strength of money flowing into and out of a security measured on a 0-100 scale

    Annotations
    @FunctionInfo()
  144. abstract def MovingAverage(timePeriod: Int, barType: BarType = BarType.CLOSE_OR_MARK)(implicit scriptExecContext: <error> = null): StudiesT

    Simple Moving Average is calculated by summing the closing prices of the security for a period of time and then dividing this total by the number of time periods

    Simple Moving Average is calculated by summing the closing prices of the security for a period of time and then dividing this total by the number of time periods

    Annotations
    @FunctionInfo()
  145. abstract def Multiply(security: SecurityT, barType: BarType = BarType.CLOSE_OR_MARK)(implicit scriptExecContext: <error> = null): StudiesT

    Multiply the prices of two instruments together

    Multiply the prices of two instruments together

    Annotations
    @FunctionInfo()
  146. abstract def Natr(timePeriod: Int)(implicit scriptExecContext: <error>): StudiesT

    Normalized Average True Range

    Normalized Average True Range

    Annotations
    @FunctionInfo()
  147. abstract def NumberOfConsecutiveClosesAbovePriorPeriodHigh()(implicit scriptExecContext: <error>): StudiesT

    Count the number of consecutive closing price greater than prior period's high

    Count the number of consecutive closing price greater than prior period's high

    Annotations
    @FunctionInfo()
  148. abstract def NumberOfConsecutiveClosesLowerThanPriorPeriodLow()(implicit scriptExecContext: <error>): StudiesT

    Count the number of consecutive closing price greater than prior period's high

    Count the number of consecutive closing price greater than prior period's high

    Annotations
    @FunctionInfo()
  149. abstract def NumberOfConsecutiveDownPeriods(barType: BarType = BarType.CLOSE_OR_MARK)(implicit scriptExecContext: <error>): StudiesT

    Count the number of consecutive down periods.

    Count the number of consecutive down periods.

    Annotations
    @FunctionInfo()
  150. abstract def NumberOfConsecutiveDownPeriodsGreaterThanXPercent(PercentThreshold: Double, barType: BarType = BarType.CLOSE_OR_MARK)(implicit scriptExecContext: <error>): StudiesT

    Count the number of consecutive down periods greater than X percent (1% = 1, 10% = 10, etc)

    Count the number of consecutive down periods greater than X percent (1% = 1, 10% = 10, etc)

    Annotations
    @FunctionInfo()
  151. abstract def NumberOfConsecutiveUpPeriods(barType: BarType = BarType.CLOSE_OR_MARK)(implicit scriptExecContext: <error>): StudiesT

    Count the number of consecutive up periods.

    Count the number of consecutive up periods.

    Annotations
    @FunctionInfo()
  152. abstract def NumberOfConsecutiveUpPeriodsGreaterThanXPercent(PercentThreshold: Double, barType: BarType = BarType.CLOSE_OR_MARK)(implicit scriptExecContext: <error>): StudiesT

    Count the number of consecutive up periods greater than X percent (1% = 1, 10% = 10, etc)

    Count the number of consecutive up periods greater than X percent (1% = 1, 10% = 10, etc)

    Annotations
    @FunctionInfo()
  153. abstract def PercentageChangeIntraBarLowToHigh()(implicit scriptExecContext: <error> = null): StudiesT

    Percentage Change Intra-bar from Bar Low To Bar High [(High - Low) / Low * 100] (1% = 1, 5% = 5, etc)

    Percentage Change Intra-bar from Bar Low To Bar High [(High - Low) / Low * 100] (1% = 1, 5% = 5, etc)

    Annotations
    @FunctionInfo()
  154. abstract def PlusDI(timePeriod: Int)(implicit scriptExecContext: <error>): StudiesT

    Plus Directional Indicator

    Annotations
    @FunctionInfo()
  155. abstract def PlusDM(timePeriod: Int)(implicit scriptExecContext: <error>): StudiesT

    Plus Directional Movement

    Plus Directional Movement

    Annotations
    @FunctionInfo()
  156. abstract def Ppo(fastPeriod: Int = 12, slowPeriod: Int = 26, MAType: <error> = MovingAverageType.SMA, barType: BarType = BarType.CLOSE_OR_MARK)(implicit scriptExecContext: <error>): StudiesT

    Percentage Price Oscillator

    Percentage Price Oscillator

    Annotations
    @FunctionInfo()
  157. abstract def PriceClose()(implicit scriptExecContext: <error>): StudiesT

    Closing Price

    Closing Price

    Annotations
    @FunctionInfo()
  158. abstract def PriceHigh()(implicit scriptExecContext: <error>): StudiesT

    High Price

    High Price

    Annotations
    @FunctionInfo()
  159. abstract def PriceLow()(implicit scriptExecContext: <error>): StudiesT

    Low Price

    Low Price

    Annotations
    @FunctionInfo()
  160. abstract def PriceOpen()(implicit scriptExecContext: <error>): StudiesT

    Opening Price

    Opening Price

    Annotations
    @FunctionInfo()
  161. abstract def Rank(timePeriod: Int, barType: BarType = BarType.CLOSE_OR_MARK)(implicit scriptExecContext: <error> = null): StudiesT

    Rank of value compared to the highs and the lows within specified time period.

    Rank of value compared to the highs and the lows within specified time period. For example, a Rank of 90 would mean that the current value is at the upper 90% of its range, while a Rank of 10 would mean that the current value is at the bottom 10% of its range.

    Rank ranges from 0 to 100, where 0 is the low and 100 is the high for the specified time period.

    ((Current - Min ) / (Max - Min )) * 100

    Annotations
    @FunctionInfo()
  162. abstract def RateOfChange(timePeriod: Int, barType: BarType = BarType.CLOSE_OR_MARK)(implicit scriptExecContext: <error>): StudiesT

    Rate of change: ((price / prevPrice) - 1) * 100

    Rate of change: ((price / prevPrice) - 1) * 100

    Annotations
    @FunctionInfo()
  163. abstract def RateOfChangePercent(timePeriod: Int, barType: BarType = BarType.CLOSE_OR_MARK)(implicit scriptExecContext: <error>): StudiesT

    Rate of change percentage: (price - prevPrice) / prevPrice

    Rate of change percentage: (price - prevPrice) / prevPrice

    Annotations
    @FunctionInfo()
  164. abstract def RateOfChangeRatio(timePeriod: Int, barType: BarType = BarType.CLOSE_OR_MARK)(implicit scriptExecContext: <error>): StudiesT

    Rate of change ratio: (price / prevPrice)

    Rate of change ratio: (price / prevPrice)

    Annotations
    @FunctionInfo()
  165. abstract def RocR100(timePeriod: Int, barType: BarType = BarType.CLOSE_OR_MARK)(implicit scriptExecContext: <error>): StudiesT

    Rate of change ratio 100 scale: (price / prevPrice) * 100

    Rate of change ratio 100 scale: (price / prevPrice) * 100

    Annotations
    @FunctionInfo()
  166. abstract def Rsi(timePeriod: Int, barType: BarType = BarType.CLOSE_OR_MARK)(implicit scriptExecContext: <error>): StudiesT

    Relative Strength Index is an oscillator comparing the magnitude of a stock's recent gains to the magnitude of its recent losses on a scale from 0 to 100.

    Relative Strength Index is an oscillator comparing the magnitude of a stock's recent gains to the magnitude of its recent losses on a scale from 0 to 100.

    Annotations
    @FunctionInfo()
  167. abstract def Sar(accelerationFactor: Double = 0.02, afMaximum: Double = 0.2)(implicit scriptExecContext: <error>): StudiesT

    Parabolic SAR (Stop And Reverse) is a study for analyzing trending markets.

    Parabolic SAR (Stop And Reverse) is a study for analyzing trending markets.

    Annotations
    @FunctionInfo()
  168. abstract def SarExt(startValue: Double = 0.0, offsetOnReverse: Double = 0.0, afInitLong: Double = 0.02, afLong: Double = 0.02, afMaxLong: Double = 0.2, afInitShort: Double = 0.02, afShort: Double = 0.02, afMaxShort: Double = 0.2)(implicit scriptExecContext: <error>): StudiesT

    Parabolic SAR - Extended

    Parabolic SAR - Extended

    Annotations
    @FunctionInfo()
  169. abstract def Sin(barType: BarType = BarType.CLOSE_OR_MARK)(implicit scriptExecContext: <error>): StudiesT

    Sine

    Sine

    Annotations
    @FunctionInfo()
  170. abstract def Sinh(barType: BarType = BarType.CLOSE_OR_MARK)(implicit scriptExecContext: <error>): StudiesT

    Hyperbolic Sine

    Hyperbolic Sine

    Annotations
    @FunctionInfo()
  171. abstract def Sma(timePeriod: Int, barType: BarType = BarType.CLOSE_OR_MARK)(implicit scriptExecContext: <error>): StudiesT

    Simple Moving Average is calculated by summing the closing prices of the security for a period of time and then dividing this total by the number of time periods.

    Simple Moving Average is calculated by summing the closing prices of the security for a period of time and then dividing this total by the number of time periods.

    Annotations
    @FunctionInfo()
  172. abstract def Sqrt(barType: BarType = BarType.CLOSE_OR_MARK)(implicit scriptExecContext: <error>): StudiesT

    Square root

    Square root

    Annotations
    @FunctionInfo()
  173. abstract def StdDev(timePeriod: Int, deviations: Double = 1.0, barType: BarType = BarType.CLOSE_OR_MARK)(implicit scriptExecContext: <error>): StudiesT

    Standard Deviation

    Standard Deviation

    Annotations
    @FunctionInfo()
  174. abstract def Stochastic(fastKPeriod: Int = 5, slowKPeriod: Int = 3, slowK_MAType: <error> = technicalStudies.Stochastic.SMA, slowDPeriod: Int = 3, slowD_MAType: <error> = technicalStudies.Stochastic.SMA)(implicit scriptExecContext: <error>): StochasticT

    Stochastic

    Annotations
    @FunctionInfo()
  175. abstract def StochasticFast(fastKPeriod: Int = 5, fastDPeriod: Int = 3, fastD_MAType: <error> = technicalStudies.Stochastic.SMA)(implicit scriptExecContext: <error>): StochasticFastT

    Stochastic Fast

    Annotations
    @FunctionInfo()
  176. abstract def StochasticRSI(timePeriod: Int, fastKPeriod: Int = 5, fastDPeriod: Int = 3, fastD_MAType: <error> = technicalStudies.StochasticFast.SMA, barType: BarType = BarType.CLOSE_OR_MARK)(implicit scriptExecContext: <error>): StochasticRsiT

    Stochastic Relative Strength Index

    Stochastic Relative Strength Index

    Annotations
    @FunctionInfo()
  177. abstract def Subtract(security: SecurityT, barType: BarType = BarType.CLOSE_OR_MARK)(implicit scriptExecContext: <error> = null): StudiesT

    Subtract the prices of two instruments from each other

    Subtract the prices of two instruments from each other

    Annotations
    @FunctionInfo()
  178. abstract def Sum(timePeriod: Int, barType: BarType = BarType.CLOSE_OR_MARK)(implicit scriptExecContext: <error>): StudiesT

    Summation

    Summation

    Annotations
    @FunctionInfo()
  179. abstract def T3(timePeriod: Int, volumeFactor: Double = 0.7, barType: BarType = BarType.CLOSE_OR_MARK)(implicit scriptExecContext: <error>): StudiesT

    Triple Exponential Moving Average (T3)

    Annotations
    @FunctionInfo()
  180. abstract def Tan(barType: BarType = BarType.CLOSE_OR_MARK)(implicit scriptExecContext: <error>): StudiesT

    Tan

    Tan

    Annotations
    @FunctionInfo()
  181. abstract def Tanh(barType: BarType = BarType.CLOSE_OR_MARK)(implicit scriptExecContext: <error>): StudiesT

    Hyperbolic Tan

    Hyperbolic Tan

    Annotations
    @FunctionInfo()
  182. abstract def Tema(timePeriod: Int, barType: BarType = BarType.CLOSE_OR_MARK)(implicit scriptExecContext: <error>): StudiesT

    Triple Exponential Moving Average

    Annotations
    @FunctionInfo()
  183. abstract def Trima(timePeriod: Int, barType: BarType = BarType.CLOSE_OR_MARK)(implicit scriptExecContext: <error>): StudiesT

    Triangular Moving Average is a study calculated as double-smoothed simple moving average (or SMA of SMA) of the price.

    Triangular Moving Average is a study calculated as double-smoothed simple moving average (or SMA of SMA) of the price.

    Annotations
    @FunctionInfo()
  184. abstract def Trix(timePeriod: Int, barType: BarType = BarType.CLOSE_OR_MARK)(implicit scriptExecContext: <error>): StudiesT

    1-day Rate-of-Change of a Triple Smooth EMA is a momentum oscillator based on average of logarithm of price.

    1-day Rate-of-Change of a Triple Smooth EMA is a momentum oscillator based on average of logarithm of price.

    Annotations
    @FunctionInfo()
  185. abstract def TrueRange()(implicit scriptExecContext: <error>): StudiesT

    True Range is the greatest of the following: the difference between the current high and current low the difference between the current high and previous close the difference between the previous close and current low

    True Range is the greatest of the following: the difference between the current high and current low the difference between the current high and previous close the difference between the previous close and current low

    Annotations
    @FunctionInfo()
  186. abstract def Tsf(timePeriod: Int, barType: BarType = BarType.CLOSE_OR_MARK)(implicit scriptExecContext: <error>): StudiesT

    Time Series Forecast is a technical indicator displaying the statistical trend based on linear regression analysis using the least squares method.

    Time Series Forecast is a technical indicator displaying the statistical trend based on linear regression analysis using the least squares method.

    Annotations
    @FunctionInfo()
  187. abstract def TypPrice()(implicit scriptExecContext: <error>): StudiesT

    Typical Price is calculated as the arithmetical mean of High, Low, and Close price values

    Typical Price is calculated as the arithmetical mean of High, Low, and Close price values

    Annotations
    @FunctionInfo()
  188. abstract def UltOsc(firstPeriod: Int = 7, secondPeriod: Int = 14, thirdPeriod: Int = 28)(implicit scriptExecContext: <error>): StudiesT

    Ultimate Oscillator is a study that turns a stock price action related to three different time frames into a single oscillator.

    Ultimate Oscillator is a study that turns a stock price action related to three different time frames into a single oscillator. The three time frames represent short, intermediate and long term market cycles.

    Annotations
    @FunctionInfo()
  189. abstract def Variance(timePeriod: Int, deviations: Double = 1.0, barType: BarType = BarType.CLOSE_OR_MARK)(implicit scriptExecContext: <error>): StudiesT

    Variance

    Variance

    Annotations
    @FunctionInfo()
  190. abstract def WclPrice()(implicit scriptExecContext: <error>): StudiesT

    Weighted Close Price calculates a daily price-bound value being equal to the quarter of the sum of double Close, High, and Low.

    Weighted Close Price calculates a daily price-bound value being equal to the quarter of the sum of double Close, High, and Low.

    Annotations
    @FunctionInfo()
  191. abstract def WeekOfTheMonth()(implicit scriptExecContext: <error> = null): StudiesT

    Week of the month.

    Week of the month. (1st week, 2nd week of month, etc)

    Annotations
    @FunctionInfo()
  192. abstract def WilliamsR(timePeriod: Int)(implicit scriptExecContext: <error>): StudiesT

    Williams %R is a momentum indicator that is designed to identify overbought and oversold areas in a non-trending market.

    Williams %R is a momentum indicator that is designed to identify overbought and oversold areas in a non-trending market.

    Annotations
    @FunctionInfo()
  193. abstract def Wma(timePeriod: Int, barType: BarType = BarType.CLOSE_OR_MARK)(implicit scriptExecContext: <error>): StudiesT

    Weighted Moving Average is a Moving Average indicator that shows the average value of the security price over a period of time with a heavier weighting given to the more recent price action.

    Weighted Moving Average is a Moving Average indicator that shows the average value of the security price over a period of time with a heavier weighting given to the more recent price action.

    Annotations
    @FunctionInfo()
  194. abstract def checkWithinRange(d: Double, operationName: String): Boolean

    Definition Classes
    StudiesOperationsT
  195. abstract def crossesAbove(d: Any): Boolean

    Crosses Above

    Crosses Above

    Definition Classes
    StudiesOperationsT
    Annotations
    @FunctionInfo()
  196. abstract def crossesBelow(d: Any): Boolean

    Definition Classes
    StudiesOperationsT
    Annotations
    @FunctionInfo()
  197. abstract def crossesOver(d: Any): Boolean

    Crosses Above or Below

    Crosses Above or Below

    Definition Classes
    StudiesOperationsT
    Annotations
    @FunctionInfo()
  198. abstract def getValue(): Double

    Definition Classes
    StudiesOperationsT
  199. abstract def isBetween(d1: Any, d2: Any): Boolean

    Is Between X and Y inclusive

    Is Between X and Y inclusive

    Definition Classes
    StudiesOperationsT
    Annotations
    @FunctionInfo()

Concrete Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. def *(that: Any)(implicit scriptExecContext: <error> = null): StudiesT

    Multiply operation

    Multiply operation

    Definition Classes
    MathOperationsT
    Annotations
    @FunctionInfo()
  5. def +(that: Any)(implicit scriptExecContext: <error> = null): StudiesT

    Add

    Add

    Definition Classes
    MathOperationsT
    Annotations
    @FunctionInfo()
  6. def -(that: Any)(implicit scriptExecContext: <error> = null): StudiesT

    Subtract

    Subtract

    Definition Classes
    MathOperationsT
    Annotations
    @FunctionInfo()
  7. def /(that: Any)(implicit scriptExecContext: <error> = null): StudiesT

    Divide

    Divide

    Definition Classes
    MathOperationsT
    Annotations
    @FunctionInfo()
  8. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  9. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  10. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  11. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  16. def getLastOHLC: OHLC

    Annotations
    @FunctionInfo()
  17. def getValuePrior(nPeriodsBack: Int): OHLC

    Annotations
    @FunctionInfo()
  18. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  19. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  24. def toString(): String

    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from StudiesOperationsT

Inherited from MathOperationsT

Inherited from AnyRef

Inherited from Any

Ungrouped