Trailing Stop
Can someone please give me an example of how to use the MQL5 built-in class TrailingFixedPips ?
I tried the following:
I would like to have an example too. A short and simple way of adding a trailing stop is needed. I use hedge-accounts so I want to also add the trailing stop to all the positions I open.
It seems to me that doing trailing.StopLevel(tsl_pips); is not enough.
So, how to properly put the trailing stop loss with this built in class?
Can someone please give me an example of how to use the MQL5 built-in class TrailingFixedPips ?
I tried the following: