Is it possible to create an Alert that is triggered at a certain date or after number of days?

Back to topics list To post a new topic, please log in or register
avatar
10
annur 2014.01.05 08:27
 

Hi,

In the "Alert Editor", there is a condition called "Time=" and the format is "hh:mm".

I was wondering if this means it can only trigger alerts within the next 24 hours or is it possible to set it to trigger say, 3 days from now at 1am?

Thank you in advance for any help provided.

By the way, I am new here so please tell me if this is the right place to post.

avatar
35
sokramm 2014.01.05 15:27 #
 
annur:

Hi,

In the "Alert Editor", there is a condition called "Time=" and the format is "hh:mm".

I was wondering if this means it can only trigger alerts within the next 24 hours or is it possible to set it to trigger say, 3 days from now at 1am?

Thank you in advance for any help provided.

By the way, I am new here so please tell me if this is the right place to post.


I am not familiar with the "Alert Editor" but I can give you an example about something closely related. For full flexibility, just create an indicator like: https://www.mql5.com/en/code/10406

Then you can use: https://book.mql4.com/functions/datetime, for changing the "price" logic to a certain time and date you can set. This way you won't depend on what the "Alert Editor" allows you to do.

avatar
10
annur 2015.01.11 10:03 #
 
Thanks sokramm for your suggestion. That works for me.
Back to topics list  

To add comments, please log in or register