Hi,
I was wondering if there is any code for ranking stocks by a technical indicator which are found by a PRT screener.
The default ranking is possible, but it is not possible to let a screener rank by indicator.
I came to the idea by the Stockcharts code RANK BY[ROC(5)].
This line of code automaticly ranked hundreds of stocks filtered on the five days ROC indicator.
Hope there is a possibility
Thank you
Best regards,
Marcel
JSParticipant
Veteran
Hi Marcel,
You can use “Sorting Criteria” in PRT…
Screener[Conditions](Sorting Criteria)
In this case: Screener[C1](ROC[5](Close)
You can then sort all outcomes by the “ROC[5](Close)” criterion…