OrderSend not working

 

 Hi I have a code with Buy & Sell Price both as a function of Bid

if (Bid <= SellPrice1)   level=true; 
   
 if (level = true && Bid >= BuyPrice1 && total<2)            // Stoploss order 1
 OrderSend(Symbol(),OP_BUY,Lots,0,0,0,0,NULL,0,clrNONE);


 Since I'm designing it as pyramiding strategy I can't use Take Profit level

Now this code shows no error in compiling but it never send an order what are the possible way I could make this work. Any help would be greatly appreciated 

 
 OrderSend(Symbol(),OP_BUY,Lots,0,0,0,0,NULL,0,clrNONE);
Do you really expect to buy for zero?
 
GumRai:
Do you really expect to buy for zero?
Err. !! Thanks for pointing this. I will check it on  Monday as the market re opens.
Reason: