买线:=EMA(C,2);卖线:=EMA(SLOPE(C,21)*20+C,42); BU:=OSS(买线,卖线);SEL:=CROSS(卖线,买线);STICKLINE(买线>=卖线,LOW,HIGH,0.1,0),COLORRED;STICKLINE(买线>=卖线,CLOSE,OPEN,3,0),COLORRED;STICKLINE(买线<卖线,CLOSE,OPEN,3,0),COLORFFF000;STICKLINE(买线<卖线,LOW,HIGH,0.1,0),COLORFFF000;Z1:=REF(HIGH,4)=HHV(HIGH,2*4+1);Y1:=FILTER(Z1,3);C1:=BACKSET(Y1,3+1);D1:=FILTER(C1,3);A2:=REF(LOW,3)=LLV(LOW,2*3+1);V2:=FILTER(A2,3);C2:=BACKSET(V2,3+1);D2:=FILTER(C2,3);E1:=(REF(LLV(LOW,2*3),1)+REF(HHV(HIGH,2*3),1))/2;E2:=(HIGH+LOW)/2;H1:=(D1