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 אמיתית, מחבר הסקריפט הזה פרסם אותו בקוד פתוח, כך שסוחרים יוכלו להבין ולאמת אותו. כל הכבוד למחבר! אתה יכול להשתמש בו בחינם, אבל השימוש החוזר בקוד זה בפרסום כפוף לכללי הבית. אתה יכול להכניס אותו למועדפים כדי להשתמש בו בגרף.

רוצה להשתמש בסקריפ זה בגרף?

כתב ויתור