Mis à jour
QuantNomad - Simple Custom Screener in PineScript

Plus d'indicateurs exclusifs de QuantNomad
Abonnez-vous à UT Bot Suite pour $9.99/mois et recevez des indicateurs exclusifs de cet auteur. Vous payez directement sur TradingView et pouvez les utiliser immédiatement sur vos graphiques.
Explorer UT Bot SuiteQuite 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.
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 codeQuant Developer | Pine Script v6 | Python & R
12+ yrs in Systematic Trading & Derivatives
🚀 Pro Indicators: qntly.com/pro
📚 Docs: qntly.com/docs
🎁 Free Trial: qntly.com/trial
💼 Quant Advisory: qntly.com/hire
12+ yrs in Systematic Trading & Derivatives
🚀 Pro Indicators: qntly.com/pro
📚 Docs: qntly.com/docs
🎁 Free Trial: qntly.com/trial
💼 Quant Advisory: qntly.com/hire
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Quant Developer | Pine Script v6 | Python & R
12+ yrs in Systematic Trading & Derivatives
🚀 Pro Indicators: qntly.com/pro
📚 Docs: qntly.com/docs
🎁 Free Trial: qntly.com/trial
💼 Quant Advisory: qntly.com/hire
12+ yrs in Systematic Trading & Derivatives
🚀 Pro Indicators: qntly.com/pro
📚 Docs: qntly.com/docs
🎁 Free Trial: qntly.com/trial
💼 Quant Advisory: qntly.com/hire
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.