HighLowChartOptions

New in version 5.0

HighLowChartOptions ( bullishColor ;​ bullishColorVariant )

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

The color of the high-low marker for a higher closing (bullish) can be varied by using the arguments bullishColor and bullishColorVariant. Please note that the function should be listed after the HighLowChart() or HighLowChart2D() function. This rule generally applies: chart options should always be listed after the actual chart function.

HIGH_LOW_CHART_OPTIONS_01
1

OpenDrawing(250;​150)

2

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

3

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

4

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

5

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

6

HighLowChart(;​on;​highLowCloseOpen;​0;​;​0;​;​;​right;​;​left)

7

HighLowChartOptions(green) /* After HighLowChart() */

8

/* Set up styles. */

9

LineStyle(1;​;​0.75;​red)

10

/* Set up axes. */

11

AxisLine(all;​0)

12

AxisMajorTicks(all;​0)

13

/* Set up grid. */

14

MajorGridLineWidths(x;​y;​0.25)

15

MajorGridLineWidths(y;​x;​0)

16

CloseDrawing()

HIGH_LOW_CHART_OPTIONS_01
HIGH_LOW_CHART_OPTIONS_02
1

OpenDrawing(250;​150)

2

ChartData(2020-11-30 2020-12-01 2020-12-04 2020-12-06 2020-12-07 2020-12-08;​

3

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

4

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

5

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

6

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

7

HighLowChart2D(;​highLowCloseOpen;​0;​;​0;​;​;​right;​;​left)

8

HighLowChartOptions(red) /* After HighLowChart() */

9

/* Set up styles. */

10

LineStyle(1;​;​0.75;​blue)

11

/* Set up axes. */

12

ScalingOptions(y;​on) /* y-scale top to bottom. */

13

AxisLine(all;​0)

14

AxisMajorTicks(all;​0)

15

AxisMajorTickLabelStyle(x;​;​;​;​;​;​-90)

16

AxisMajorTickLabelOptions(x;​;​;​3)

17

/* Set up grid. */

18

MajorGridLineWidths(x;​y;​0.25)

19

MajorGridLineWidths(y;​x;​0)

20

CloseDrawing()

HIGH_LOW_CHART_OPTIONS_02
Scroll to Top