PureBytes Links
Trading Reference Links
|
Richard,
1. Watch STATUS BAR for the display of
possible error message generated by AlertIF
when there is a trouble playing the file
2. Open View->Alert Output.
3. Re-read Tutorial on alerts.
Most users are confused by the fact that AlertIF by default
will not generate more than one
signal for the same stock and the same bar - this is so
because AlertIF is designed
to run in real time and therefore such behaviour is needed to
prevent repetitive alerts.
If you WANT repetitive alerts (for testing) you should
use
AlertIf<FONT
face="Courier New">(Sell,<FONT face="Courier New"
color=#ff00ff>"SOUND C:\\Windows\\Media\\Notify.wav"<FONT
face="Courier New">,"Audio
alert", <FONT face="Courier New"
color=#ff00ff>2, <FONT face="Courier New"
color=#ff00ff>1 /*FLAGS!!!*/);
Note FLAGS parameter
SET TO 1.
<FONT
size=2>Best regards,Tomasz Janeczkoamibroker.com
<BLOCKQUOTE
>
----- Original Message -----
<DIV
>From:
Richard
Harper
To: <A title=amibroker@xxxxxxxxxx
href="">amibroker@xxxxxxxxxxxxxxx
Sent: Wednesday, October 30, 2002 12:21
PM
Subject: [amibroker] dummy question for
the day...
To all;
Trying to get an alert to work during
autoanalysis/scanning.
The scanning works correctly, giving buy/sell as
expected.
Why can I not just add this code, after the
buy/sell definition line, and expect the alert to occur?
AlertIf(Sell,<FONT
color=#ff00ff>"SOUND C:\\Windows\\Media\\Ding.wav",<FONT
color=#ff00ff>"Audio alert",<FONT face="Courier New"
color=#ff00ff>2);
The result is no change in behavior, meaning the
buy/sell scan continues to work, but no sound alert.
Nothing. Nada.
If verfied pathing. Sound works correctly. I
should note I can not get any kind of alerts to work from autoanalysis, other
than the buy/sell signals themselves.
Thanks for any clues/ideas/checks.
RichardPost
AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A
href="">http://groups.yahoo.com/group/amiquote/messages/)Check
group FAQ at: <A
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Your use of Yahoo! Groups is subject to the <A
href="">Yahoo! Terms of Service.
|