Indicator With Acoustic Alert

Examples step by step how to make your own automated strategy or user indicator
Message
Author
janson
Posts: 22
Joined: Mon Jun 07, 2010 7:51 pm

Indicator With Acoustic Alert

#1 Postby janson » Wed Jun 09, 2010 5:27 pm

Hi,

I created a basic indicator which shows me a specific candle pattern. Since I run through several charts simultaneously I have to concentrate a lot that I don't overlook a signal.

So my question is if there is a command I can add to the code that I get a sound alert as soon this candle pattern shows up.
Even better would be a accoustic alert + that the testing forward modus pauses.

Thanks for your help.

Janson

janson
Posts: 22
Joined: Mon Jun 07, 2010 7:51 pm

#2 Postby janson » Fri Jun 18, 2010 4:25 pm

Anyone?

FT Support
Posts: 905
Joined: Sat Jul 11, 2009 10:54 am

#3 Postby FT Support » Fri Jun 18, 2010 5:03 pm

Hello,

Please use the following code to play a sound:

Code: Select all

uses mmsystem;

...

SndPlaySound('C:\Windows\Media\Tada.wav', SND_ASYNC);

...



You can pause testing only from strategies API. (Pause(Text: string)/Resume() functions). See more information in Forex Tester -> Help -> Strategies API
Check our other product here:
http://www.forexcopier.com


Return to “Programming lessons”

Who is online

Users browsing this forum: No registered users and 11 guests