Dear Terry Thanks for your prompt answer.
I use daily data. As I told you, the second alert has been sent by email on the 19th of January. However, in the subject line of the email, the date was 2007-01-18 instead of 2007-01-19. Is there a mistake in my formula ? Is it because the alert was for the same stock, on the 18th and on the 19th ? That kind of error happens once in a while. Very disappointed. Regards Claude ----- Original Message ----- From: Terry To: [email protected] Sent: Saturday, January 20, 2007 9:28 PM Subject: RE: [amibroker] Alert If function Claude, Your English is quite clear. Unfortunately, I cannot explain this behavior. I use AlertIf too and often is does not seem to behave as it should. I have not seen/noticed this date issue, but sometimes it simply does not send out the alert. Are you sure the 2nd alert was from the next day? Are you using daily data? -- Terry -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of lapilia Sent: Saturday, January 20, 2007 15:50 To: [email protected] Subject: [amibroker] Alert If function My system generates an email alert each time there is a Buy signal. On January 18th, my system generated a buy signal and an email alert. In the subject line of the email, the date was 2007-01-18. Till there, everything is OK. On January 19th, my system generated a buy signal on the same stock and an email alert. However, in the subject line of the email, the date was 2007-01-18 instead of 2007-01-19. Does anybody know why ? Here is the formula I use for the email alert : AlertIf( Buy, "EMAIL", "A sample alert on "+VolumeDeLaTransaction, 1, 1+2) Hope my English is understandable. My mother tongue is French ! Thank you very much for your help. Claude Marc-Aurele
