0

我创建了这些 alert() 脚本:

if (enterLong and not enterLong[1])
    label.new(x, y2, style=label.style_none, text="ELdc-"+tostring(bar_index)+"\nE="+tostring(EntryLong,"#.######") + "\nS=" + tostring(StopLong,"#.######") + "\nA=" + tostring(ATR,"#.######"))
    alert('{"Symbol": "' + syminfo.ticker + '", "Action": "DC Long Entry"}', alert.freq_once_per_bar_close)

if (enterShort and not enterShort[1])
    label.new(x, y1, style=label.style_none, text="ESdc-"+tostring(bar_index) + "\nE="+tostring(EntryShort,"#.######") + "\nS=" + tostring(StopShort,"#.######") + "\nA=" + tostring(ATR,"#.######"))
    alert('{"Symbol": "' + syminfo.ticker + '", "Action": "DC Short Entry"}', alert.freq_once_per_bar_close)

现在,我假设会弹出一些警报,但事实并非如此。实际查看警报的步骤是什么?我想在我的交易电脑上看到警报,并将它作为短信发送到我的手机。

感谢您的指导

4

0 回答 0