Need help with TS

 

I did not see an example of how to make trailing stop.

Logically try to do myself.

if(condition...)

{

  TradeRequest.sl=tick.bid-_Point*TS;

   OrderSend(TradeRequest,TradeResult);

And it does not trail. 

Please help. Thank you.