Trailing Stop Loss reversal

 

Hello I was wondering  if anyone know how to code EA,  reverse "Trailing Stop Loss"  into "Trailing take Profit"?

thank you 

 
  1. There is no such thing as a trailing take profit. When the market hits the TP the order is closed.
  2. There is no such thing as a leading take profit. It can never be hit, thus useless.
  3. Don't use a TP, at all. Trail your SL.
 
William Roeder:
  1. There is no such thing as a trailing take profit. When the market hits the TP the order is closed.
  2. There is no such thing as a leading take profit. It can never be hit, thus useless.
  3. Don't use a TP, at all. Trail your SL.

Of course a trailing TP is a thing, why not ? It's the exact opposite of a trailing SL. When you reached a given distance from the open price, if it goes in the opposite direction your TP will follow.

 
Vivek Danielson:

Hello I was wondering  if anyone know how to code EA,  reverse "Trailing Stop Loss"  into "Trailing take Profit"?

thank you 

It's trivial. Show your code if you need coding help.

Reason: