您现在的位置:  股票知识 > 股票公式 > 通达信股票公式 > 正文
南财搜索

无未来准确率高的通达信指标公式 MACD金叉死叉与背离副图公式源(2)

2018-06-11 16:36    股票知识   zhishi.southmoney.com
    

B2:=BARSLAST(REF(COUNT(DEA>=0,B1+1)=B1+1   AND   HHV(DIFF,5)=HHV(DIFF,A1+1)  AND  CROSS(DEA,DIFF),1));

B3:=BARSLAST(REF(CROSS(DEA,DIFF),1));

DINGBL1:=  HHV(C,B3+1)=HHV(C,B1+1)   AND  NOT(HHV(DIFF,B3+1)=HHV(DIFF,B1+1))   AND  COUNT(DEA>=0,B2+1)=B2+1 AND CROSS(DEA,DIFF); 

死叉:IF(CROSS(DEA,DIFF) AND DEA>=0 AND DINGBL1=0,0,DEA),COLORFFFF00;

顶背离:IF(DINGBL1,0,DEA),COLORGREEN; 

DIBJG:=LLV(C,A3+1)=LLV(C,A1+1)  AND   NOT(LLV(DIFF,A3+1)=LLV(DIFF,A1+1))  AND  DIFF>REF(DIFF,1)  AND  COUNT(DEA<=0,A2+1)=A2+1 AND DIFF<DEA ;

DINGBJG:=HHV(C,B3+1)=HHV(C,B1+1)   AND  NOT(HHV(DIFF,B3+1)=HHV(DIFF,B1+1)) AND REF(DIFF,1)>DIFF   AND  COUNT(DEA>=0,B2+1)=B2+1 AND DIFF>DEA ;

STICKLINE(DIBJG =1 ,DEA,DIFF,2,0),COLORRED;

STICKLINE(DINGBJG =1 ,DEA,DIFF,2,0),COLORGREEN;

MB:=EMA(DIFF,20);

UB:=MB+1.9104*STD(DIFF,20);

LB:=MB-1.9104*STD(DIFF,20);

ZJS:=HHV(DEA,B1+1)/2;

ZJX:=LLV(DEA,A1+1)/2;

STICKLINE(DEA>DIFF  AND  DEA>0  AND  DEA>ZJS, ZJS,REF(ZJS,1),1,0), COLORRED;

STICKLINE(DEA<DIFF  AND  DEA<0  AND  DEA<ZJX,ZJX, REF(ZJX,1),1,0),COLORGREEN;

更多股票公式相关资讯请关注南方财富网

(股票知识网zhishi.southmoney.com)
    股票知识网声明:资讯来源于合作媒体及机构,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。
商务进行时
股票知识学习
联盟广告

关于股票知识网 -版权声明 -诚聘英才 -广告服务 -网站地图 -
特此声明:广告商的言论与行为均与股票知识网无关
zhishi.southmoney.com
股票知识网 © 版权所有 闽ICP备09035581号