[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [amibroker] dummy question for the day...



PureBytes Links

Trading Reference Links


Tomasz;
 
With the Lookback set,  should I be able to 
test AlertIf outside normal trading hours (as defined in 
preferences)?
<BLOCKQUOTE 
>
----- Original Message ----- 
<DIV 
>From: 
Tomasz Janeczko 

To: <A title=amibroker@xxxxxxxxxx 
href="">amibroker@xxxxxxxxxxxxxxx 
Sent: Wednesday, October 30, 2002 4:21 
AM
Subject: Re: [amibroker] dummy question 
for the day...

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!!!*/<FONT 
face="Courier New">);
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@xxxxxxxxxxxx 
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. 
Post 
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.