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 автор этого скрипта опубликовал его с открытым исходным кодом, чтобы трейдеры могли понять, как он работает, и проверить на практике. Вы можете воспользоваться им бесплатно, но повторное использование этого кода в публикации регулируется Правилами поведения. Вы можете добавить этот скрипт в избранное и использовать его на графике.

Хотите использовать этот скрипт на графике?

Отказ от ответственности