本文へ移動
AlertaChartAlertaScript / docs
AlertaScript / 描画と表示
このページの内容仕組み実践コード例

AlertaScript / ドキュメント

描画と表示

系列と配置オブジェクトを選ぶ。

仕組み

plot は系列を追います。line、label、box、table はそれぞれ座標と寿命を持ちます。

実践

ID を保持して更新や削除を行います。バー番号とタイムスタンプを混同しないでください。

コード例

AlertaScript
indicator("Last-bar range", overlay=true)var line rangeLine = naif barstate.islast    line.delete(rangeLine)    rangeLine := line.new(bar_index, low, bar_index, high, color=color.blue, width=2)
AlertaScript

結果が見つかりません。

名前、別名、キーワードで検索できます。