How hard is it to program a trailing Take Profit

Hi everyone,

I would like to know if is that possible to program a trailing take profit

Let me explain my logic :

The initial TP is 10 pips, if the price passed this level : the Order has to be modify with a TP at 15 pips.

Thanks in advance for your help.

If you placed a TP and it is hit, the order is closed, done.

Hi I understand what you want to do but the logic is wrong ; as mde2f said when you hit the tp the order is closed but what you can do is use a simple trailing stop or a break even point to make sure you can get as much pips you can

Trailing stop loss make you difficult to test your strategy. It is true.

OP was mentioning trailing TP not trailing SL. How trailing TP works: https://www.google.de/search?q=How+Trailing+Take+Profit+works

Can not test accurately even it is Trailing stop loss or trailing TP

Thanks for your answers guys.

I think I will code a Trailing Stop loss or maybe find a way to close 50% of my position and let the other half go on.

trail take profit if the broker has jumped the target price?

Trailing stops will put you out of the best deals. Not taking the right decision to exit means, give the money back to the market, back where it belongs! Dust in the winds! Thought.