Sound
Author: sabino
Creation Date: 6/6/2009 10:39 AM
profile picture

sabino

#1
Is there a way to have the strategy script play a sound when a condition is met such as the cross of +DI and -DI based on the most recent X number of bars? I have found the function
"PlaySound("myfile.wav",NULL,SND_ASYNC|SND_FILENAME);" in C++ literature but not sure how would
use in WL5.
profile picture

Eugene

#2
C++ literature, why? C++ is not applicable, as Wealth-Lab 5's editor speaks C#.

See the Wealth-Lab User Guide, Preferences > Sounds for a good example of what you need.

In addition, this forum discussion: Audible signals from a script
profile picture

StreetSmart

#3
An audio file of a flushing toilet would have been perfect for alerts through most of Feb. LOL!
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).