com.optstack.api.studies

StudiesT

trait StudiesT extends StudiesOperationsT

List of supported technical 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

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

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

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

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

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

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

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

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

    Chaikin A/D Line

    Chaikin A/D Line

    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

    Chaikin A/D Oscillator

    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

    Average Directional Movement Index

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

    Average Directional Movement Index Rating

    Average Directional Movement Index Rating

    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

    Absolute Price Oscillator

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

    Aroon

    Aroon

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

    Aroon Oscillator

    Aroon Oscillator

    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

    Average True Range

    Average True Range

    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

    Beta

    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

    Bollinger Bands

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

    Balance of Power

    Balance of Power

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

    Commodity Channel Index

    Commodity Channel Index

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

    Two Crows

    Two Crows

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

    Three Black Crows

    Three Black Crows

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

    Three Inside Up/Down

    Three Inside Up/Down

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

    Three Line Strike

    Three Line Strike

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

    Three Outside Up/Down

    Three Outside Up/Down

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

    Three Starts In The South

    Three Starts In The South

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

    Three Advancing White Soldiers

    Three Advancing White Soldiers

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

    Abandoned Baby

    Abandoned Baby

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

    Advance Block

    Advance Block

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

    Belt-hold

    Belt-hold

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

    Breakaway

    Breakaway

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

    Closing Marubozu

    Closing Marubozu

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

    Concealing Baby Swallow

    Concealing Baby Swallow

    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

    Dark Cloud Cover

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

    Doji

    Doji

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

    Doji star

    Doji star

    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

    Engulfing pattern

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

    Evening Doji star

    Evening Doji star

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

    Evening star

    Evening star

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

    Up/down-gap side-by-side white lines

    Up/down-gap side-by-side white lines

    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

    Hammer

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

    Hanging Man

    Hanging Man

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

    Harami Pattern

    Harami Pattern

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

    Harami Cross Pattern

    Harami Cross 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

    Homing Pigeon

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

    Identical Three Crows

    Identical Three Crows

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

    In Neck Pattern

    In Neck Pattern

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

    Inverted Hammer

    Inverted Hammer

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

    Kicking

    Kicking

    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

    Long Legged Doji

    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

    Marubozu

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

    Mat Hold

    Mat Hold

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

    Matching Low

    Matching Low

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

    Morning Doji Star

    Morning Doji Star

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

    Morning Star

    Morning Star

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

    On-Neck Pattern

    On-Neck Pattern

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

    Piercing Pattern

    Piercing Pattern

    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

    Rising / Falling Three Methods

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

    Separating Lines

    Separating Lines

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

    Shooting Star

    Shooting Star

    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

    Stick Sandwich

    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

    Tasuki Gap

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

    Thrusting Pattern

    Thrusting Pattern

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

    Tristar Pattern

    Tristar Pattern

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

    Unique 3 River

    Unique 3 River

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

    Upside Gap Two Crows

    Upside Gap Two Crows

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

    Upside / Downside Gap Three Methods

    Upside / Downside Gap Three Methods

    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

    Chande Momentum Oscillator

    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 between two different instruments

    Correlation between two different instruments

    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 DayOfTheMonth()(implicit scriptExecContext: <error> = null): StudiesT

  94. abstract def DayOfTheWeek()(implicit scriptExecContext: <error> = null): StudiesT

    Day Of The Week

    Day Of The Week

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

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

    Number of Days After Monthly Expiration Friday.

    Number of 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()
  96. abstract def DaysBeforeNextThirdFridayOfMonth()(implicit scriptExecContext: <error> = null): StudiesT

    Number of Days Before Monthly Expiration Friday.

    Number of 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()
  97. abstract def DaysSinceFirstTradingDayOfMonth()(implicit scriptExecContext: <error> = null): StudiesT

    Days since the first non-weekend date of the month

    Days since the first non-weekend date of the month

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

    Days until the last non-weekend date of the month.

    Days until the last non-weekend date of the month.

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

    Double Exponential Moving Average

    Double Exponential Moving Average

    Annotations
    @FunctionInfo()
  100. 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()
  101. abstract def Dx(timePeriod: Int)(implicit scriptExecContext: <error>): StudiesT

    Directional Movement Index

    Directional Movement Index

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

    Exponential Moving Average

    Exponential Moving Average

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

  104. abstract def Floor(barType: BarType = BarType.CLOSE_OR_MARK)(implicit scriptExecContext: <error>): StudiesT

    Floor

    Floor

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

    Hilbert Transform - Phasor Components

    Hilbert Transform - Phasor Components

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

    Hilbert Transform - SineWave

    Hilbert Transform - SineWave

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

  108. 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()
  109. 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()
  110. 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()
  111. abstract def HtTrendline(barType: BarType = BarType.CLOSE_OR_MARK)(implicit scriptExecContext: <error>): StudiesT

    Hilbert Transform - Instantaneous Trendline

    Hilbert Transform - Instantaneous Trendline

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

  113. 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()
  114. abstract def LinearReg(timePeriod: Int, barType: BarType = BarType.CLOSE_OR_MARK)(implicit scriptExecContext: <error>): StudiesT

    Linear Regression

    Linear Regression

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

    Linear Regression Angle

    Linear Regression Angle

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

    Linear Regression Intercept

    Linear Regression Intercept

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

    Linear Regression Slope

    Linear Regression Slope

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

    Natural Log

    Natural Log

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

    Log Base 10

    Log Base 10

    Annotations
    @FunctionInfo()
  120. 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()
  121. 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

    Moving Average Convergence / Divergence

    Annotations
    @FunctionInfo()
  122. 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()
  123. 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()
  124. 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()
  125. abstract def MedianPrice()(implicit scriptExecContext: <error>): StudiesT

    Median Price

    Median Price

    Annotations
    @FunctionInfo()
  126. 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()
  127. abstract def MidPrice(timePeriod: Int)(implicit scriptExecContext: <error>): StudiesT

    Midpoint price over specified period

    Midpoint price over specified period

    Annotations
    @FunctionInfo()
  128. 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()
  129. 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()
  130. abstract def MinusDI(timePeriod: Int)(implicit scriptExecContext: <error>): StudiesT

    Minus Directional Indicator

    Minus Directional Indicator

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

    Minus Directional Movement

    Minus Directional Movement

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

    Momentum

    Momentum

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

    Money Flow Index

    Money Flow Index

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

    Simple Moving Average

    Simple Moving Average

    Annotations
    @FunctionInfo()
  135. 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()
  136. abstract def Natr(timePeriod: Int)(implicit scriptExecContext: <error>): StudiesT

    Normalized Average True Range

    Normalized Average True Range

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

    Plus Directional Indicator

    Plus Directional Indicator

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

    Plus Directional Movement

    Plus Directional Movement

    Annotations
    @FunctionInfo()
  139. 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()
  140. abstract def Rank(timePeriod: Int, barType: BarType = BarType.CLOSE_OR_MARK)(implicit scriptExecContext: <error> = null): StudiesT

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

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

    For example, a Rank of 90 would mean that the current value is higher than 90% of the prior period values.

    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()
  141. 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()
  142. 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()
  143. 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()
  144. 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()
  145. abstract def Rsi(timePeriod: Int, barType: BarType = BarType.CLOSE_OR_MARK)(implicit scriptExecContext: <error>): StudiesT

    Relative Strength Index

    Relative Strength Index

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

    Parabolic SAR

    Parabolic SAR

    Annotations
    @FunctionInfo()
  147. 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()
  148. abstract def Sin(barType: BarType = BarType.CLOSE_OR_MARK)(implicit scriptExecContext: <error>): StudiesT

    Sine

    Sine

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

    Hyperbolic Sine

    Hyperbolic Sine

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

    Simple Moving Average

    Simple Moving Average

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

    Square root

    Square root

    Annotations
    @FunctionInfo()
  152. 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()
  153. 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

    Stochastic

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

    Stochastic Fast

    Stochastic Fast

    Annotations
    @FunctionInfo()
  155. 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()
  156. 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()
  157. abstract def Sum(timePeriod: Int, barType: BarType = BarType.CLOSE_OR_MARK)(implicit scriptExecContext: <error>): StudiesT

    Summation

    Summation

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

    Triple Exponential Moving Average (T3)

    Triple Exponential Moving Average (T3)

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

    Tan

    Tan

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

    Hyperbolic Tan

    Hyperbolic Tan

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

    Triple Exponential Moving Average

    Triple Exponential Moving Average

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

    Triangular Moving Average

    Triangular Moving Average

    Annotations
    @FunctionInfo()
  163. 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

    1-day Rate-of-Change of a Triple Smooth EMA

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

    True Range

    True Range

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

    Time Series Forecast

    Time Series Forecast

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

    Typical Price

    Typical Price

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

    Ultimate Oscillator

    Ultimate Oscillator

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

    Variance

    Variance

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

    Weighted Close Price

    Weighted Close Price

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

  171. abstract def WilliamsR(timePeriod: Int)(implicit scriptExecContext: <error>): StudiesT

    Williams %R

    Williams %R

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

    Weighted Moving Average

    Weighted Moving Average

    Annotations
    @FunctionInfo()
  173. abstract def crossesAbove(d: Any): Boolean

    Definition Classes
    StudiesOperationsT
  174. abstract def crossesBelow(d: Any): Boolean

    Definition Classes
    StudiesOperationsT
  175. abstract def crossesOver(d: Any): Boolean

    Definition Classes
    StudiesOperationsT
  176. abstract def getValue(): Double

    Definition Classes
    StudiesOperationsT

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

    Multiply

    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