通达信周期共振辨牛熊指标公式
2020/5/26 18:58:58
AA:=(O+H+L+C)/4;
BB:=MA(AA,3);
CC:=SUM(IF(AA>REF(AA,1),AA*VOL,0),4)/SUM(IF(AA<REF(AA,1),AA*VOL,0),4);
DD:=REF(100-(100/(1+CC)),1);
DIFF:EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:EMA(DIFF,9);
MACD:=(DIFF-DEA)*2;
A1:=HHV(AA,15);
A2:=LLV(AA,15);
A3:=A1-A2;
A4:=EMA((AA-A2)/A3,2)*100;
DRAWBAND(DIFF,RGB(224,224,224),DEA,RGB(255,255,96));
F60:EMA(CLOSE,12/2)-EMA(CLOSE,26/2);
A60:EMA(F60,9/2);
B1:=HHV(AA,60);
B2:=LLV(AA,60);
B3:=B1-B2;
B4:=EMA((AA-B2)/B3,2)*100;
DRAWBAND(F60,RGB(0,224,224),A60,RGB(255,96,96));
F30:(EMA(CLOSE,12/4)-EMA(CLOSE,26/4)),COLORGREEN;
A30:(EMA(F30,9/4)),COLORWHITE;
C1:=HHV(AA,240);
C2:=LLV(AA,240);
C3:=C1-C2;
C4:=EMA((AA-C2)/C3,2)*100;
投 股票网 www. tou18.cn
股市公式下载推荐