Download MetaTrader 5
To add comments, please log in or register
Any problems with the code? Find solution in documentation!
annur
32
annur 2014.01.05 07: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.

sokramm
60
sokramm 2014.01.05 14: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.

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