PureBytes Links
Trading Reference Links
|
When I asked the Omega Research ela dept. this question they
responded in just a few hours with the attached e-mail.
Rgds, Terry
Dejan Corovic wrote:
> Hi,
>
> Can TS4.0, during the alert, execute external program with a DOS
> like command line?
>
> For example I should like TS to runa wave file, instead just
> voicing 'ping' during the the alert.
>
> Regards
> Dejan Corovic
Subject: RE: sounds
Date: Fri, 20 Nov 1998 14:02:15 -0500
From: EasyLang <EasyLang@xxxxxxxxxxxxxxxxx>
To: "'tlwyss'" <tlwyss@xxxxxxxxxxx>
981120JZ
Mr. Wyss,
Thank you for taking the time to send us your inquiry.
You can use the PlaySound function in EasyLanguage to play a wave file. The
name of the wave file will need to have the complete path specified within
quotation marks.
For Example:
IF Alert = TRUE THEN
Condition1 = PlaySound("C:\Windows\chime.wav");
The PlaySound function must be assigned to a Condition.
Thank you for choosing Omega Research, Inc.
Julio Zayas
EasyLanguage Specialist
Omega Research, Inc.
-----Original Message-----
From: tlwyss [mailto:tlwyss@xxxxxxxxxxx]
Sent: Friday, November 20, 1998 12:05 PM
To: EasyLang@xxxxxxxxxxxxxxxxx
Subject: sounds
I
wonder
if there is a simple way to make a wave file play, other
than
Alert=True,
when an indicator is tripped (when specific conditions are
met).
I am aware that through default beep, I can make Alert play
any wave
file
I want, but all alerts play the same .wav and I would like
to make a
particular indicator play a special wave file since it is by
far
more important than the rest of the alerts that might be
tripped.
Thanks, Terry
P.S. I have TradeStation 4.0 running on NT4.0.
|