Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Properties

Static allowNewIndicator

allowNewIndicator: boolean = true

Static calculateChildIndex

calculateChildIndex: number = null

If indicator output data (return value of calculate function) is array with more values and you want to allow calculation of another indicator on it on only on one value then set this to index of value in array

type

{number}

Static colorNames

colorNames: Array<string> = ['color']

Static colors

colors: Array<string> = ['#000000']

Static displayName

displayName: string = "williams_r"

Static drawFunctions

drawFunctions: Array<Line> = [VobcoCharts.Grids.Indicators.DrawFunctions.Line]

Static inputDataType

inputDataType: DataType = DataType.HighLowClose

Static isBaseIndicator

isBaseIndicator: boolean = false

Is this a base indicator? Like OHLC, Price or Volume?

type

{boolean}

Static maximum

maximum: number = 0

Static minimum

minimum: number = -100

Static onNewGrid

onNewGrid: boolean = true

Static outputDataColors

outputDataColors: Array<string> = ['#000000']

Static outputDataDisplayNames

outputDataDisplayNames: Array<string> = ['williams_r']

Static outputDataType

outputDataType: DataType = DataType.Close

Output data type

type

{VobcoCharts.DataType}

Static outputDisplayData

outputDisplayData: number[] = null

Output display data, should be different from null only if data displayed on tooltip should be different then one displayed on chart (returned from calculate function)

type

number[][]

Static parameters

parameters: number[] = [14]

Static parametersDisplayNames

parametersDisplayNames: string[] = ['interval']

Methods

Static calculate

  • calculate(data: number[], parameters?: number[]): number[]
  • Parameters

    • data: number[]
    • Default value parameters: number[] = null

    Returns number[]

Static getMinMaxCoefficient

  • getMinMaxCoefficient(gridIndicator: GridIndicator, outputDataIndex: number): number

Generated using TypeDoc