Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Properties

Static allowNewIndicator

allowNewIndicator: boolean = true

Static calculateChildIndex

calculateChildIndex: number = 0

Static colorNames

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

Static colors

colors: Array<string> = ['#22ffff', '#2222ff']

Static displayName

displayName: string = "macd"

Static drawFunctions

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

Static inputDataType

inputDataType: DataType = DataType.Close

Static isBaseIndicator

isBaseIndicator: boolean = false

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

type

{boolean}

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> = ['#22ffff', '#2222ff']

Static outputDataDisplayNames

outputDataDisplayNames: Array<string> = ['macd', 'ema']

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: Array<number> = [12, 26, 9]

Static parametersDisplayNames

parametersDisplayNames: Array<string> = ['fast', 'slow', 'ema']

Methods

Static calculate

  • calculate(data: Array<Array<number>>, parameters?: Array<number>): Array<Array<number>>
  • Parameters

    • data: Array<Array<number>>
    • Default value parameters: Array<number> = null

    Returns Array<Array<number>>

Static getMinMaxCoefficient

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

Generated using TypeDoc