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

[amibroker] ALERTIF Function problem



PureBytes Links

Trading Reference Links

I hope someone can help me out here.

I'm trying to use the AlertIf function within an indicator.

Plot(CCI(20), "CCI", 1);

Buy = Cross( CCI(20), -100 );
Sell = Cross( 100, CCI(20) );

AlertIf( Buy, "SOUND C:\\Windows\\Sounds\\buy.wav", "Audio alert", 
1 );
AlertIf( Sell, "SOUND C:\\Windows\\Sounds\\sell.wav", "Audio alert", 
2 );

Well, the sounds are not activated. I made sure that the indicator 
box is checked in the preference/alerts menu.  When I use the same 
script in the commentary window then it works.  I'm baffled.

Gernot




------------------------ 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/