79383295

Date: 2025-01-24 05:30:13
Score: 1
Natty:
Report link

In Pinescript 6, if you want both to remove the box from the array AND delete the drawn box from the chart, you should implement in the last if scope:

(boxtop.get(i)).delete()
array.remove(boxTop, i) //or boxTop.remove(i)
(boxes.get(i)).delete()
array.remove(boxes, i) //or boxes.remove(i)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: X37V