‘Trade is not allowed’ error messages most often show for clients who are using an Expert Advisor. In this case, you need to allow Automated Trading by following the below steps:
1) Login to your MT4 trading account.
2) Click on Tools > Options
3) Click on Expert advisors > Allow automated trading> OK.