QuantNomad

QuantNomad - Simple Custom Screener in PineScript

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.
Phát hành các Ghi chú: cleaning the code
Gỡ bỏ khỏi Script Ưa thích Thêm vào Script Ưa thích
Courses:
PineScript Programming: https://qntly.com/pinepro
TradingView Essential: https://qntly.com/tve

Access to Pro Indic.: https://qntly.com/proind

YouTube: https://qntly.com/youtube
Discord: https://qntly.com/discord
Telegram: https://qntly.com/tel

Bình luận

Excuse me, what does the screener show? That a pair has done waht?
+11 Phản hồi
ibaris kiero
@kiero, "I created an example script to show how you can create a simple custom screener in Pine Script on your own.". It is not that hard to read!
+5 Phản hồi
Thx for the idea. I wrote more complex screener based on your script.
+9 Phản hồi
@Tr0sT, post the code pls
+1 Phản hồi
Tr0sT thiagofnsouza
@thiagofnsouza, what do you mean? my script is already open sourced
+3 Phản hồi
sir i hava a strategy of which could get you more deep in this to make me this kind of indicator for me and might also could help you also
so can you help me in regarding to make this screener in pine script
+3 Phản hồi
Seems to be only screening on the 1 minute timeframe, even thought my graph is on 1D or 1H timeframe. Is there a way to change the screener to lets say a daily timeframe or 1H ?
+1 Phản hồi
QuantNomad johnjohntrades
@johnjohntrades, change resolution in security function
Phản hồi
johnjohntrades QuantNomad
@QuantNomad, Ook! Awesome, learned it <3
Phản hồi
Trang chủ Bộ lọc cổ phiếu Bộ lọc Forex Bộ lọc Tiền điện tử Lịch kinh tế Cách thức hoạt động Tính năng Biểu đồ Trả phí Giới thiệu bạn Quy tắc Áp dụng Trung tâm Trợ giúp Giải pháp cho Website & Nhà môi giới Widget Giải pháp biểu đồ Thư viện Biểu đồ Lightweight Blog & Tin tức Twitter
Hồ sơ Tùy chỉnh Hồ sơ Tài khoản và Thanh toán Giới thiệu bạn Xu Ticket Hỗ trợ của tôi Trung tâm Trợ giúp Các ý tưởng đã đăng Người theo dõi Đang theo dõi Tin nhắn riêng Trò chuyện Đăng xuất