ta.wma

「WMA(加重移動平均線)」を計算します。

定義

ta.wma(source, 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

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
引数名 内容 初期値
source 計算対象
length 対象期間 |

戻り値

float : 移動平均線の値

サンプルコード

15日WMA(加重移動平均線)を描画

plot(ta.wma(close, 15))

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