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
Indicator With Acoustic Alert
-
- Posts: 905
- Joined: Sat Jul 11, 2009 10:54 am
Hello,
Please use the following code to play a sound:
You can pause testing only from strategies API. (Pause(Text: string)/Resume() functions). See more information in Forex Tester -> Help -> Strategies API
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
http://www.forexcopier.com
Return to “Programming lessons”
Who is online
Users browsing this forum: No registered users and 24 guests