以下是甘氏线画法

gsx:=BARSLAST(DISPSTATUS=1)+1;gsxh:=hhvall(hhv(h,gsx));gsxl:=llvall(llv(l,gsx));
 DRAWLINE(filter(gsxl=l,20),gsxl,gsxl ,gsxl*1.00078125,1),Culor7F00FF;
 DRAWLINE(filter(gsxl=l,20),gsxl,gsxl ,gsxl*1.0015625,1),Culor7F00FF;
 DRAWLINE(filter(gsxl=l,20),gsxl,gsxl ,gsxl*1.003125,1),Culor7F00FF;
 DRAWLINE(filter(gsxl=l,20),gsxl,gsxl ,gsxl*1.00625,1),Culor7F00FF;
 DRAWLINE(filter(gsxl=l,20),gsxl,gsxl ,gsxl*1.0125,1),Culor7F00FF;
 DRAWLINE(filter(gsxl=l,20),gsxl,gsxl ,gsxl*1.025,1),Culor7F00FF;
 DRAWLINE(filter(gsxl=l,20),gsxl,gsxl,gsxl*1.05,1),Culor7F00FF,linethick2;
 DRAWLINE(filter(h=gsxh,20),gsxh,gsxh,gsxh*0.99921875,1),Culor7FFF00;
 DRAWLINE(filter(h=gsxh,20),gsxh,gsxh,gsxh*0.9984375,1),Culor7FFF00;
 DRAWLINE(filter(h=gsxh,20),gsxh,gsxh,gsxh*0.996875,1),Culor7FFF00;
 DRAWLINE(filter(h=gsxh,20),gsxh,gsxh,gsxh*0.99375,1),Culor7FFF00;
 DRAWLINE(filter(h=gsxh,20),gsxh,gsxh,gsxh*0.9875,1),Culor7FFF00;
 DRAWLINE(filter(h=gsxh,20),gsxh,gsxh,gsxh*0.975,1),Culor7FFF00;
 DRAWLINE(filter(h=gsxh,20),gsxh,gsxh,gsxh*0.95,1),Culor7FFF00,linethick2;

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