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_increase', 'color_stagnate', 'color_decrease']

Static colors

colors: Array<string> = ['#cc0000', 'gray', '#00CC00']

Static displayName

displayName: string = "ohlc"

Static drawFunctions

drawFunctions: Array<OHLC | OHLCArea> = [VobcoCharts.Grids.Indicators.DrawFunctions.OHLCLine, VobcoCharts.Grids.Indicators.DrawFunctions.OHLCArea, VobcoCharts.Grids.Indicators.DrawFunctions.OHLC, VobcoCharts.Grids.Indicators.DrawFunctions.Candlestick]

Static inputDataType

inputDataType: DataType = DataType.OHLC

Static isBaseIndicator

isBaseIndicator: boolean = true

Static maximum

maximum: number = null

Maximum value indicator can hold

Static minimum

minimum: number = null

Minimum value indicator can hold

Static onNewGrid

onNewGrid: boolean = true

Static outputDataColors

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

Static outputDataDisplayNames

outputDataDisplayNames: Array<string> = ['open', 'high', 'low', 'close']

Static outputDataType

outputDataType: DataType = DataType.OHLC

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: Array<number> = null

Static parametersDisplayNames

parametersDisplayNames: Array<string> = null

Methods

Static calculate

  • calculate(data: number[], parameters?: number[] | string[], chart?: Chart): number[]
  • Calculate output data

    Parameters

    • data: number[]
    • Default value parameters: number[] | string[] = []
    • Default value chart: Chart = null

    Returns number[]

Static getMinMaxCoefficient

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

Generated using TypeDoc