MA5:MA(C,5);
MA10:MA(C,10);
MA20:MA(C,20);
M30:MA(CLOSE,30);
M60:MA(CLOSE,60),LINETHICK2;
M90:MA(CLOSE,90);
M120:MA(CLOSE,120);
M250:MA(CLOSE,250);
P1:=MAX(MAX(MAX(M30,M60),M90),M120);
P2:=MIN(MIN(MIN(M30,M60),M90),M120);
P3:=P1/P2<=1.16;
A:=CROSS(C,P1) AND P2>REF(P2,1) AND P3;
DRAWTEXT(A,H*1.01,'開花'),COLORWHITE;
W1:=MAX(MAX(MAX(M30,M60),M90),M120);
W2:=MIN(MIN(MIN(M30,M60),M90),M120);
W3:=W1/W2<=1.15 AND W2>M250;
B:=CROSS(C,W1) AND W3 AND W2>REF(W2,1);
DRAWTEXT(B,H*1.05,'牛花'),COLORYELLOW;
Y1:=MAX(MAX(M30,M60),M90);
Y2:=MIN(MIN(M30,M60),M90);
Y3:=Y1/Y2<=1.16 AND Y2>M120 AND M120>M250 AND M120>REF(M120,1);
Q:=CROSS(C,Y1) AND Y3 AND Y2>REF(Y2,1);
DRAWTEXT(Q,H*1.09,'二次'),COLORRED;
C3:=REF(C,1);
漲停:=IF((C-C3)*100/C3>=(10-0.01*100/C3),1,0);
STICKLINE(漲停,OPEN,CLOSE,2,0),COLORRED;
跌停:=IF((C3-C)*100/C3>=(10-0.01*100/C3),1,0);
STICKLINE(跌停,OPEN,CLOSE,2,0),COLORGREEN;
K:=(C+H+L)/3;
D:=MA(K,4);
DRAWTEXT(REF(C,1)>D AND C<D AND D>REF(D,1),H*0.95, 'S'),COLORGREEN;
DRAWTEXT(REF(C,1)<D AND C>D AND D<REF(D,1),L*0.98 ,'B'),COLORRED;
引:=(MA(C,30)+MA(C,72))/2,COLORRED,POINTDOT,LINETHICK3;
引1:=引*0.9,COLORWHITE,POINTDOT,LINETHICK3;
引2:引*1.1,COLORYELLOW,POINTDOT,LINETHICK3;
{AA:=MA(C,30);
BB:(HHV(A,N)-LLV(A,N))*100/LLV(A,N),NODRAW;}
A90:COST(90),COLORFF00FF,POINTDOT,LINETHICK4;
集中度:(COST(95)-COST(5))/(COST(95)+COST(5))*1000/10,NODRAW;
ZT:=C/REF(C,1)>1.097;
XH:=FILTER(ZT,13);
BH:=BARSLAST(ZT);
WWW:=H<REF(H,1) AND L>REF(L,1) AND REF(C,1)<REF(H,BH)
AND REF(C,1)>REF(L,BH) AND BH<=18;
WWW1:=H<REF(H,2) AND L>REF(L,2) AND REF(C,2)<REF(H,BH)
AND REF(C,2)>REF(L,BH) AND BH<=18;
DRAWTEXT(WWW OR WWW1,H*1.01,'變'),COLORGREEN;
QW:=H<REF(H,1) AND L>REF(L,1);
DRAWTEXT(QW,L,'孕'),COLORYELLOW;
中:L+(H-L)/2,NODRAW;
前中:REF(中,1),NODRAW;
STICKLINE(ISLASTBAR,前中,前中-0.01,5,0),COLORYELLOW;
聯(lián)系客服