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

re:Playing alarm



PureBytes Links

Trading Reference Links


The only way I know of is using a DLL. AscTrend accomplishes
it this way which they call "OnceAlert" or something similar. I threw
the challenge out to OM when he was going through his reverse engineering 
thing some time ago however I guess he wasn't able to crack it.
I don't use AscTrend but their Alert  is a nice feature.

Ian Cunningham.


Message text written by INTERNET:omega-list@xxxxxxxxxx
>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
<