SMA10 := MA(CLOSE, 10);

SMA50 := MA(CLOSE, 50);

VOL50 := MA(VOLUME, 50);

BUY_SIG := CROSS(SMA10, SMA50) AND VOLUME > VOL50 AND TIME <= 0933;

STICKLINE(IF(BUY_SIG, TIME <= 0933, 0), LOW, HIGH, 3, 0), COLORRED;