通信达公式密码破解 MACD支撑线副图公式源码
2018-06-15 17:02 股票知识 zhishi.southmoney.com
通信达公式密码破解 MACD支撑线副图公式源码 南方财富网小编为您提供
M:=3;
DIFF:EMA(C,12*M)-EMA(C,26*M);
DEA:EMA(DIFF,9*M);
MACD:(DIFF-DEA)*2,COLORFFFF00,COLORSTICK;
A1:=BARSLAST(REF(CROSS(0, DEA),M));
A2:=BARSLAST(REF(DEA<0 AND CROSS(DIFF,DEA),M));
A3:=BARSLAST(REF(COUNT(DEA<0,A2+M)=A2+M AND CROSS(DIFF,DEA),M));
A4:=LLV(C,A3+M)<REF(LLV(C,A2+M),A3+M) AND LLV(DIFF,A3+M)>=REF(LLV(DIFF,A2+M),A3+M);
A5:=LLV(C,A2+M)<REF(LLV(C,A1+M),A2+M) AND LLV(DIFF,A2+M)>=REF(LLV(DIFF,A1+M),A2+M);
DIBL1:=(A4=1 OR A5=1) AND COUNT(DEA<0,A2+M)=A2+M AND DEA<0 AND CROSS(DIFF,DEA);
金叉:IF(CROSS(DIFF,DEA) AND DEA<=0 AND DIBL1=0,0,DEA),COLORYELLOW;
底背离:IF(DIBL1=1,0,DEA),COLORRED;
B1:=BARSLAST(REF(CROSS(DEA,0),M));(股票知识网zhishi.southmoney.com)
股票知识网声明:资讯来源于合作媒体及机构,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。