I created an example script to show how you can create a simple custom screener in Pine Script on your own.
It's not very good, it requires some manual adjustments, it can be improved in some ways, but I think it might work for some tasks.
What do you think? Do you have a better way to implement custom screeners in TradingView?
To run your own conditions you need to implement them in:
customFunc() function and for every ticker you want to include in your search add 2 lines like these with newly defined variable:
s1 = security('BTCUSD', '1', customFunc())
scr_label := s1 ? scr_label + 'BTCUSD\n' : scr_label
I'm not sure that it will work well for more than a few dozen tickers.
But I hope it will be helpful for you.
Past performance does not guarantee future results.
Pine Programming v5: qntly.com/pineprog
Adv.Pine Use-Cases: qntly.com/advpine
Access to Pro Indic.: qntly.com/proind
Hire Me: qntly.com/hirepine
In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.