OrderSend...

 
I wrote a simple script using the OrderSend function. When running the script I received error 4109 “Trade not allowed”.
I am running the script on a demo account.
What did I do wrong?
Thanks
 
Main menu - Tools - Options - Experts tab - check Allow Live Trading
Reason: