Which code for best trailing profit and breakeven?

 

hello to all I'm new in mql5 , I see some differences between mql4 and mql5, I ask you which is the best code to program the traling profit and breakeven.

thanks in advance

 
Gianni.D:

hello to all I'm new in mql5 , I see some differences between mql4 and mql5, I ask you which is the best code to program the traling profit and breakeven.

thanks in advance

Both languages can make a trailing profit, but I recommend MQL5 because you have more precise control over your orders, deals, and positions.
 
thanks interesting article. However I was looking for a ready-made function, which handles trailing stop and breakeven in an EA