help with MT4 trade script

 
hi,

every time i use the trade script on my MT4 platform i get this error "trade is not allowed in the expert properties".
can someone please help or advise on how to make this work?

Michael
 

Menu -- Tools -- Options -- Expert Advisors Tab -- Set checkboxes Enable Experts , Allow Live Trading

That might fix it.