How to restrict trading to certain hours of the day for "24/7 Market"

Dear Friends,

For 24/7 market I would like to set the trading hours to be from 18:30 to mid nite 02:00
How to set it?

tn = TimeNum();
startTime = 93000; // start in HHMMSS format
endTime = 110000;  // end in HHMMSS format
timeOK = tn >= startTime AND tn <= endTime;

Buy = Cross( MACD(), Signal() ) AND timeOK;
Sell = Cross( Signal(), MACD() ) AND timeOK; 

THanks!

Regards, Ben