Summary
Plays a notification sound.
Remarks
This method doesn't work during backtesting and optimization.
In indicators, use it with IsRealTime/IsLastBar, for real-time values.
Syntax
public void PlaySound(string fileName)
Parameters
Name | Description |
---|
Example 1
Notifications.PlaySound(@"C:\SampleDestination\SampleSound.mp3");