PureBytes Links
Trading Reference Links
|
Claude,
AlertIF is the only function I have trouble with. Everything else in AB is
incredibly stable...even beta versions. I suggest writing to support [at]
amibroker.com and see if they can give a better explanation.
I don't see anything wrong with your code, but I cannot see all the relevant
code so I can't be sure. You did leave out the flag to eliminate duplicate
alerts for the same day (8). You might add that back in and see what
happens.
--
Terry
-----Original Message-----
From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf
Of lapilia
Sent: Sunday, January 21, 2007 06:50
To: amibroker@xxxxxxxxxxxxxxx
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 <mailto:MagicTH@xxxxxxxxxxx>
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
|