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

[amibroker] Re: Sound Problems AlertIF



PureBytes Links

Trading Reference Links

imho The Alert() is overkill for a simple sound function; we need a 
simple afl Sound() that works unconditionally under "all" conditions 
and at "all" times, i.e. regardless of chart position, barsrequired, 
state of several arguments, etc. Ideally it should have soundfile 
buffering so that you don't miss a second sound triggered during the 
same afl pass. 

I emailed a suggestion to support for a simple Sound(). If you too 
think this is useful please email your support for such a function.

Adding sounds to your RT/AT system is a natural progression and even 
a requirement. Once you have sounds working you will never again work 
without it: it is the only possible eyes-off connection you have with 
your trading system.

Sounds are underutilized in AmiBroker simply because users are turned 
off by complexity and problems; they give up and don't want to waste 
too much time on it. 

best regards,
herman.

 


--- In amibroker@xxxxxxxxxxxxxxx, "me_rayme" <raycherry1@xxxx> wrote:
> Wondering if a bug exists in AB sound.
>  XP 2.4GH 800 mh buss 1 gb of ram. ver 4.70.5  with IB backfill
> Looking at YM futures, one minute.
> 
> I have two AlertIF programs up, some times four, one where the 
Cross 
> of 20ma and 50ma and another where the Signal and MACD cross.
> 
> both have identical alerts as below.
> 
> AlertIf( Buy, "Sound C:\\Program 
> Files\\AmiBroker\\Sounds\\gunshot.wav","Buy MA20-50",1);
> 
> AlertIf( Sell, "Sound C:\\Program 
> Files\\AmiBroker\\Sounds\\tada.wav","Sell MA50-20",2);
> 
> the other is 
> AlertIf( Buy, "Sound C:\\Program 
> Files\\AmiBroker\\Sounds\\gunshot.wav","Buy MACD",1);
> 
> AlertIf( Sell, "Sound C:\\Program 
> Files\\AmiBroker\\Sounds\\tada.wav","Sell MACD",2);
> 
> What happens is the gunshot comes through maybe every second, 
> continously. This only happens every few days. Normal most of the 
> time, maybe every 5 minutes. Something starts it and have to delete 
> the two alerts, then will be Ok when I start them later.
> 
> This comes up at the bottom left, see quotation marks, of AB during 
> the rapid firing of the gunshot. Says tada wave failed.
> 
> "SOUND C:\Program Files AmiBroker\Sounds\tada.wavfailed. (Note: '\' 
> in the path must be replaced by '\\')"
> 
> 
> Also the Alert Output shows the text as below.
> 
> Alert Output
> Ticker       l             Date/Time l Text
> YM   ...       5/18/2005 11:33:00    Buy MA20-50
> YM   ...       5/18/2005 11:33:00    Sell MACD
> YM   ...       5/18/2005 11:33:00    Buy MA20-50
> YM   ...       5/18/2005 11:33:00    Sell MACD
> YM   ...       5/18/2005 11:33:00    Buy MA20-50
> YM   ...       5/18/2005 11:33:00    Sell MACD
> YM   ...       5/18/2005 11:33:00    Buy MA20-50
> YM   ...       5/18/2005 11:33:00    Sell MACD
> YM   ...       5/18/2005 11:33:00    Buy MA20-50
> 
> 
> Does any body else have this problem?? I have the double 
backslashes.
> What am I doing wrong? Will send both programs if required.
> Ray






------------------------ Yahoo! Groups Sponsor --------------------~--> 
In low income neighborhoods, 84% do not own computers.
At Network for Good, help bridge the Digital Divide!
http://us.click.yahoo.com/EpW3eD/3MnJAA/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/