六十天均線:MA(C,60),colorliblue,linethick3;
下軌:MA(MIN(LLV(L,21),LLV(L,34),LLV(L,55),LLV(L,68),LLV(L,81)),5),coloryellow,linethick2;
上軌:MA(MAX(HHV(H,21),HHV(H,34),HHV(H,55),HHV(H,68),HHV(H,81)),5),colorgreen,linethick2;
LC := REF(CLOSE,1);
近頂?shù)?=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
DRAWICON(近頂?shù)?gt;=80,H,2),coloryellow;
DRAWICON(近頂?shù)?lt;=20,L,1),colorgreen;
短線:=MA(C,5),colorwhite;
mm=(C O)/2;
空頭k線:REF(mm,1)>mm,colorgreen,nodraw;
STICKLINE(REF(mm,1)>mm,O,C,8,1),colorgreen;
STICKLINE(REF(mm,1)>mm AND C>O,H,C,1,0),colorgreen;
STICKLINE(REF(mm,1)>mm AND C>O,O,L,1,0),colorgreen;
STICKLINE(REF(mm,1)>mm AND C<O,L,C,1,0),colorgreen;
STICKLINE(REF(mm,1)>mm AND C<O,H,O,1,0),colorgreen;
RSV=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
a=SMA(RSV,3,1);
b=SMA(a,3,1);
尋底k線:b<=20,nodraw,coloryellow;
STICKLINE(b<=20,O,C,8,1),coloryellow;
STICKLINE(b<=20 AND C>O,H,C,1,0),coloryellow;
STICKLINE(b<=20 AND C>O,O,L,1,0),coloryellow;
STICKLINE(b<=20 AND C<O,L,C,1,0),coloryellow;
STICKLINE(b<=20 AND C<O,H,O,1,0),coloryellow;
漲停:=IF(REF(C,1)*1.1-C<0.01 ,1,0);
STICKLINE(漲停,OPEN,CLOSE,8,0),colormagenta;
r:=((ZDMR[-1] BDMR[-1])-(ZDMC[-1] BDMC[-1]))/SHGZG*100;
大單凈量:r,nodraw,colorred;
DRAWTEXT((r>0 AND REF(r,1)>0 AND REF(r,2)>0 AND REF(r,3)>0),C,'-------------------'),colorwhite;
DRAWGBK( (r>0 AND REF(r,1)>0 AND REF(r,2)>0 AND REF(r,3)>0) AND b<=20 ,STRIP(RGB(60,100,255),RGB(180,180,255),1))