LOParticipant
Junior
Hi,
I bet this is super simple, but I can’t get it to work.
I want to scan for assets that have closed today’s candle (close) on a 3month high (66 periods).
And would like to sort them in order of 1 year variation (or close to 1year).
The below screener code should find stocks that close higher than the previous 66 highest high and sort them by variation over 250 units.
a = close>highest[66](high)[1]
screener[a](variation[250])