QuantNomad

QuantNomad - Simple Custom Screener in PineScript

QuantNomad Uppdaterad   
Quite often I need to run screeners with the custom condition, but unfortunately, in TradingView it's impossible.
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())

and

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.

And remember:
Past performance does not guarantee future results.
Versionsinformation:
cleaning the code

My First Live Course: qntly.com/101
Pine Programming v5: qntly.com/pineprog
Adv.Pine Use-Cases: qntly.com/advpine

Hire Me: qntly.com/hirepine
Telegram: qntly.com/tel
Skript med en öppen källkod

I sann TradingView-anda har författaren publicerat detta skript med öppen källkod så att andra handlare kan förstå och verifiera det. Hatten av för författaren! Du kan använda det gratis men återanvändning av den här koden i en publikation regleras av våra ordningsregler. Du kan ange den som favorit för att använda den i ett diagram.

Frånsägelse av ansvar

Informationen och publikationerna är inte avsedda att vara, och utgör inte heller finansiella, investerings-, handels- eller andra typer av råd eller rekommendationer som tillhandahålls eller stöds av TradingView. Läs mer i Användarvillkoren.

Vill du använda det här skriptet i ett diagram?