Board logo

标题: SetPlotColor(画线颜色) [打印本页]

作者: 龙听    时间: 2018-10-22 14:09     标题: SetPlotColor(画线颜色)

UsageSetPlotColor(PlotNumber, PlotColor)

ParametersPlotNumber - a numerical expression specifying the plot number; plot numbers range from 1 to 999.PlotColor - an expression specifying the plot color.

Plot color can be specified by a numerical expression representing an RGB color number or a legacy color value, or by one of 17 base color words.

NotesExamples

Assign the color of blue to plot1 for the duration of the current bar:

SetPlotColor(1, Blue);

Assign RGB color 2138336 (Orange) to plot1 for the duration of the current bar:

SetPlotColor(1, 2138336);

Assign legacy color 4 (Green) to plot1 for the duration of the current bar:

[LegacyColorValue = True]; SetPlotColor(1, 4);





欢迎光临 龙听期货论坛 (http://www.qhlt.cn/) Powered by Discuz! 7.2