|
范例 以收盘价画线,并使用默认的颜色和线宽:
Plot1(Close);
以收盘价画线,并以 "Close" 为名,使用默认颜色和线宽:
Plot1(Close,"Close",Default,Default,Default);
以收盘价画蓝色线,并向左偏移3根K棒,若指标运用到市场扫描器中,则设背景色为绿色,线宽为3,指标名称为"Close 3 Bars later":
Plot1[3](Close,"Close 3 bars later",Blue,Green,3);
绘制橘色(RGB色2138336)的收盘价指标,并向右偏移3根K棒,指标名称为 "Close 3 Bars ago":
Plot1[-3](Close,"Close 3 bars ago",2138336);
使用传统色码4(绿色)画收盘价,指标名称为 "Close":
[LegacyColorValue=True];
Plot1(Close,"Close",4);
在状态列或市场扫描的存储格显示"Attention!"的文字:
Plot1("Attention!");
当收盘价大于100时,在状态列或市场扫描的存储格中显示 "Attention!" 的文字:
If close > 100 then Plot1("Attention!");
|