PureBytes Links
Trading Reference Links
|
Hi Thomas
Thank you very much for your answer.
You say "unless the direction of the alert changes, it will show 2007-01-18 because the original signal was triggered then". This mean that the second alert, which has been sent by email on the 19th of January, is valid even if the date in the subject line of the email is 2007-01-18 instead of 2007-01-19. Is my understanding correct ?
Thanks again
Claude
----- Original Message -----
From: Tomasz Janeczko
To: amibroker@xxxxxxxxxxxxxxx
Sent: Sunday, January 21, 2007 10:33 AM
Subject: Re: [amibroker] Alert If function
Hello,
Rule #1 - when you ask code-related question always provide FULL formula
Rule #2 - never change default values unless you know what you are doing.
You have changed default values of AlertIF. THe flags (3) you decided to use mean:
send multiple repeative alerts. This means that it will send the same alert over and over again.
And unless the direction of the alert changes it will show 2007-01-18 because the original signal
was triggered then.
Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message -----
From: lapilia
To: amibroker@xxxxxxxxxxxxxxx
Sent: Sunday, January 21, 2007 2:49 PM
Subject: Re: [amibroker] Alert If function
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: amibroker@xxxxxxxxxxxxxxx
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: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of lapilia
Sent: Saturday, January 20, 2007 15:50
To: amibroker@xxxxxxxxxxxxxxx
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
Content-Description: "AVG certification"
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.17.3/642 - Release Date: 1/20/2007 10:31 PM
|