大智慧L2:雨青升天(第3版)
2009-4-26 16:38:37 股票入门 http://rumen.southmoney.com
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,'雨青升天');
应广大网友之约:
该股票指标对应选股公式为:
ma4:=ma(close,4);
ma10:=ma(close,10);
ma20:=ma(close,20);
ma62:=ma(close,62);
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;
(文章来源:南方财富 http://www.southmoney.com)
股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。