I have these two seemingly identical codes but when I screen against the same list I get different results. When I click the charts I see the same pattern I expect but the number of results are different.
Can I please get some help identifying the issues.
c1 = low[0] = lowest[5](low)
c2 = low[1] > low[4]
c3 = low[2] > low[4]
c4 = low[3] > low[4]
SCREENER[c1 and c2 and c3 and c4]
c1 = low[0] = lowest[5](low)
result = 1
FOR i=1 TO 3 DO
if (low[i] < low[4]) THEN
result = 0
BREAK
ENDIF
NEXT
c2 = result = 1
SCREENER[c1 and c2]
Add “=” in this line of the second screener, so that it reads:
if (low[i] <= low[4]) THEN