I have a set of conditions that trigger a triangle at a swing low and draws a line from the that last swing low back to the previous swing low. I am also trying, without success, to trigger a sound alert to sound one time at this point, not for the duration of my set of conditions. I need to add to the conditions for the sound alert that the my user controlled variable “soundOn” to be true.
At present the coding works but audio alert just keeps repeating as long as my original conditions exits, which could be for many minutes.
Any ideas how to trigger the sound alert for one time only? By the way conditions for the alert my happen again later it the day.
Thanks in advance.
Comment