OPEN-SOURCE SCRIPT

TheBlackFish EMA bounce alert

Updated
About
This indicator is an EMA indicator with a built-in screener.
20 different ticker symbols are included in the screener. These ticker symbols must be replaced manually. All ticker symbols are from the Stockholm Stock Exchange, Large Cap.

How it works
The lowest price of a bar should be less than EMA and yesterday's closing greater than EMA.
If no conditions are found, there will be no ticker symbols in the box.
snapshot

If the conditions are met, the ticker symbol / symbols are displayed in the black text box. The information in the box disappears after each new bar.
snapshot

The default setting is set to EMA 50, but you can select which EMA value you want in its settings.

Change ticker
If you want to change the ticker symbol, do not forget to change both in "Check tickers" and in "Labels content".

Enjoy!
Release Notes
I have made some changes that only shows bullish pin bars after bouncing on the EMA by default. If you want to see all bounces from EMA line, you have to disable pin bar manually in the indicator settings.

Even if you disable pin bar from it`s settings, any pin bars will ofcourse appear in the graph, along with all other bounces from the EMA line.
Release Notes
Corrected a small error.
Release Notes
Made another change that defines a pin bar more correctly.
Release Notes
I have updated the script so that it is now possible to enter the asset directly in the indicator settings.
Release Notes
Time year input changed. Also some aesthetic changes have been made.
Exponential Moving Average (EMA)

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 publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer