Subject : RE: Help with scan Posted : 4/4/2017 12:41 PM Post #28493 - In reply to #22783
This Boolean math trick (SUM) is brilliant. However for some reason it doesn't work with Setups. I used the following code in one Setup box to paint it green if the stock made 52 weeks high on any day during last 5 days otherwise yellow:
Sum( ( H > HHV(250) ),5 ) < 0
However it displays green only if the stock in question has made 52 week high on previous day. If it made 52 weeks high on any other day during previous 5 days it doesn't show green but shows yellow. I think it's a bug.