PureBytes Links
Trading Reference Links
|
Posted this asking for help , but wasnt able to recieve a solution.
If Uptick > Downtick then begin
PlaySound(c:\datasounds\test1.wav) ;
If Downtick > Uptick then begin
PlaySound (c:\datasounds\test2.wav) ;
One email suggested adding conditions, and putting the wav in quotation
marks, so now it changes to...
If Condition1= Uptick > Downtick then begin
PlaySound("c:\datasounds\test1.wav");
If Condition2= If Downtick > Uptick then begin PlaySound
("c:\datasounds\test2.wav");
Still, as i wrote in the original email, i am getting " Uptick not
recognized by EasyLanguage ".
I am not sure what i would need to use to get TS to recognize what is a
uptick from a downtick.
Anyone that is able to help i appreciate it... Bill..
-----Original Message-----
From: knyyt <knyyt@xxxxxxxxxxxx>
To: omega-list@xxxxxxxxxx <omega-list@xxxxxxxxxx>; code-list@xxxxxxxxxxxxx
<code-list@xxxxxxxxxxxxx>
Date: Wednesday, April 14, 1999 8:09 AM
Subject: CL_Playsound EL
>
> Morning all,..
>
> I am trying to write a indicator, that will play me a certain
sound
>for a Uptick,
> and a differant sound for a Downtick. Benn trying to figure but it
>has me stumped.
> Also , since i am trying to play two differant sounds, i am not
>sure if i should write two
> separate indicators or can i do it with just one?
> This is as far as i got ,
>
> If Uptick > Downtick then begin
> PlaySound(c:\datasounds\test1.wav) ;
> If Downtick > Uptick then begin
> PlaySound (c:\datasounds\test2.wav) ;
>
>
> At this point it it says it does not recognize Uptick, and i can
not
>think of another way to do it,
> Does anyone know of a efficent way to accomplish this?
> Thankyou in advance for
>any help offered...
>
>
>Bill
>
>
>
>
>
>
>
>
>
>http://www.markbrown.com
>
|