Play Sound in Indicator

Created at 03 Mar 2014, 04:00
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
KA

Kara411

Joined 25.02.2014

Play Sound in Indicator
03 Mar 2014, 04:00


Hello there,

How can I have my indicator play a sound when certain criterias are met?  I know C# has a PlaySound() function.  Is that available in cAlgo?

 

Thanks


@Kara411
Replies

Spotware
04 Mar 2014, 09:30

Yes, it is available.

You can use Notifications.PlaySound(@"C:\my sound file example.mp3").


@Spotware