I know there is a way to set up an alert that will send a message a webhook from the alerts panel.我知道有一种方法可以设置警报,该警报将从警报面板发送消息 webhook。 But I'm trying to find a way to add an alert parameter inside a script that will fire to an external address.但我试图找到一种方法追踪止损 脚本,在脚本中添加一个警报参数,该参数将触发到外部地址。 Such as:如:
alert(buy sqqq,freq=alert.freq_once_per_bar_close, dest="https://webhook.someurl.com/i812")
The buy sqqq parameter would be the message to send to the webhook.购买 sqqq 参数将是发送到 webhook 的消息。
Ideally this could be sent to a broker's webhook address for my account to place a trade.理想情况下,这可以发送到经纪人的网络钩子地址追踪止损 脚本,以便我的账户进行交易。
First time posting a question.第一次发帖提问。 Let me know if there's any information that would be helpful :)让我知道是否有任何有用的信息:)