Why "Null". Null means "having no value at all". You should not be assigning such value purposely unless you have very good reason to do so. Instead you should just set Buy and Sell to FALSE and that would mean no signal.
Buy = IIF( TimeNum() == 153000, False, ....something else );
IMPORTANT:
Your user account isn't marked with License verified badge. Did you purchase AmiBroker license?
Only users with License verified badge are allowed to post on this forum.
So before posting, make sure you verify your license as explained here.