create Alert under AlertsTab via MT4 code after trade isOpen
Posted: Sat May 19, 2018 5:48 am
Hello,
Is there a solution to create an Alert in MT4 Terminal window, under "Alerts" tab, thru MT4 code? I know well I can do that manually on Alerts tab, but I need to do this automatically by a code, each time when new position is opened and to put TP value (of the opened position) into my alert. Note: I know I can easily get a notification on closed positions (TP is reached), but, after position is opened I will remove TP price (AFTER creation of alert with TP price) so I can act manually on the trade later.
Thank you very much!
Best regards
Is there a solution to create an Alert in MT4 Terminal window, under "Alerts" tab, thru MT4 code? I know well I can do that manually on Alerts tab, but I need to do this automatically by a code, each time when new position is opened and to put TP value (of the opened position) into my alert. Note: I know I can easily get a notification on closed positions (TP is reached), but, after position is opened I will remove TP price (AFTER creation of alert with TP price) so I can act manually on the trade later.
Thank you very much!
Best regards