How to use a custom sound in a script?


Category:
0
0

Hi Pete,
I searched for this, but did not find an exact answer to this question. I was wondering what code would be needed to use a custom sound in a script/study. For example, the code below calls for the standard “ding” sound. I would like to replace the Ding with a sound of my own. Thank you!

Alert(NBarVol > 300000, “Volume Warning”, Alert.BAR, Sound.Ding);

 

-Davide

Marked as spam
Posted by (Questions: 7, Answers: 12)
Asked on April 13, 2022 5:13 am
169 views
0
Private answer

I found only one post on this topic and it was listed in the Alerts and Notifications topic. But the solution provided did not make it perfectly clear that this feature is not supported. Instead it provided some guidance as to how you can use the chart study to create a custom scan, and from that scan you can create a dynamic alert and assign a custom sound. Details here:

https://www.hahn-tech.com/ans/is-it-possible-to-add-custom-sounds-to-custom-study-chart-alerts-in-tos/

In the current version of Thinkorswim this is not possible to add custom sounds to alerts generated from a chart study. Perhaps this feature will be added in a future release. But I have submitted requests for this feature to support at TD Ameritrade and they have not added it to the platform yet. I suspect it will take an overwhelming number of requests for this feature to tip the scales. Any users of Thinkorswim who believe this is an essential feature should take the time to submit a feature request to TD Ameritrade support.

I have included a screenshot below showing how clients of TD Ameritrade may submit support and feature requests. You must log into your account to do so, be polite when expressing your requests.

Attachments:
Marked as spam
Posted by (Questions: 37, Answers: 4118)
Answered on April 13, 2022 8:33 am