设定指标的色彩。
SetPlotColor(PlotNumber,PlotColor)
SetPlotColor
PlotColor
PlotNumber —— 指标编号,代表指标编号的数字,范围为1至999
PlotNumber
PlotColor —— 指标色彩,数字表达式,指定指标的颜色。颜色可以是RGB色码或传统色码或者17种基本颜色。
设定Plot1为蓝色:
SetPlotColor(1,Blue); 设定Plot1为RGB色码2138336(橘色):
SetPlotColor(1,Blue);
1
Blue
SetPlotColor(1,2138336); 设定Plot1为传统色码4(绿色):
SetPlotColor(1,2138336);
2138336
[LegacyColorValue=True]; SetPlotColor(1,4);
[LegacyColorValue=True];
LegacyColorValue=
True
SetPlotColor(1,4);
4