Vinay![]() Regular ![]() ![]() Posts: 70 Joined: 1/18/2012 Location: Planet Earth ![]() | 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)[1] ),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. |