I was wondering if someone could point me to some code that I can use in an EA that will allow me to place a trailing stop with code. Instead of using a Take Profit point, I want to put in a trailing stop order so if the order is moving in a trend I can take advantage of the profit instead of just taking it out with a TP point.
I have searched the MQL code base and cannot see any functions to place a trailing stop on an open order.
Thank you!
I have searched the MQL code base and cannot see any functions to place a trailing stop on an open order.
Thank you!