OPEN-SOURCE SCRIPT

Engulfing Candles Alert - Multi Symbol (Miu)

This indicator plots triangle shapes on each engulfing candles (bullish or bearish) on current chart.

The main use for this indication is to set alerts on multiple symbols at once.

Please follow steps below to set your alarms:

1) Add indicator to the chart
2) Go to settings
3) Check symbols you want to receive alerts (choose up to 8 different symbols)
4) Check if you want only bullish or bearish alerts or both
5) Once all is set go back to the chart and click on 3 dots to set alert in this indicator, rename your alert and confirm
6) You can remove indicator after alert is set and it'll keep working as expected

What does this indicator do?

This indicator will generate alerts anytime a candle closes and reaches bullish or bearish engulfing condition for any of symbol set.

Alert messages example: "Bullish alert on {Symbol}"

This script requests open and close information for each symbol through request.security() built-in function.

Detailed indicator description:
If current bar open is less than or equal to the previous bar close AND current bar open is less than previous bar open AND current bar close is greater than previous bar open THEN True
bullishEngulfing = (openBarCurrent <= closeBarPrevious) and (openBarCurrent < openBarPrevious) and (closeBarCurrent > openBarPrevious)
The opposite condition will be bearishEngulfing

Feel free to give feedbacks on comments section below. Enhancement suggestions are welcome =).

Enjoy!
Candlestick analysisEngulfing CandleMIUmultisymbol

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