MACD及理念之二-精品通达信指标公式源码分享
通达信免费指标
10-30
阅读:66
评论:0
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;
版权声明
本文版权归掌上指标所有。
未经许可,不得转载,转载请注明出处!