MACD及理念之二(强势做多版)

 2023-05-24 22:33:38    通达信指标网  

X:=(H+L+O+C*3)/6;   

X1:=(X-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;   

X2:=SMA(X1,2,1);   

X3:=SMA(X2,3,1);   

X4:=100-X2;   

X5:=X3>=X4;   

M:=EMA(X,2);   

M1:=EMA(M,12) - EMA(M,26);   

M2:=EMA(M1,9);   

M3:=(3*M1-2*M2);   

M4:=EMA(MAX(M1,0),3);   

M5:=IF(M3>0,M4,DRAWNULL);   

M6:=IF(M3>0,M4*0.8,DRAWNULL);   

跟庄器:IF(X5 AND M3>0,0,DRAWNULL),CIRCLEDOT,COLOR0077CC,LINETHICK1;   

DRAWBAND(M4,RGB(66,66,66),M4*0.8,DRAWNULL);   

DRAWBAND(M5,RGB(80,00,00),M6,DRAWNULL);   

拉:IF(M3>0,M4,DRAWNULL),COLORRED;   

强:IF(M3>0,M4*0.8,DRAWNULL),COLORFF00FF;   

DRAWTEXT(CURRBARSCOUNT=150,HHV(M4,100)/2,'买入不涨,逢高离场'),COLOR00FF00; 

  •  标签:  

原文链接:https://www.tdxzb.com/?id=1325

本文版权:如无特别标注,本站文章均为原创。

相关文章

服务热线

18020657357

微信客服

微信客服