I need someone to make corrections on my tradingview pinescript

Other Scripts Autre

Spécifications

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    

Répondu

1
Développeur 1
Évaluation
(27)
Projets
43
7%
Arbitrage
18
6% / 78%
En retard
26
60%
Gratuit
2
Développeur 2
Évaluation
(6)
Projets
10
50%
Arbitrage
6
17% / 50%
En retard
3
30%
Travail
3
Développeur 3
Évaluation
(22)
Projets
24
8%
Arbitrage
0
En retard
0
Gratuit

Informations sur le projet

Budget
30+ USD