HAR1:=MA(CLOSE,8);
HAR2:=MIN(CLOSE,OPEN);
HAR3:=RANGE(REF(LOW,1),REF(HAR1,1)*0.99,REF(HAR1,1)*1.02) AND REF(HAR1,1)
HAR5:=RANGE(LOW,HAR1*0.99,HAR1*1.01) AND HAR2>=HAR1 AND REF(HAR1,1)
HAR7:=HAR4 AND EVERY(REF(HAR1,1)
HAR9:=MA(CLOSE,10);
H短买8:=IF(HAR6 OR HAR7 OR HAR5 AND CROSS(HAR8,HAR9),6,0),COLORMAGENTA;
短买8:H短买8=6;