在线检测未来函数

大智慧雨青升天主图指标公式

来源:Internet,编辑:股旁网,2015-06-18

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,'雨青升天');

大智慧雨青升天主图指标公式

 

相关文章