How To Use TrailingStop class for my own manual trades?

 
I have these manual trades. And I want to have an EA to trail these trades. My question is, is this possible? I was wondering to code something using objects from the trailingstop class, is this correct approach?