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


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


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


An audio file of a flushing toilet would have been perfect for alerts through most of Feb. LOL!