Tr0sT

Custom Screener

Tr0sT Updated   
I was inspired by this idea:
With his script you can create a simple custom screener in Pine Script on your own for 40 tickets or less. But to make a separate screener for every 40 stocks sucks, so I wrote a program that generates script that allows you to switch stock sets.

Current script is generated for the Moscow stock exchange.

You can contact me if you need screener for your exchange or big set of stocks.
Release Notes:
A lot of people were asking how to add alerts to this screener, so I updated it.
Unfortunately, you can't attach a list of triggered tickers to the alerts message, but you can generate codes to understand later using another script (which decrypts them) which tickers have been triggered.
I'm not going to put an open source decrypt script, but I can do screener&decrypt script for your list of tickers (even 300+ tickers) for 40$ (and another pine script tasks as well).
Release Notes:
Big update!

Now you can enter the tickers in the script settings (12 available, but you can add more, up to 40). There are separate signals for long and short (modify LongSignalFunc() and ShortSignalFunc() for your indicators). Screener displays the triggered signals in its own panel, so you no longer need a separate script to decrypt the alerts.

Enjoy!
Release Notes:
Uncomment lines with strategy (1 line on the top and 4 on the bottom) and while creating the alert insert {{strategy.order.alert_message}} in the alert creation window in message field to receive triggered ticker's list in the alert messages.
Release Notes:
There is also a new alert in study, that combines long and short signal - for free TV users.
Release Notes:
Added alerts with triggered tickers in alert's messages
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?