SendNotification()
remove notification function for the trailing stop, simplest solution ever if you have the source code
![Documentation on MQL5: Constants, Enumerations and Structures / Named Constants / Predefined Macro Substitutions Documentation on MQL5: Constants, Enumerations and Structures / Named Constants / Predefined Macro Substitutions](https://c.mql5.com/36/34/documentation-on-mql5-constants__31.png)
Documentation on MQL5: Constants, Enumerations and Structures / Named Constants / Predefined Macro Substitutions
- www.mql5.com
//| Expert initialization function | //| Expert deinitialization function | //| Expert tick function | //| test1 |...
Kenneth Parling:
OK I mis informed there, I didnt do it as a function, probably should do it. I coded it myself, It trails from an x distance (each time shorter depending on the profit in pips using a cuadrática equation as an ascending curve) But thats beside the point. Mql4(not using mql5) automatically sends a notification when ever I use OrderModify() without sendnotification().remove notification function for the trailing stop, simplest solution ever if you have the source code
Maybe you did answer my question but Im too dumb. If not, then how can I remove these beepz from my cell phone when ever it modifies!!!
Thx in avance again!
errmmm anything, anybody? how can I activate send notifications for only when I use SendNotification("xxxx") and not everytime there is an
OrderModify which appears to send a notification automatically.
palepalepale:
errmmm anything, anybody? how can I activate send notifications for only when I use SendNotification("xxxx") and not everytime there is an OrderModify which appears to send a notification automatically.
errmmm anything, anybody? how can I activate send notifications for only when I use SendNotification("xxxx") and not everytime there is an OrderModify which appears to send a notification automatically.
You have already been given your answer by Kenneth.
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
So I wish my expert advisor to send a notification to my metatrader app ONLY whenever it opens and order ( OrderSend() ). And it does, but my EA also has a trailing stop function. Whenever it modifies the order it sends a notification stating this modification. and in a trailing stop this happens a lot so you can imagine a lot of beeping when this happens. Is there a way to stop this??? I only want a notification for ordersends.
Thanx in advance