TradingView
Tr0sT
14 сен 2019 г., 18:14

Custom Screener 

MOEX Russia IndexMOEX

Описание

I was inspired by this idea: https://tradingview.com/script/Xu9q6OGU-QuantNomad-Simple-Custom-Screener-in-PineScript/

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.

Информация о релизе

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).

Информация о релизе

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!

Информация о релизе

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.

Информация о релизе

There is also a new alert in study, that combines long and short signal - for free TV users.

Информация о релизе

Added alerts with triggered tickers in alert's messages
Комментарии
sukseed
Please modify to use buy and sell signals generated by halftrend indicator from everget, if tickers>40 for NSE, let me know, I need. Thanks
Tr0sT
@sukseed, Hi. This is a quick job that will take less than an hour, so it will cost $50. PM me here, or via telegram @Tr0sT
kiero
So what does this screener show? That a stock has done what?
Tr0sT
@kiero, whatever you want. You can implement your own customFunc() and choose stocks with your own conditions.
kiero
@Tr0sT,
I see, thank you. I need to know coding then.
Auguraltrader
@Tr0sT, this is awesome! I was just thinking of something like that and viola, you did it! Thank you so much...

This screener displays the ticker symbols that fulfil the custom condition [customFunc()] on the last bar of the Index chart correct?

Few questions here...

1. I noticed a repetition with set of 5 or 6 ticker symbols. So to recreate for a new exchange and tickers (in a watchlist), I just need to replace the tickers appropriately correct?

2. Since MOEX is named, does this only appear when MOEX chart is observed?

3. What’s the GAZP at the end for?

4. Does this code look at end of day or real time qualification of the custom function?
Tr0sT
@Auguraltrader, yes, but custom condition is not just for the last bar - you can use any complex condition - basically any custom indicators can be used in stock filtering.
1. Yes. You need to replace tickers and exchange's name. For example, i have separate watchers for binance bnb pairs, usdt pairs, moex futures...
2. No, script will have same behavior on every chart.
3. In order to work correctly with 7 sets number of tickers needs to be multiple of 7. But number of MOEX stocks is less, so i used ticker GAZP as a plug to fill voids.
4. Real time, as any other indicator. But if you will use it as an alerts provider it can be customized.
j_rock
@Trost The code works well. I added an alert to it. However, the alert only works on the particular ticker in which the alert was set. In other words, if you set the alert when ENPL chart was on your screen, that is the only ticker in which the alert will be active. Any idea how to get a workaround so the alert works for all the tickers and not just the one?
Tr0sT
@j_rock, that's strange. the alerts work no matter which ticker the script is on.
j_rock
@Tr0sT, have you added any specific alerts to this? I added my own parameter, of the slope of a moving average changing from negative to positive. When activating the alert through the chart, it will only work for one specific ticker. I am hoping I can get that to work.
Ещё