四合一抄股公式没有未来函数源码
指标功能:[B]国产软件[/B]
指标类型:简体中文
所需积分:0
推荐星级:
授权方式:共享版
公式大小:0 Bytes
更新时间:2012-04-16 08:57:00
公式简介:
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);
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;
[url=http://www.goodgupiao.com/gupiaogongshi/19283.html][B]四合一抄股公式没有未来函数源码[/B][/url]