Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Hello,
I 've Tried Checking the Trailing Functions,
But with no luck ,
I tried calling the Trailing Stops functions but they don't appear to work on the strategy tester using MQL5
Lets say positions are opened on the OnTick() function we called our TrailAllPositions()
Now Inside TrailAllPositions how do we call the Built-in functions in here to start trailing?
The Trail functions cannot be initialized for some reason, or is there something I am missing?
I am coming from MQL4 , SO I am a bit new here at MQL5
Attached is what the strategy looks like , There are no SL being created or moved.
Your Help is Appreciated
PS: I don't want to re-invent the wheel and code another trailing strategy while there are built in ones, In this case I tried
Thanks