Help get this topic noticed by sharing it on Twitter, Facebook, or email.

Does Pine Script has the function like COUNT(x,y),or the way to realize this function?

x=condition, y=the range of bars or date.
for example,count(close>10,8) means count the number of past 8 close prices which higher than 10.
4 people have
this question
+1
Reply