Search found 3 matches

Go to advanced search

by grdnryn
Fri Oct 08, 2021 2:49 pm
Forum: Pine Script Q&A
Topic: Undeclared identifiers
Replies: 2
Views: 2804
 
Jump to post

Re: Undeclared identifiers

Thanks very much Matthew.

you added 'and not drawn' to the if(TuesC) function.
This is resulting in 'drawn' now being classified as an undeclared identifier.
by grdnryn
Wed Sep 29, 2021 3:04 pm
Forum: Pine Script Q&A
Topic: For loop not counting correctly
Replies: 1
Views: 690
 
Jump to post

For loop not counting correctly

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...
by grdnryn
Sun Sep 26, 2021 12:03 pm
Forum: Pine Script Q&A
Topic: Undeclared identifiers
Replies: 2
Views: 2804
 
Jump to post

Undeclared identifiers

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...

Go to advanced search