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

[amibroker] AlertIf()



PureBytes Links

Trading Reference Links

Hello...I have been at this for a bit.... I want to create a sounds at any
time I need them (at any quote if needed), without blocking repeats etc. I
thought that setting the Flags to zero should pass all calls and create a
sound at each execution pass.


AlertIf( 1,"SOUND C:\\Program Files\\AmiBroker\\Sounds\\Buy.wav","Buy
alert",0,0 );

Problem is I can only get it to sound once... after a code edit. Also I
don't understand that the function prototype in Help specifies a Boolean but
in the example code Buy arrays are passed to the function.

Perhaps, does this function work exclusively wrt to the last bar(s) or can
it trigger on any selected bar?

any help would be appreciated!
herman.


[Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/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/