ABC1:=REF(CLOSE,1)< REF(CLOSE,2);
ABC2:=OPEN< CLOSE;
ABC3:=CLOSE/REF(CLOSE,1)>1.005;
ABC4:=HIGH-CLOSE>(OPEN-LOW)*1.5;
ABC5:=HIGH/OPEN>1.01 AND HIGH/OPEN< 1.09;
ABC6:=HIGH< REF(HIGH,2)*0.995;
ABC7:=LOW< REF(LOW,2)*0.995;
ABC8:=REF(CLOSE,2)/REF(CLOSE,1)>1.034;
ABC9:=VOL>=HHV(VOL,30)*0.2;
ABC10:=CLOSE/REF(CLOSE,1)>1.024;
ABC11:=CLOSE/REF(CLOSE,1)< 1.0956;
ABC12:=HIGH/CLOSE< 1.06 AND HIGH/REF(HIGH,1)< 1.015;
ABC13:=5;
ABC14:=10;
ABC15:=20;
ABC16:=60;
ABC17:=MA(VOL,ABC13);
ABC18:=MA(VOL,ABC14);
ABC19:=MA(VOL,ABC15);
ABC20:=MA(VOL,ABC16);
ABC21:=MIN(REF(VOL,1),REF(VOL,2));
ABC22:=MIN(REF(VOL,3),REF(VOL,4));
ABC23:=MIN(REF(VOL,5),REF(VOL,6));
ABC24:=MIN(REF(VOL,7),REF(VOL,8));
ABC25:=MIN(REF(VOL,9),REF(VOL,10));
ABC26:=MIN(REF(VOL,11),REF(VOL,12));
ABC27:=MIN(REF(VOL,13),REF(VOL,14));
ABC28:=MIN(REF(VOL,15),REF(VOL,15));
ABC29:=MIN(MIN(ABC21,ABC22),MIN(ABC23,ABC24));
ABC30:=MIN(MIN(ABC25,ABC26),MIN(ABC27,ABC28));
ABC31:=MIN(ABC29,ABC30);
ABC32:=VOL<=ABC31*4;
ABC33:=VOL< MA(VOL,60);
ABC34:=REF(MAX(OPEN,CLOSE)/MIN(OPEN,CLOSE),3)< 1.04;
今买:=ABC1 AND ABC2 AND ABC4 AND ABC5 AND ABC6 AND ABC8 AND ABC9 AND ABC10 AND ABC7 AND ABC12 AND ABC32 AND ABC34,COLORLIMAGENTA,LINETHICK2;
DRAWTEXT(今买,0.6,' ★今买'),COLORLIMAGENTA;
STICKLINE(今买,0,1,0.6,0),COLORYELLOW;
STICKLINE(今买,0,1,0.6,0),COLORYELLOW;
STICKLINE(今买,0,1,0.6,1),COLORYELLOW;
DRAWICON(今买,0.6,7);
明卖:=REF(今买,1) AND HIGH/REF(CLOSE,1)>=1.009,COLOR80FFFF,LINETHICK2;
DRAWTEXT(明卖,0.9,' ★明卖'),COLORBLUE ;
STICKLINE(明卖,0,1,0.6,0),COLORRED;
DRAWICON(明卖,1,5);