Actually I’m working on version v11.1. I saw here that the bar limit for ProScreener should double, but I think it doesn’t. Can anybody confirm/deny this please?
I’m working on a screener that gives me the total amount of bars and only selects the stocks with more than 254 bars. The code is this:
1
2
3
4
5
6
7
8
9
10
11
ifIsLastBarUpdatethen
ifbarindex<254then
condition=1
else
condition=0
endif
endif
SCREENER[condition](barindexas"barindex")
The results I get give me BarIndex < 254 as expected, but when I compare it with another simple indicator that show me how many bars are there in total (script: return barindex), I see that some stocks actually have more than 254 bars, so I guess sometimes the screener executes on the last 254 bars and some other times less.
Does anybody know why does this happens? How could I get a list of companies with more/less than 254 bars without errors?
It could be that since ProScreener scans the last 254, if for some unknown (to me) reasons some bars are missing it can tally less than 254 despite having more. It really has less than 254 WITHIN the last 254!
But I’m just guessing trying to find out the most logical reason!
To help us continually offer you the best experience on ProRealCode, we use cookies. By clicking on "Continue" you are agreeing to our use of them. You can also check our "privacy policy" page for more information.Continue