Rules
- Call them only in realtime. Every calculation method receives
isRt: during the history it isfalse, and an alert there would fire once for every past signal. - Fire once per event. A condition which stays true is evaluated again at every update: remember that you already alerted for this bar.
Letting the user choose the sound
A parameter of typeDynamicList marked as alert shows the list of the sounds configured in Deepchart:
AlertName.SelValue is the sound the user selected.
Messages and sounds are produced by the desktop app. When an indicator is calculated on the server, these two calls do nothing for now.