I need someone to make corrections on my tradingview pinescript

Other 脚本 其它

指定

if ShortPosTrue[1] //== true //and sL_S[1] != sL_S[2] //and barstate.islast //
  
    strategy.exit(id = "sL_S", from_entry = 'Kv_Sell', 
      stop = sL_S[1], qty_percent = SLQtyPct, 
      comment ='sL_S=' + str.tostring(SLQtyPct)+'%qt')

    alert_msg = '"KuverBot": "close_Short_N", '
         + '"symbol": "'  + str.tostring(syminfo.ticker) +'", '
         + '"command": "' + str.tostring("sl") +'", '
         + '"tp_qty": "'  + str.tostring(SLQtyPct) +'", '
         + '"side":   "'  + str.tostring("") +'", ' 
         + '"type":    "' + str.tostring("") +'", ' 
         + '"amount": "'  + str.tostring("") +'", ' 
         + '"entry":  "'  + str.tostring(0) +'", ' 
         + '"sl":     "'  + str.tostring(sL_S[1]) +'", '
         + '"tp":     "'  + str.tostring(0) +'"'

    alert_msg := "{" + alert_msg + "}"

    alert(alert_msg, alert.freq_once_per_ this alert needs to get send after every bar close
so it can send the new value of stop = sL_S[1]
via webhook to my bot    

反馈

1
开发者 1
等级
(27)
项目
43
7%
仲裁
18
6% / 78%
逾期
26
60%
空闲
2
开发者 2
等级
(6)
项目
10
50%
仲裁
6
17% / 50%
逾期
3
30%
工作中
3
开发者 3
等级
(22)
项目
24
8%
仲裁
0
逾期
0
空闲

项目信息

预算
30+ USD