alertcondition

alertcondition

アラート作成ダイアログで利用できるアラート条件を作成します。
alertconditionは直接アラートを作成しない点にご注意ください。
アラート作成ダイアログでより多くの選択肢を提供するのみです。
また alertconditionの動作はチャートには表示されない点にもご注意ください。

alertcondition(condition, title, message) → void

alertcondition(close >= open, title='Alert on Green Bar', message='Green Bar!')

引数
condition (series) アラートに用いられるブール値の系列。値が true の場合はアラートがトリガーされ、false の場合はアラートはトリガーされません。必須引数。
title (const string) アラート条件のタイトル。オプション引数。
message (const string) アラートが発生した時に表示するメッセージ。オプション引数。

備考
Pine v4では alertcondition の呼び出しによって追加の plot が生成されます。こうした呼び出しはすべてスクリプト毎にアウトプット系列の数を計算する際に考慮されます。

\ 最新情報をチェック /

コメントを残す

Pineスクリプト

前の記事

acos
Pineスクリプト

次の記事

alma