HJ_1:=IF(DATE 1151130,1,0);
HJ_2:=MA(CLOSE,5);
HJ_3:=IF(CLOSE SAR(10,2,20),1,0);
HJ_4:=IF(CLOSE SAR(10,2,20),(-1),0);
HJ_5:=ATAN((HJ_2/REF(HJ_2,1)-1)*100)*180/3.1416;
HJ_6:=IF(HJ_5 30,1,0);
HJ_7:=IF(HJ_5 (-30),(-1),0);
持股:IF(HJ_1=1,HJ_3+HJ_6+HJ_4+HJ_7,0);
OO:0,COLORWHITE;
IF(持股 0,持股,DRAWNULL),COLORRED,LINETHICK3;
IF(持股 0,持股,DRAWNULL),COLORGREEN,LINETHICK3;
{-----------------------------------}