CandlestickChartOptions

New in version 4.0

CandlestickChartOptions ( bullishColor ;​ bullishColorVariant )

Argument Type Range Default Note
bullishColor rgba 0..255 none
bullishColorVariant int -1..128 solid
Description

The color of the candlestick body for a higher closing (bullish candlestick) can be varied by using the arguments bullishColor and bullishColorVariant. As the default, bullish candlesticks are not filled. Please note that the CandlestickChartOptions() function should be listed after the CandlestickChart() or CandlestickChart2D() function. This rule generally applies: chart options should always be listed after the actual chart function.

CANDLESTICK_CHART_OPTIONS_01
1

OpenDrawing(250;​150)

2

ChartData(118 122 118 126 126 121 123;​ /* High-values. */

3

102 105 104 104 106 111 113;​ /* Low-values. */

4

104 119 118 108 122 118 113;​ /* Close-values. */

5

113 121 114 112 112 121 121) /* Open-values. */

6

CandlestickChart()

7

CandlestickChartOptions(#0805) /* After CandlestickChart() */

8

/* Set up styles. */

9

FillStyle(1;​#ca0d0060)

10

BorderStyle(1;​;​0.5)

11

/* Set up axes. */

12

AxisLine(all;​0)

13

AxisMajorTicks(all;​0)

14

/* Set up grid. */

15

MajorGridLineWidths(x;​y;​0.25)

16

MajorGridLineWidths(y;​x;​0)

17

CloseDrawing()

CANDLESTICK_CHART_OPTIONS_01
Scroll to Top
Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×