以下是按图操作你就不会亏

bu:=cross(high,SAR(4,1,12));
sel:=cross(SAR(4,1,12),low);
var1:=last(high<SAR(4,1,12));
var2:=last(low>sar(4,1,12));
{drawflagtext(bu,high,’买入’);
drawflagtext(sel,low,’卖出’);}
drawtext(bu,LOW,’买’),valign0,align1,coloryellow,linethick3;
drawtext(sel,HIGH,’卖’),valign2,align1,colorgreen,linethick3;
STICKLINE(low>SAR(4,1,12) and isdown,high,open,0.5,1),colormagenta;
STICKLINE(low>SAR(4,1,12) and isdown,close,open,7.5,1),colormagenta;
STICKLINE(low>SAR(4,1,12) and isdown,close,low,0.5,1),colormagenta;
STICKLINE(high<SAR(4,1,12) and isup,high,close,0.5,1),colorgreen;
STICKLINE(high<SAR(4,1,12) and isup,close,open,7.5,1),colorgreen;
STICKLINE(high<SAR(4,1,12) and isup,open,low,0.5,1),colorgreen;

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