Usually one of three things: the licence key hasn't been activated, the MT5 account isn't on your authorised list, or algorithmic trading is switched off in the terminal itself.
It can also be working correctly and deliberately holding back: the news risk gate stops new entries around high-impact scheduled events, and no trade is taken while it's active.