警报声音

发布于 2025-01-26 07:46:36 字数 388 浏览 3 评论 0原文

下面的脚本标识了DOJI蜡烛,并将其更改为黄色并起作用。 什么命令行会在5分钟之类的特定时间表上触发电视中的声音警报? 在电视中,有全球警报功能,他们根据测量值有限的选择。 有没有办法编码声音警报? 这是代码: //@版本= 3 // doji信号:D

研究(title =“ doji信号”)

precision =输入(0.15,minval = 0.0001,title =“ doji的最大身体大小”) barcolor(abs(开放 - 关闭)< =(高 - 低) * precision?yely:na)

doji =(abs(oble-关闭)< =(高 - 低) *精度?1:0) 绘图(doji)

警报条件(doji,title ='ddd',message ='dbd')

The script below identifies a doji candle and changes it to a yellow colour and works.
What command line would trigger a sound alert in TV on a specific timeframe like 5 mins?
In TV there are global alert function they have limited choices based on measurements.e.g. crossing up , crossing down, less than , greater than
Is there a way to code a sound alert?
This is the code:
//@version=3
//Doji signals :D

study(title = "Doji signals")

Precision = input(0.15, minval=0.0001, title="Doji's Max Body size")
barcolor(abs(open - close) <= (high - low) * Precision ? yellow : na)

doji=(abs(open - close) <= (high - low) * Precision ? 1:0)
plot (doji)

alertcondition(doji, title='DDD', message='DBD')

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

兮颜 2025-02-02 07:46:36

您可以在警报设置窗口中打开声音=) ”图片@@”

You can turn sounds on in your alert setup window =) Picture@@@

北凤男飞 2025-02-02 07:46:36

据我所知,你不能。一直在搜索这个问题已有一段时间了。
到目前为止,我能想到的最好的方法是将脚本的警报条件与电视警报对话框中的逻辑近似。

As far as I can tell, you can't. Been searching this question for some time now.
The best I can figure to do so far is to approximate the script's alert condition with the logic available in TV's alert dialog.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文