I am wrting some code to move my stop loss to breakeven after certain number of x pips profits has been secured.
BUT.. how can I turn my code off when and if I decide to start a trailing stop loss from the MT4 menu manually. Is there a function that recognises that a MT4 menu fired trailing stop is running...???
BUT.. how can I turn my code off when and if I decide to start a trailing stop loss from the MT4 menu manually. Is there a function that recognises that a MT4 menu fired trailing stop is running...???
why not just put an "if OrderStopLoss() > (OrderOpenPrice() + Point) then (DoYourBreakEvenFunction () == false);" something like that should work.

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
BUT.. how can I turn my code off when and if I decide to start a trailing stop loss from the MT4 menu manually. Is there a function that recognises that a MT4 menu fired trailing stop is running...???