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

[amibroker] help with audible alerts



PureBytes Links

Trading Reference Links


Hi  all  

Im having some real problems setting up an alert for my trading 
system. Ive had help from Marcin at Amibroker but  its still not 
working. My system is to monitor the Golden Cross and Dead Cross for 
9 and 18 EMA`s . I have been trying for days to get the alert to 
work on this criteria 
MY formula is 

 if(InWatchList(0)){

buysignal = Cross( EMA(Close,9), EMA(Close,18) );

sellsignal = Cross(EMA(Close, 18), EMA(Close, 9));

AlertIf( buysignal, "SOUND C:\\Documents and Settings\ANDRE DE 
HAVILLAND\Desktop\fanfare3.wav", "Audio alert", 0);

AlertIf( sellsignal, "SOUND C:\\Documents and Settings\ANDRE DE 
HAVILLAND\Desktop\fanfare3.wav", "Audio alert", 0);}

//--Indicator-End--


And   I also have a different version in   Auto Analysis  checking 
watchlist 0 at 1 minute intervals 


Buy = Cross( EMA(Close,9), EMA(Close,18) ); 
AlertIf( Buy, "SOUND C:\\Documents and Settings\ANDRE DE 
HAVILLAND\Desktop\fanfare3.wav", "Audio alert", 1 ); 

Sell = Cross( EMA(Close,18),EMA(Close,9) ); 
AlertIf( Sell, "SOUND C:\\Documents and Settings\ANDRE DE 
HAVILLAND\Desktop\fanfare3.wav", "Audio alert", 2 ); 
 
//--Indicator-End--

But neither set my own wave file alert off ( I replaced Ding as  its 
too quiet ! ) 

Any  kind people out there that can sort out what Im doing wrong 
please and send me in the right direction ?

many thanks 

Andre 





------------------------ Yahoo! Groups Sponsor --------------------~--> 
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/