Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Properties

Static allowNewIndicator

allowNewIndicator: boolean = true

Can we have new indicator based on output data of this indicator?

type

{boolean}

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: string[] = ['color']

Color names, to be displayed on edit indicator form

type

{string[]}

Static colors

colors: string[] = null
type

{ string[]}

Static displayName

displayName: string = null

Display name of indicator

type

{string}

Static drawFunctions

drawFunctions: BaseDrawFunction[]

List of draw functions that can be used with indicator

Static inputDataType

inputDataType: DataType = DataType.Close

Input data type required to calculate indicator

type

{VobcoCharts.DataType}

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 = false

Should Indicator be drawn on new grid? Does it has completelly different series of data?

type

{boolean}

Static outputDataColors

outputDataColors: string[] = null

default colors for outputing data -> used on tooltip

type

{string[]}

Static outputDataDisplayNames

outputDataDisplayNames: string[] = null

Display names on chart

type

{string[]}

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[] | string[] = null

Default parameters values

type

{number[]}

Static parametersDisplayNames

parametersDisplayNames: string[] = null

Display names of parameters, to be displayed on edit indicator form

type

{string[]}

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
  • Parameters

    Returns number

Generated using TypeDoc