Charting
Last updated
Last updated
Converts HEX to RGBA with opacity.
Syntax: ChangeColorOpacity(color, opacity)
Returns a RGBA color string.
Return type: String
Parameter Name | Parameter Type | Required | Suggestions |
---|---|---|---|
Adds a label on the y-axis.
Syntax: ChartAddAxisLabel(chartId, side, text, value, [ color ], [ textColor ])
Return type: Void
Parameter Name | Parameter Type | Required | Suggestions |
---|---|---|---|
Gives control over axis settings such as low, high and visibility.
Syntax: ChartSetAxisOptions(chartId, side, [ low ], [ high ], [ visible ], [ type ])
Return type: Void
Gives control over chart options such as title and height.
Syntax: ChartSetOptions(chartId, [ title ], [ height ], [ style ])
Return type: Void
Creates a line options object to be used for Plot().
Syntax: LineOptions([ color ], [ style ], [ deco ], [ width ], [ offset ], [ side ], [ id ], [ behind ], [ ignoreOnAxis ], [ drawTrailingLine ])
Creates a line options object.
Return type: Dynamic
Changes the color of a single candle.
Syntax: MarkCandle(chartId, [ depth ])
Return type: Void
Creates a data line on the chart. The line can be styled accordingly. A positive chartId will place the line below the main price chart. A negative index above.
Syntax: Plot(chartId, lineName, value, [ color/options ])
Returns a line guid which can be used to manipulate the style.
Return type: String
Creates a band between 2 lines.
Syntax: PlotBands(lineGuid1, lineGuid2, fillColor)
Return type: Void
Changes a line to bars.
Syntax: PlotBars(lineGuid, [ baseValue ], [ fillColor ])
Return type: Void
Takes care of the plotting side of a BBANDS (like) calculation and chart.
Syntax: PlotBBandsChart(chartIndex, name, upper, middle, [ lower ])
Return type: Void
Draws a horizontal zone with buy and sell lines on the chart.
Syntax: PlotBuySellZone(chartId, start, end)
Return type: Void
Changes the line into circles.
Syntax: PlotCircle(lineGuid, [ fillColor ])
Return type: Void
Creates a cloud with double colors between 2 lines.
Syntax: PlotCloud(lineGuid1, lineGuid2, opacity)
Return type: Void
Changes the color of the line based on a base value.
Syntax: PlotDoubleColor(lineGuid, baseValue, secondColor, [ fillColor ])
Return type: Void
Change the line into a histogram.
Syntax: PlotHistogram(lineGuid, secondColor, [ fillRaisingBars ])
Return type: Void
Takes care of the plotting side of a MACD (like) calculation and chart.
Syntax: PlotHistogramSignals(chartIndex, name, histogram, [ shortSignal ], [ longSignal ])
Return type: Void
Draws a horizontal line on the chart.
Syntax: PlotHorizontalLine(chartId, name, color, value, [ lineDecoration ], [ side ], [ id ])
Return type: Void
Draws a horizontal zone on the chart.
Syntax: PlotHorizontalZone(chartId, name, color, start, end, [ side ])
Return type: Void
Plots the line with a buy and sell zone on the chart.
Syntax: PlotLineBuySellZone(chartIndex, name, source, start, end)
Return type: Void
Plots a pivot cross above or below the chart when detected.
Syntax: PlotPivot(leftStrength, rightStrength)
Return type: Void
Creates a price plot. Candlestick by default.
Syntax: PlotPrice(chartId, market, [ interval ], [ style ], [ upColor ], [ upFill ], [ downColor ], [ downFill ], [ markColor ], [ markFill ])
Return type: Void
Draws a shape above the candle or first line on the chart.
Syntax: PlotShape([ chartId ], [ shape ], [ color ], [ size ], [ aboveCandle ], [ text ], [ textColor ], [ offset ])
Return type: Void
Changes the line into a specific shape.
Syntax: PlotShapes(lineGuid, shape, [ fillColor ])
Return type: Void
Creates a small signal bar chart. A positive chartId will place the line below the main price chart. A negative index above.
Syntax: PlotSignalBar(chartId, color)
Return type: Void
Creates a small signal bar chart based on the signal enum. A positive chartId will place the line below the main price chart. A negative index above.
Syntax: PlotSignalEnum(chartId, signal)
Returns the input signal for continuation.
Return type: Enum
Creates a stacked area chart from a line guid collection.
Syntax: PlotStackedArea(lineGuids)
Return type: Void
Draws a vertical line on the chart.
Syntax: PlotVerticalLine(chartId, name, color, unix, [ lineDecoration ])
Return type: Void
Draws a vertical zone on the chart.
Syntax: PlotVerticalZone(chartId, name, color, start, end)
Return type: Void
Creates volume bars. The bars can be styles accordingly. A positive chartId will place the line below the main price chart. A negative index above.
Syntax: PlotVolume(chartId, [ upColor ], [ downColor ], [ upFill ], [ downFill ], [ side ])
Return type: Void
Configures the opacity for stacked area chart. A values between
Syntax: SetStackedAreaOpacity(chartId, opacity)
Return type: Void
Parameter Name | Parameter Type | Required | Suggestions |
---|---|---|---|
Parameter Name | Parameter Type | Required | Suggestions |
---|---|---|---|
Parameter Name | Parameter Type | Required | Suggestions |
---|---|---|---|
Parameter Name | Parameter Type | Required | Suggestions |
---|---|---|---|
Parameter Name | Parameter Type | Required | Suggestions |
---|---|---|---|
Parameter Name | Parameter Type | Required | Suggestions |
---|---|---|---|
Parameter Name | Parameter Type | Required | Suggestions |
---|---|---|---|
Parameter Name | Parameter Type | Required | Suggestions |
---|---|---|---|
Parameter Name | Parameter Type | Required | Suggestions |
---|---|---|---|
Parameter Name | Parameter Type | Required | Suggestions |
---|---|---|---|
Parameter Name | Parameter Type | Required | Suggestions |
---|---|---|---|
Parameter Name | Parameter Type | Required | Suggestions |
---|---|---|---|
Parameter Name | Parameter Type | Required | Suggestions |
---|---|---|---|
Parameter Name | Parameter Type | Required | Suggestions |
---|---|---|---|
Parameter Name | Parameter Type | Required | Suggestions |
---|---|---|---|
Parameter Name | Parameter Type | Required | Suggestions |
---|---|---|---|
Parameter Name | Parameter Type | Required | Suggestions |
---|---|---|---|
Parameter Name | Parameter Type | Required | Suggestions |
---|---|---|---|
Parameter Name | Parameter Type | Required | Suggestions |
---|---|---|---|
Parameter Name | Parameter Type | Required | Suggestions |
---|---|---|---|
Parameter Name | Parameter Type | Required | Suggestions |
---|---|---|---|
Parameter Name | Parameter Type | Required | Suggestions |
---|---|---|---|
Parameter Name | Parameter Type | Required | Suggestions |
---|---|---|---|
Parameter Name | Parameter Type | Required | Suggestions |
---|---|---|---|
Parameter Name | Parameter Type | Required | Suggestions |
---|---|---|---|
Parameter Name | Parameter Type | Required | Suggestions |
---|---|---|---|
Parameter Name | Parameter Type | Required | Suggestions |
---|---|---|---|
Parameter Name | Parameter Type | Required | Suggestions |
---|---|---|---|