Trailing stop activate after target profit hit on EA question

 

Is it possible EA can do this way? let's say EA open a trade, then EA will add trailing stop 15pips after +50pips profit.

 
Yes, it is. See for example e -Trailing in Code Base.
 
Rosh:
Yes, it is. See for example e -Trailing in Code Base.

thank! this is very helpful!

 

wait.... I put the code into one of the EA, I couldn'y understand how this code function.

int = trailing stop & trailing step


let say I want trailing stop active after my trade +50pips, how to set thetrailing stop & trailing step value to do that?

Reason: