Hi all, I have a simple for loop script that I grabbed from one of Matthew's videos to count the number of occurrences of a specific instance happening on my chart. I also have these same instances plotted on the chart with the plotshape() function just so that I can double check the accuracy of the...
I am trying to write a simple indicator in pine-script but I can't get rid of the undeclared identifier error when I add the line.delete() function. I couldn't resolve this with all the previous suggestions for this error message. To be honest, mine is probably a simpler problem! line 20: Undeclared...