ma4:ma(close,4),colorFFFFFF;
ma10:ma(close,10),coloryellow;
ma20:ma(close,20),colorff00ff;
ma62:ma(close,62),colorffff00;
SMA4:= ref(SLOPE(ma4,2),1)<0 and SLOPE(ma4,2)<=0 and ref(SLOPE(ma4,2),1)<SLOPE(ma4,2);
sma10:= ref(SLOPE(ma10,2),1)<0 and SLOPE(ma10,2)<=0 and ref(SLOPE(ma10,2),1)<SLOPE(ma10,2);
sma20:= ref(SLOPE(ma20,2),1)<0 and SLOPE(ma20,2)<=0 and ref(SLOPE(ma20,2),1)<SLOPE(ma20,2);
sma62:=(SLOPE(ma62,3)>0) or (ref(SLOPE(ma62,3),1)<0 and SLOPE(ma62,3)<=0 and ref(SLOPE(ma62,3),1)<SLOPE(ma62,3));
anyup:=(slope(ma10,3)>0 or slope(ma20,3)>0 or slope(ma62,3)>0);
conn:=anyup and sma62 and (sma10 or SLOPE(ma10,2)>0) and (sma20 or SLOPE(ma20,2)>0) and sma4;
drawtext(not(ref(conn,1)) and not(ref(conn,2)) and conn,low*0.99,’雨青升天’);
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
评论(0)