How to set an array to Null at the end of each trading day

I am stuck trying to solve this problem, trying to set an array to Null at the end of the day ( 15:30 ) until I get an entry signal (Buy or Short) the next day. I have tried using ExRem but did not get the desired result.

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 );


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.

Topic closed until poster proves license.