PureBytes Links
Trading Reference Links
|
You can turn off the multiple alerts within one time bar with the flags.
>From the help file:- 5. Flags control behaviour of AlertIF function. This
field is a combination (sum) of the following values: ( 1 - display text in
the output window, 2 - make a beep (via computer speaker), 4 - don't display
repeated alerts having the same type, 8 - don't display repeated alerts
having the same date/time) By default all these options are turned ON.
Cheers,
Graham
http://groups.msn.com/ASXShareTrading
http://groups.msn.com/FMSAustralia
-----Original Message-----
From: jehmac [mailto:jehmac@xxxxxxxxx]
Sent: Wednesday, 11 June 2003 11:11 AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Alerts and tick charts question
I am having some problems with alerts on tick charts.
For example, I can be running a 20 tick chart, with
the following simple setup. The problem is that alerts sometimes
trigger before the 20 tick bar has fully completed. Also, sometimes I
get multiple alerts spaced 5 seconds apart. I know that internally
AB stores data with 5 second granularity, so perhaps this has
something to do with it? I initiate scans more often that once a
minute using AB automation.
Anyone have any feedback?
-------------
Buy = Cross( close, study( "R1" ) );
Short = Cross( study( "S1" ), close );
Sell = 0;
Cover = 0;
AlertIF( Buy, "SOUND C:\\WINNT\\Media\\The Microsoft Sound.wav",
"Buy signal triggered at " + close, 1, 15, 0);
AlertIF( Short, "SOUND C:\\WINNT\\Media\\Utopia Windows Start.WAV",
"Short signal triggered at " + close, 2, 15, 0);
Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at:
http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get A Free Psychic Reading! Your Online Answer To Life's Important Questions.
http://us.click.yahoo.com/Lj3uPC/Me7FAA/ySSFAA/GHeqlB/TM
---------------------------------------------------------------------~->
Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
|