MA5:MA(CLOSE,M1),COLORYELLOW,LINETHICK1;
IF(C<=MA5, MA5,DRAWNULL),LINETHICK4,COLORGREEN;
MA21:MA(CLOSE,M2);
MA60:MA(CLOSE,60),POINTDOT,LINETHICK4,COLORRED;
IF(MA60>=C, MA60,DRAWNULL),POINTDOT,LINETHICK4,COLORGREEN;
MA120:=MA(CLOSE,M4);
MA250:=MA(CLOSE,M5),LINETHICK2,COLORWHITE;
压力熊线:MA(REF(HHV(C,21),1),2),COLORGREEN;
支撑牛线:MA(REF(LLV(C,21),1),2),COLORRED; AA1:=AMOUNT/V;BB1:=L
{TJ:=VOL>=REF(V,1)*1.91 AND C>REF(C,1)*1.01;
STICKLINE(TJ,OPEN,CLOSE,1.5,0),COLORYELLOW;
K1:=SUMBARS(TJ,1);
STICKLINE(K1,REF(C,K1-1),REF(C,K1-1),10,0),COLORYELLOW; }
N:=150;判断高低:=3;
高:=REF(HHV(H,N),判断高低);
近期顶:REFDATE(高,DATE),COLORGREEN,LINETHICK3;
最顶:=REFDATE(近期顶,DATE),NODRAW;
出:=最顶=H AND ((C-L)<(O-C) OR (O-L)<(C-O)),NODRAW;
STICKLINE(出,C,O,3,0),COLORGREEN;
STICKLINE(出,C,O,2,0),COLORGREEN;
低:=REF(LLV(L,N),判断高低);
近期底:REFDATE(低,DATE),COLORRED,LINETHICK3;
最底:=REFDATE(近期底,DATE),NODRAW;
进:=最底=L AND ((C+L)<(O+C) OR (O+L)<(C+O)),NODRAW;
STICKLINE(进,C,O,3,0),COLORRED;
STICKLINE(进,C,O,2,0),COLORRED;
M5:=MA(V,5),COLORWHITE,LINETHICK2;
DRAWTEXT(CROSS(V,M5),近期底,'★'),COLORYELLOW;
获利筹码: WINNER(C)*100,NODRAW;