Too bad it can't laugh

What I ment is, at the same time I could trade manually in MT4.

I assume I can check in the trading function if or if not market is open?
Is there an advised way to check if market is open, e.g. using tick function?