买线:=EMA(C,2);卖线:=EMA(SLOPE(C,21)*20+C,42);BU:=OSS(买线,卖线);SEL:=CROSS(卖线,买线);DRAWICON(BU,L-0.1,1);DRAWICON(SEL,H+0.1,2);STICKLINE(买线>=卖线,LOW,HIGH,0.0,1),COLORLIRED;STICKLINE(买线>=卖线,CLOSE,OPEN,2,1),COLORLIRED;STICKLINE(买线<卖线,LOW,HIGH,0.0,1),COLORLIBLUE;STICKLINE(买线<卖线,CLOSE,OPEN,2,1),COLORLIBLUE;空:=EMA(CLOSE,5);动平衡:EMA(空,34),COLORYELLOW,LINETHICK2;双线:HHV(MA(HIGH,3),2),COLORGREEN,LINETHICK2;单线:LLV(MA(HIGH,3),1),COLORRED,LINETHICK2;VARA:=(CLOSE-REF(OPEN,29))/REF(OPEN,29)*100;VARB:=EMA(0.667*REF