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

开源脚本

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

想在图表上使用此脚本?

免责声明