Candle Close Notification

1. 概要 (Overview)
本インジケーターは、TradingView 上でローソク足が確定した際に、そのローソク足が陰線(Bearish)または陽線(Bullish)であった場合に通知を送信するものです。
また、該当するローソク足の上または下にマークを表示し、視覚的にも識別しやすくなっています。
This indicator for TradingView sends notifications when a candlestick closes as either a bearish (red) or bullish (green) candle. It also marks the corresponding candles on the chart for visual reference.
2. 機能 (Features)
2.1 通知機能 (Notification Function)
ローソク足の確定時に、以下の条件に基づき アラート(通知) を送信します。
「Both」(両方): 陰線・陽線のどちらでも通知
「Bearish」(陰線のみ): 陰線の時のみ通知
「Bullish」(陽線のみ): 陽線の時のみ通知
When a candlestick closes, an alert notification is sent based on the selected option:
"Both" (Default): Notifies for both bearish and bullish candles.
"Bearish": Notifies only bearish candles.
"Bullish": Notifies only bullish candles.
2.2 チャートマーク表示機能 (Chart Marking Function)
ローソク足が確定した際、以下のルールでマークを表示します。
陰線(Bearish) の場合、赤色の「下向きマーク」を表示(ローソク足の上)
陽線(Bullish) の場合、緑色の「上向きマーク」を表示(ローソク足の下)
When a candlestick closes, a marker appears according to the following rules:
Bearish candle → A red downward marker appears above the candle.
Bullish candle → A green upward marker appears below the candle.
3. 通知オプションの設定 (Setting Notification Options)
スクリプト内の notify_option の値を変更することで、通知の種類を設定できます。
Both(デフォルト) → 陰線・陽線両方通知
Bearish → 陰線のみ通知
Bullish → 陽線のみ通知
Modify the notify_option value in the script to customize notifications:
Both (Default) → Notifies for both bearish and bullish candles.
Bearish → Notifies only bearish candles.
Bullish → Notifies only bullish candles.
TradingView の アラート機能 を有効にすることで、通知を受け取ることができます。
Enable TradingView’s Alert function to receive notifications.
The **Candle Close Notification** script alerts you when a candle closes. You can now select one of three conditions in the alert setup:
- **Bearish Candle Confirmed**
- **Bullish Candle Confirmed**
- **Any Candle Closed**
All three appear in the **Condition** dropdown, so you can pick exactly which closes should trigger a notification.
---
### Usage
1. **Add the indicator** to your chart.
2. Open **Create Alert**.
3. In **Condition**, select one of:
- **Bearish Candle Confirmed**
- **Bullish Candle Confirmed**
- **Any Candle Closed**
4. Adjust frequency, expiration, and notification methods as desired.
5. Click **Create**.
### 概要
本スクリプトはローソク足の確定を検知して通知します。アラート設定時に次の3つから選択可能です:
- **陰線確定**
- **陽線確定**
- **ローソク足確定**
「条件」ドロップダウンにそれぞれ独立して表示されます。
---
### 使い方
1. 本インジケーターをチャートに追加。
2. 「アラート作成」を開く。
3. 「条件」からいずれかを選択:
- **Bearish Candle Confirmed**(陰線確定)
- **Bullish Candle Confirmed**(陽線確定)
- **Any Candle Closed**(ローソク足確定)
4. 通知頻度や有効期限、通知方法を設定。
5. 「作成」をクリック。
Release Notes
v1.1 (2025-04-26)
Fixed bug that made “Bullish only” alerts unselectable.
Added three separate alertcondition() entries so each appears individually in the alert dialog.
Maintained chart markers for visual confirmation of bullish and bearish closes.
No breaking changes to existing setups—simply update the script to gain the new alert options.
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Per un accesso rapido a un grafico, aggiungi questo script ai tuoi preferiti: per saperne di più clicca qui.
Declinazione di responsabilità
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Per un accesso rapido a un grafico, aggiungi questo script ai tuoi preferiti: per saperne di più clicca qui.