您现在的位置: 南方财富网 >> 股票知识 >> 股票公式 >> 正文
南财搜索

趋势类指标-低位金叉指标

2011-7-14 9:48:21   来源:不详   佚名
    

{低位金叉指标}

P:=26;S:=12;M:=9;
DIFF :EMA(CLOSE,S) - EMA(CLOSE,P),COLORWHITE,LINETHICK2;
DEA  :EMA(DIFF,M),COLORYELLOW,LINETHICK2;
MACD :2*(DIFF-DEA),COLORSTICK,LINETHICK2;
LS:=MACD>REF(MACD,1) AND (REF(MACD,1)<=0 OR REF(MACD,1)<=REF(MACD,2));

二浪:(LS AND MACD>0 AND COUNT(LS,15)>=2)*0.2,POINTDOT,COLORYELLOW,
LINETHICK3;
DRAWTEXT(二浪>0,0.18 , '↑'),COLORFF00FF;
DLS:=MACD<0 AND MACD>REF(MACD,1) AND REF(MACD,1)<REF(MACD,2);
二底:(DLS AND COUNT(DLS,15)>=2)*MACD,STICK,COLORWHITE,LINETHICK3;
买:=REF(CROSS(DEA,DIFF),1)*0.1,COLOR00FF00,LINETHICK2;
DRAWTEXT(买<0 ,-0.2 , '低买?'),COLOR00FF00;
MX:=REF(MACD,1)>REF(LLV(MACD,15),5);
买小:(MX AND DLS AND COUNT(二底<0,15)>=2)*0.2,COLOR00FF00,LINETHICK2;
DRAWTEXT(买小>0 AND (COUNT(买小>0,15)>=3 OR HHV(MACD,15)>=0.5),0.2,'优选'),
COLORYELLOW;
低位金叉:=CROSS(DIFF,DEA) AND DIFF<-0.1;
STICKLINE(低位金叉,0,0.3,8,0),COLORYELLOW;
DRAWTEXT(低位金叉,0.3,'低位金叉'),COLOR00FF00,LINETHICK1;
JCCOUNT:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0));
二次金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1;
STICKLINE(二次金叉,0,0.2,8,0),COLORFF00FF;
DRAWTEXT(二次金叉,0.4,'二次金叉'),COLOR00FF00,LINETHICK1;
DRAWICON(二次金叉,DEA*0.9,1) ;

(南方财富网SOUTHMONEY.COM)

(责任编辑:张晓轩)

    南方财富网声明:股市资讯来源于合作媒体及机构,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。
商务进行时
每日必读
学院24小时排行
证券导读
热图推荐

关于南方财富网版权声明诚聘英才广告服务网站地图友情链接
特此声明:广告商的言论与行为均与南方财富网无关
www.southmoney.com
南方财富网 © 版权所有 闽ICP备09035581号