can anyone help? Why do I get error 1409 with this code in mt4 to test OrderSend

 
input double TakeProfit    =15;
input double Lots          =0.01;
input double TrailingStop  =5;
void OnTick(void)
  {
   int    cnt,ticket,total;
   total=OrdersTotal();
   if(total<1)
     {
        {
         ticket=OrderSend(Symbol(),OP_BUY,Lots,Ask,3,0,Ask+TakeProfit*Point,"sf test",000000,0,Green);
         if(ticket>0)
           {
            if(OrderSelect(ticket,SELECT_BY_TICKET,MODE_TRADES))
               Print("BUY order opened : ",OrderOpenPrice());
           }
         else
            Print("Error opening BUY order : ",GetLastError());
         return;
        }
      return;
     }  
   for(cnt=0;cnt<total;cnt++)
  }

..

 
Please use the SRC button when posting code. I have done it for you this time
 
Do you mean 4109? Have you enabled EA trading?
Reason: