PureBytes Links
Trading Reference Links
|
Firstly, try using these lines:
AlertIf( Buy, "Sound C:\\Windows\\Media\\Ding.wav","Buy",3);
AlertIf( Sell, "Sound C:\\Windows\\Media\\Ding.wav","Sell",3);
Note: the 3's at the end... this should provide (a) sound and (b)
alert in the alert window. (open alert window through View->Alert Output)
Check to see if alerts are actually appering the in alert output
first. If it is, make sure the path is correct?
Try that out and let us know how that worked out foryou.
--- In amibroker@xxxxxxxxxxxxxxx, "me_rayme" <raycherry1@xxxx> wrote:
>
> P R O F E S S I O N A L E D I T I O N
> (Version 4.70.3, Build date: Mar 24 2005)
>
> I used the AlertIF below as an example
>
> AlertIF( Sell, "SOUND C:\\Windows\\Media\\Ding.wav", "Audio alert",
> 2 );
>
> Then used the following code.
>
> My sound is OK as when I go to Media and click the sound happens.
> I use One Minute on YM.
>
> I can watch MACD and when it crosses, nothing happens.
>
> I can see the Plot functions, they work BUT no sound.
>
> I use sounfs like this on AIQ RT one minute futures.
>
> Help as it should work. What I want is a sound EACH time MACD
> crosses.
>
> Ray
>
> Buy=Cross( MACD(), Signal() );
> Sell=Cross( Signal(), MACD() );
>
> Plot(Buy,"",colorGreen,styleLine,styleThick);
> Plot(Sell,"",colorRed,styleLine,styleThick);
>
> AlertIf( Buy, "Sound C:\\Windows\\Media\\Ding.wav","Buy Audio
> alert",1);
>
> AlertIf( Sell, "Sound C:\\Windows\\Media\\Ding.wav","Sell Audio
> alert",2);
------------------------ Yahoo! Groups Sponsor --------------------~-->
What would our lives be like without music, dance, and theater?
Donate or volunteer in the arts today at Network for Good!
http://us.click.yahoo.com/Tcy2bD/SOnJAA/cosFAA/GHeqlB/TM
--------------------------------------------------------------------~->
Please note that this group is for discussion between users only.
To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com
For other support material please check also:
http://www.amibroker.com/support.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/
|