Please, how to check in TradingView\'s Pine Script version 4 if the market or session is closed or not?
Part of my script needs to check when (