strategy.order.alert_message 不同的行

问题描述 投票:0回答:0

对于 API,我需要一条警报消息,所以我会在我的警报中使用 {{strategy.order.alert_message}} 命令。这将引用我的 Pinescript 代码。不过有一个问题,我希望这条警告消息位于不同的行中,但我似乎没有在 Pinescript 中找到它。可以说我想在我的警报中关注文本,所以都在不同的行上。我怎样才能在“alert_message”命令之后将其放入我的 pinescript 代码中?因为当我将它粘贴到我的 pinescript 代码中时,它会将每一行视为不同的 pinescript 行(这是错误的)

{ “bot_id”:“3114”, "action": "开仓", “基础资产”:“”, “quote_asset”:“”, “api_key”:“” }

我希望你明白我的问题。How i want my command to look like, but by using pinescriptHow it would look like in Pinescript? Just missing the command/ symbol to signal to Pinescript that its a new lineThis is what I get when I just paste the command into Pinescript, it sees it as different entry lines, which is wrong

所以我尝试将警报消息放入我的 pinescript 中,并尝试让 Pinescript 将其读取为不同的行,但我似乎无法使其工作。

所以重复一遍,我需要使用 Pinescript 将警报放在不同的行中

感谢所有帮助!

tradingview-api alerts
© www.soinside.com 2019 - 2024. All rights reserved.