图片:
指标:DIFF:EMA(C,12)-EMA(C,26);
DEA:EMA(DIFF,9);
MACD:=2*(DIFF-DEA);
STICKLINE(MACD>=0,0,MACD,4,0),COLORRED;
STICKLINE(MACD<=0,0,MACD,4,0),COLORBLUE;
STICKLINE(MACD>=0 AND MACD<REF(MACD,1),0,MACD,4,0),COLOR000088;
STICKLINE(MACD<=0 AND MACD>REF(MACD,1),0,MACD,4,0),COLORCYAN;
VAR1:=(C-EMA(C,6))/EMA(C,6)*100;
VAR2:=(C-MA(C,24))/MA(C,24)*100;
VAR3:=(C-MA(C,32))/MA(C,32)*100;
VAR4:=(VAR1+VAR2+VAR3)/3;
KX:=EMA(VAR4,3);
DX:=EMA(KX,3);
MCD:=EMA(EMA(VAR1,3),3)*2;
VAR5:=EMA(100*(C-LLV(C,34))/(HHV(H,34)-LLV(L,34)),5)-20;
VAR8:=LLV(VAR5,3)<VAR5;
VAR9:=KX>DX AND DX<7;
必杀①:=VAR8>=1 AND VAR9 AND REF(KX<DX,1);
STICKLINE(必杀①,0,MACD/1.5,5,0),COLORFF00FF;
BN:=20;
C2:=MA(C,2);
MA20:=MA(C2,BN);
BOLL:=MA20;
UPPER:=BOLL+1.618*STD(C2,BN);
LOWER:=BOLL-1.618*STD(C2,BN);
AA:=CROSS(C2,LOWER);
STICKLINE(AA,0,MACD/3,6,0),COLOR990066;
BB:=CROSS(UPPER,C2);
STICKLINE(BB,0,MACD/1.5,4,0),COLOR226644;
V1:=MA(C,3)=HHV(MA(C,3),7);
V2:=MA(C,3)>MA(C,5);
V3:=MA(V,5)>MA(V,10)*1.01;
V4:=COUNT(MA(C,1)>REF(C,1),2)=2;
注意风险:=V1 AND V2 AND V3 AND V4;
STICKLINE(注意风险,0,MACD/1.3,4,0),COLOR2299FF;
操作:=MA(VAR4,5);
A1:=EMA(C,14);
A1X:=(A1-REF(A1,1))/REF(A1,1)*100,NODRAW;
STICKLINE(CROSS(A1X,0) AND C>=操作,0,MACD/10,10,0),COLORFFFFFF;
工作线:=操作;
放心持股:IF(C>=工作线 AND EMA(C,14)>=EMA(C,25),DIFF,DRAWNULL), COLORFF00FF,LINETHICK1;
郑重声明:股市具有不确定性,个股走势是无法预测的。公式软件描述中的案例截图仅代表过去,仅供参考学习研究之用,不构成投资建议或未来保证,也并不能代表未来,依此操作,责任自负。股市有风险,入市需谨慎。
指标公式评论
(放心持股副图公式通达信源码)