通信达公式破解 通达信均线互换主图穿越指标(2)
2018-01-03 10:41 股票知识 zhishi.southmoney.com
PP2:=操作线<震仓线2 AND REF(操作线,1)>震仓线2 ;
PP:=操作线<震仓线 AND REF(操作线,1)>震仓线 ;
PP3:=操作线<抄底线 AND REF(操作线,1)>抄底线;
HH:=COUNT(涨停,13)>=1;
STICKLINE(PP2 AND HH,OPEN,CLOSE,0.8,0),COLORBLUE;
STICKLINE(PP AND HH,OPEN,CLOSE,0.8,0),COLORBLUE;
STICKLINE(PP3 AND HH,OPEN,CLOSE,0.8,0),COLORBLUE;
A:=SMA(L,4,3),NODRAW;
STICKLINE(A AND REF(PP,1) AND HH ,A*0.9999,A*0.9979,5,0),COLORGREEN;
DRAWICON(A AND REF(PP,1) AND HH,L*0.98,1);
STICKLINE(A AND REF(PP3,1) AND HH ,A*0.9999,A*0.9979,5,0),COLORGREEN;
DRAWICON(A AND REF(PP3,1) AND HH,L*0.98,1);
EMA13:=EMA(C,13),COLORWHITE,LINETHICK2;
EMA34:=EMA(C,34),COLORYELLOW;
EMA55:=EMA(C,55),COLORFF00FF;
EMA120:=EMA(C,120),COLORFFCC66;
差:=IF(EMA13>EMA55,(EMA13-EMA55)/EMA55,0);
低:=SMA(L,4,3),NODRAW;
A1:=EMA13*1.035;
B:=(REF(L,1)-REF(EMA13,1))/2+REF(EMA13,1),NODRAW;
Y:=(MA(C,11)-MA(C,55))/MA(C,11)*100;
AR1:=EMA55>EMA34 AND EMA34>EMA13;
AR2:=BARSLAST((C-EMA13)/EMA13*100<-6);
AR3:=EMA13>=REF(EMA13,2);
AR4:=COUNT(CROSS(C,EMA13),AR2)=1;
AR5:=AR1 AND AR2 AND AR3 AND AR4;
均线互换:=BARSLAST(REF(CROSS(EMA55,EMA34),1)) AND CROSS(EMA34,EMA55);
DRAWTEXT(均线互换,L*0.98,'均线互换'),COLOR0099FF;
STICKLINE(均线互换,H,L,0,1),COLOR0099FF;
STICKLINE(均线互换,O,C,3,1),LINETHICK2,COLOR0099FF;
YY1:=C>MA(C,11) AND OPEN<MA(C,11);
YY3:=C>MA(C,33) AND OPEN<MA(C,33);
YY5:=C>MA(C,55) AND OPEN<MA(C,55);
DRAWTEXT(YY1 AND YY5 AND YY3,LOW*0.99,'一阳三线'),COLORRED;
ZD1:=C<EMA(C,13) AND OPEN>EMA(C,13) AND C<EMA(C,34) AND OPEN>EMA(C,34);
ZD2:=C<EMA(C,55) AND OPEN>EMA(C,55) AND (C-REF(C,120))/REF(C,120)>0.5;
ZD3:=ZD1 AND ZD2;
ZD:=ZD3 AND FILTER(ZD3,10);
DRAWTEXT(ZD,LOW-0.2,'断头铡刀'),COLORBLUE;
DRAWTEXT(CROSS(EMA34,EMA13),EMA34*1.01,'分'), COLOR00FF00;
下影线:=(C-L)>(H-C);
DRAWTEXT(EXIST(均线互换,25) AND LOW<=EMA55 AND EMA13>=REF(EMA13,1) ,L*0.99,'#');
VOLUME:=VOL,VOLSTICK;
MAVOL1:=MA(VOLUME,5);
MAVOL2:=MA(VOLUME,10);
DRAWTEXT( VOLUME>MAVOL1 AND VOLUME>MAVOL2 AND REF(C,1)<EMA13 AND C>EMA13 AND
C<A1 AND EMA13>EMA34 AND C>=REF(C,1),L*0.995,'▲'),COLORRED;
LCC:=REF(CLOSE,1);(股票知识网zhishi.southmoney.com)
股票知识网声明:资讯来源于合作媒体及机构,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。