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HJ_8);
HJ_37:=HJ_36<(-110) AND HJ_36>(-200);
HJ_38:=HJ_15 AND HJ_24 AND HJ_34 AND HJ_37 AND (CLOSE-OPEN)/OPEN>(-0.06);
HJ_39:=FILTER(HJ_38,2)*HJ_8;
抄底:HJ_38 AND HJ_39,COLORRED;
STICKLINE(抄底,300,0,4,0),COLOR770077;
STICKLINE(抄底,300,0,3,0),COLOR990099;
STICKLINE(抄底,300,0,2,0),COLORBB00BB;
STICKLINE(抄底,300,0,1,0),COLORWHITE;
STICKLINE(抄底,300,0,0.3,0),COLORMAGENTA;