线:=EMA(C,2);
卖线:=EMA(SLOPE(C,21)*20+C,42);
STICKLINE(买线>=卖线,REFDATE(HHV(H,256),DATE),REFDATE(LLV(L,256),DATE),5,0),COLOR600020;
STICKLINE(买线<卖线,REFDATE(HHV(H,256),DATE),REFDATE(LLV(L,256),DATE),5,0),COLOR404050;
DRAWKLINE(H,O,L,C);
高:=REF(HHV(H,150),3);
低:=REF(LLV(L,150),3);
格幅:(高-低)/低*10,NODRAW;
H1:高-(高-低)*0.11,COLORLIRED;
H2:高-(高-低)*0.22,COLORLIBLUE;
强势:高-(高-低)*0.33,COLORRED;
H4:高-(高-低)*0.44;
弱势:高-(高-低)*0.66 COLORLIGREEN;
H7:高-(高-低)*0.77;
H8:高-(高-低)*0.88;
H9:高-(高-低)*0.99;
半分位:高-(高-低)*0.55,POINTDOT,LINETHICK4,COLOR9900FF;