BUG meta4 with delete order limit

 

I have find the follow bugs one meta4

i want to delete the order when the trailingstop pass cross the entry of limit order

this work with Buy limit but not with Sell limit, when appear the entry signal and is triggered, the EA delete all the sell limit also when the condition

stoplosshort < entratashortlimit1

is not sotisfacted

http://clip2net.com/page/m0/2280809

if(total>0)
{
   for(cnt = total-1; cnt >= 0; cnt--)
   {
      OrderSelect(cnt, SELECT_BY_POS, MODE_TRADES);
      {
       if ( OrderType()==OP_BUYLIMIT && stoploslong > entratalonglimit1) 
         {
          OrderDelete(OrderTicket());
           Alert("Delete ordini Long");
         }
       if (OrderType()==OP_SELLLIMIT && ( stoplosshort < entratashortlimit1 )) 
         {
          OrderDelete(OrderTicket());
          Alert("Delete ordini Sell");
         }
    }
}

so where is the bug

it work for long and not for short!!!