ta.atr

「ATR(アベレージ・トゥルー・レンジ)」を計算します。

定義

ta.atr(length)

引数


Warning: Undefined variable $tr in /home/tradetech1/tradetech.online/public_html/wp-content/themes/tradetechonline_swell/single-dict-pine-v5.php on line 77

Warning: foreach() argument must be of type array|object, null given in /home/tradetech1/tradetech.online/public_html/wp-content/themes/tradetechonline_swell/single-dict-pine-v5.php on line 77
引数名 内容 初期値
length 計算対象の期間

戻り値

float: ATRの値

サンプルコード

20日ATRをグラフ描画

plot(ta.atr(20),  color=color.red)

よかったらシェアしてね!
  • URLをコピーしました!
  • URLをコピーしました!
目次