资金流向 - 大智慧版本_股票公式_顶尖财经网
  您的位置:首页 >> 股票公式 >> 大智慧公式 >> 文章正文

资金流向 - 大智慧版本

加入日期:2009-5-3 11:34:33
源码如下:

资金流向 - 大智慧L2版本以前见多了,这次发exp版本

SQX:=(C-MA(CLOSE,13))*100;
DIFF:EMA(MA(SQX,7),1),COLORWHITE;
DEA:EMA(DIFF,7),COLORYELLOW;
MACD:(DIFF-DEA)*2,COLORSTICK;
STICKLINE(CROSS(DIFF,DEA) AND DIFF<-0.1,35.5,10.5,2,1),COLORYELLOW,LINETHICK2;
低位金叉:IF(CROSS(DIFF,DEA) AND DIFF<-0.1,15,0),COLORYELLOW,LINETHICK0;
JCCOUNT:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0));
STICKLINE(CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1,55.5,35.5,2,1),COLORFF00FF,LINETHICK2;
二次金叉:IF(CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1,28,0),COLORFF00FF,LINETHICK0;
A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));
STICKLINE( REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA),55.5,70.5,2,1),COLORRED,LINETHICK2;
底背离:IF(REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA),40,0),COLORRED,LINETHICK0;
DRAWLINE(A1=0,DEA,底背离,DEA,0),COLOR33FF33,LINETHICK2;
A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));
顶背离:=REF(CLOSE,A2+1)<CLOSE AND REF(DIFF,A2+1)>DIFF AND CROSS(DEA,DIFF);
STICKLINE( REF(CLOSE,A2+1)<CLOSE AND REF(DIFF,A2+1)>DIFF AND CROSS(DEA,DIFF),70,85.5,2,1),COLORF08000,LINETHICK2;
顶背离_:IF(REF(CLOSE,A2+1)<CLOSE AND REF(DIFF,A2+1)>DIFF AND CROSS(DEA,DIFF),66,0),COLORF08000,LINETHICK0;
压: DRAWLINE(A2=0,DEA,顶背离,DEA,0),COLORFFBB99,LINETHICK2;
A3:=CROSS(DIFF,DEA) AND DEA<0;
STICKLINE(FILTER(COUNT(A3,21)=2,10),53,68,2,1),COLORWHITE,LINETHICK2;
零下二次金叉_:IF(FILTER(COUNT(A3,21)=2,10),53,0),COLORWHITE,LINETHICK0;
{DRAWICON(CROSS(DIFF,DEA) ,DIFF,1);
DRAWICON(CROSS(DEA,DIFF) , DEA,2);}
金叉:if(CROSS(DIFF,DEA),diff,0),color00ff00,stick,linethick2;
死叉:if(CROSS(DEA,DIFF),diff,0),colorff0099,stick,linethick2;




以上信息为博客会员、合作方、加盟会员提供,本站不拥有版权,版权归原作者所有,所载文章、数据仅供参考,据此操作,风险自负。
顶 尖 财 经 -- 中 华 顶 尖 网 络 信 息 服 务 中 心
Copyright? 2000 - 2004 www.58188.com