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の精神に則り、このスクリプトの作者は、トレーダーが理解し検証できるようにオープンソースで公開しています。作者に敬意を表します!無料で使用することができますが、このコードを投稿で再利用するには、ハウスルールに準拠する必要があります。 お気に入りに登録してチャート上でご利用頂けます。

チャートでこのスクリプトを利用したいですか?

免責事項