input:低点参数(10,1,20),高点参数(8,1,20);
x1:=TROUGH(2,低点参数,1);
x8:=TROUGHBARS(2,低点参数,1)=0;
x3:=PEAK(1,高点参数,1);
x5:=PEAKBARS(1,高点参数,1)=0;
x31:=PEAKBARS(1,高点参数,2);
x38:=PEAKBARS(1,高点参数,1);
x81:=TROUGHBARS(2,低点参数,2);
x83:=TROUGHBARS(2,低点参数,1);
低点间隔:ref(x83,1)+1,linethick0;
低点位置:=低点间隔/2;
DRAWNUMBER(x8,l*0.95,低点间隔,0),colorcc00FF;
stickline(x8,l*0.98,l*0.96,1,0),colorcc00FF;
{DRAWNUMBER(x8,SYSPARAM(5),低点间隔,0);//l*0.95}
{stickline(x8,l*0.98,SYSPARAM(5),1,0),colorcc00FF;}
高点间隔:ref(x38,1)+1,linethick0;
低点位置:=高点间隔/2;
DRAWNUMBER(x5,h*1.06,高点间隔,0),color00FFCC;
stickline(x5,h*1.015,h*1.035,1,0),color00FFCC;
{DRAWNUMBER(x5,SYSPARAM(4),高点间隔,0),color00FFCC;}
{stickline(x5,SYSPARAM(4),h*1.015,1,0),color00FFCC;}

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。