How to play an alert sound file if the if condition is met?

Abowahaj

Member
Joined
Jul 18, 2021
Posts
11
Likes
0
Hello
Please help me play the sound of an audio file alert if the condition is met
if(series.getDouble(index, Enums.BarInput.CLOSE)>series.getDouble(index -1, Enums.BarInput.CLOSE)) {
// play the sound of an audio file alert
}

thanks for helping me
 
Top