X_3 := (CLOSE - REF(CLOSE,1)) / REF(CLOSE,1) * 100;

X_4 := VOL / REF(MA(VOL,5),1);

X_5 := CAPITAL / 1000000;

X := X_3 > 2.5 AND X_4 > 1.5 AND X_5 < 3;

DRAWTEXT(X AND TIME<=0935, L+0.4, '买买买'), COLORRED;