当前位置:→ 公式网 > 大智慧公式 > 正文 ℃ 公式解密、改选股等业务 联系点击查看详情...
以下是大智慧四合一抄股公式(无源码的请下载附件导入)
大智慧四合一抄股公式
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MACD:=(DIFF-DEA)*2;
A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));
A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));
MD1:=REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA);
VAR1:=REF(CLOSE,1);
VAR2:=SMA(MAX(CLOSE-VAR1,0),7,1)/SMA(ABS(CLOSE-VAR1),7,1)*100;
MD2:=0.5*FILTER(REF(VAR2,1)<20 AND VAR2>REF(VAR2,1),5);
CS:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
MD3:=IF((EMA(CS,2))*2>REF((EMA(CS,2))*2,1) AND REF((EMA(CS,2))*2,1)<REF
((EMA(CS,2))*2,2) AND (EMA(CS,2))*2<26,1.6,0);
BIAS1:=(C-MA(C,6))/MA(C,6)*100;
BIAS2:=(C-MA(C,12))/MA(C,12)*100;
BIAS3:=(C-MA(C,24))/MA(C,24)*100;
BIAS:=(BIAS1+2*BIAS2+3*BIAS3)/6;
乖离:=MA(BIAS,3);{公式在线提供:www.gszx.com.cn}
MD4:=CROSS(BIAS,乖离) AND 乖离<-9.4;
二合一:MD1 AND (MD2 OR MD3 OR MD4);
三合一:MD1 AND MD2 AND MD4;
四合一:MD1 AND MD2 AND MD3 AND MD4;