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

Re: [amibroker] Re: Sound Problems AlertIF



PureBytes Links

Trading Reference Links

Herman - In the EOD version I found I can add or change sounds.  I don't understand your issue and it
must be because you're using the RT system which I don't have.  Would like to understand the limitations here
since I'm going to be using the realtime version as soon as I have to renew in a month or so.
 
For what it's worth and for others who run an EOD alerts system you can code your own
sound file.
 
Best regards
JOE  
 
A clip from and EOD alerts file that a friend of mine wrote.
//-----------------------------------------------------------------------------
 

// These are system level variables that may need to be modified to get
// the desired results
LOOKBK       = 10;
// SOUNDFILE   = "SOUND C:\\WINDOWS\\Media\\ringin.wav";
SOUNDFILE   = "SOUND C:\\WINDOWS\\Media\\dooo.wav";        // Homer's
EMAIL        = "EMAIL";
EXEC         = "EXEC";
ACTION       = SOUNDFILE;              // Either SOUNDFILE or EMAIL
//ACTION1       =SOUNDFILE1;
ATRIGGER     = Close;                  // Above price used for studies
BTRIGGER     = Close;                  // Below price used for studies
STOPREVERSE  = 1;                      // 1 for stop and reverse, 0 for stop
----- Original Message -----
From: psytek2
Sent: Friday, May 20, 2005 12:23 AM
Subject: [amibroker] Re: Sound Problems AlertIF

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






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





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