How can I programmatically enable and disable sounds for alerts
Jackery:
I know that alert sounds can be manually enabled and disabled through Tools>Options>Events in mt5.
I am trying to figure out how I can play alert sounds only when specific conditions have been met. In all other cases alarm sounds should be off.
- Turn off sound events in MT5 Options.
- Write an indicator that will play sound alerts only when your specific conditions are met.
I know that alert sounds can be manually enabled and disabled through Tools>Options>Events in mt5.
I am trying to figure out how I can play alert sounds only when specific conditions have been met. In all other cases alarm sounds should be off.