OPEN-SOURCE SCRIPT

Ultimate Screener Template

Hello Traders

With the Ultimate Strategy Template, I shared a template to connect any indicator to this template and get backtesting results in less than a few minutes

Now sharing another template ... many traders ask me to develop for them a screener/scanner based on a custom indicator on TradingView.

The current TradingView screeners are great but don't allow for much customization; as we can only select pre-defined filters

I don't know when we'll be able to natively screen among hundreds of assets with a custom indicator... then.... I created this template for the time being.... which should


A whole new world


The Ultimate Screener Template screens over 38 securities.

What's very cool is that you'll only need to create 1 alert to scan over 38 securities: Explanation with this image here

I totally understand that not all TradingView accounts have a lot of alarms; with this template, you can multiply the number of custom alerts you're initially allowed to.


What if I need to set alerts on more than 38 securities?


Pretty straightforward... you can create alerts only if the indicator is added to your chart first.

So if you need let's say 100 securities, add this indicator 3 times on your chart (38*3 > 100) and then... edit the securities for your 3 indicators


How to update your Screener settings


Alert mode


As per Pinescript reference, this template allows setting the alert frequency

Possible values are:

- alert.freq_all (all function calls trigger the alert)
- alert.freq_once_per_bar (the first function call during the bar triggers the alert)
- alert.freq_once_per_bar_close (the function call triggers the alert only when it occurs during the last script iteration of the real-time bar when it closes).


All-time-high and All-time-low


This template shows how to capture ATH and ATL alerts across many securities

I used the functions from Quantnomad:
Kozlod - All-time high/low alerts


Whenever a new ATH or ATL is made, the screener will send a personalized alarm with a personalized text based on the security triggering this alarm

The code is pretty straightforward and shows you the part you'll need to update to transform your favorite custom indicator into a powerful screener.


If anything is unclear in the code, please leave a comment and I'll respond as soon as possible


All the best
Dave
scannerscreenertemplateTrend AnalysisVolatility

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?


⭐️ Listed as an Official TradingView Trusted TOP Pine Programmer

📧 Coding/Consulting Inquiries: dave@best-trading-indicator

Telegram: Daveatt

⏩ Course: best-trading-indicator.com

Twitter: twitter.com/bti_trading
更多:

免责声明