Forum

Counter not working in a large loop? Appreciate any help, thanks!

Hi all, Part of a script I am trying to run is needed to count the number of times that Price is equal to a value from an indicator. the current function I have that I would expect to work is here: int GETCOUNT( double P) { int bar = 0 ; int index = 0 ; while (bar <= Bars ) {