Download MetaTrader 5

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

To add comments, please log in or register
annur
32
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.

sokramm
59
sokramm  
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.

annur
32
annur  
Thanks sokramm for your suggestion. That works for me.
To add comments, please log in or register