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