Percent ranking of positive and negative histogram values

I have a non-coder question, if you don't mind. I am trying to do some simple PercentRank calculations of indicator histogram values, but I want to rank the positive and negative histogram values separately. I'd like to do this for all chart values and for those only currently visible on the screen. I keep getting a value of zero for each attempt I make to find the lowest positive and highest negative histogram values so that I can establish the range for ranking. Could someone please give me a push in the right direction?

I have no idea how you're going about this since you shared no code, but you might have a look at SparseCompress() to get an array containing only the positive (or negative) values of your indicator.

5 Likes

This topic was automatically closed 100 days after the last reply. New replies are no longer allowed.