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

Re: Playing alarm



PureBytes Links

Trading Reference Links

Investment Engineering http://www.investlabs.com/ has a couple of add-on
pieces of code that allow you to add sound to an EL file.

All the best,
Richard Ralph



----- Original Message -----
From: "Massimo Ciarafoni" <maxci@xxxxxx>
To: "omega list" <omega-list@xxxxxxxxxx>
Sent: Friday, March 03, 2000 8:48 AM
Subject: Playing alarm


> Is there a way to play an alarm or wav file just once for each bar when
> a condition is true?
> I tried:
>
> Inputs:Level(100);
> Vars:Alarm(True);
> Condition1=Volume crosses above level;
> If Condition1 then begin
>     If CheckAlert then Alert=True;
>     Alarm=Playsound("C:\volume.wav");
> end;
>
> But it plays the wav file several times during the bar  wher condition1
> is true if the update every tick option is checked.
> Is there a way to be warned just once?
>
> --
> Best Regards
>
> Massimo Ciarafoni
>
> "Being defeated is often a temporary condition. Giving up is what makes
> it permanent." - Marilyn vos Savant
>
>
>
>