QuantNomad

QuantNomad - Simple Custom Screener in PineScript

QuantNomad Mis à jour   
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.
Notes de version:
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
Script open-source

Dans le véritable esprit de TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par le règlement. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.

Vous voulez utiliser ce script sur un graphique ?