MT4 platform trailing stop, Does it work?

 
I have clicked a 30 pip trailing stop that is actually 3 real pips and it worked but when my trade was 20 real pips in profit I clicked the 130 pips and it never came in even though the trade remained 20 pips or more in profit. If the 30 pips is 3 pips one would assume the 130 pips is 13 real pips and therefore should have worked so why doesn't.
 

IIRC, Platform TS follow the rule. If we're talking about the same order in your scenario then the order would have had a trail of 30-Points. As far as it's concerned 30-Points is better than 130-Points. It wants you to lose less, not more, if price goes against you :) real big-brother.

should the trailing stop be reset? 
We set the trailing stop only in case the position already has a profit exceeding the trailing stop level in points, and in case the new level of the stop is better than the previous.
// check for trailing stop
if(TrailingStop>0)  
  {                 
   if((OrderOpenPrice()-Ask)>(Point*TrailingStop))
     {
      if((OrderStopLoss()>(Ask+Point*TrailingStop)) || (OrderStopLoss()==0))
        {
         OrderModify(OrderTicket(),OrderOpenPrice(),Ask+Point*TrailingStop,
                     OrderTakeProfit(),0,Red);
         return(0);
        }
     }
  }
Reason: