Atualizado
QuantNomad - Simple Custom Screener in PineScript

Mais indicadores exclusivos de QuantNomad
Assine o UT Bot Suite por $9.99/mês para obter indicadores exclusivos deste autor. Você paga diretamente no TradingView e pode usá-los em seus gráficos imediatamente.
Explore 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.
Notas de Lançamento
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
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
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
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.