I'll look into it.
Do you have an example of a basket of stocks in which a divergence happened? or a basket you wish to examine for divergences?
input souce = 50; plot scan = high is greater than or equal to Highest("data" = HIGH, "length" = souce) and RSI()."RSI" is less than Highest("data" = RSI()."RSI", "length" = souce);
here is what i got, i know its super basic but nothing else seems to work ;(