【お知らせ】TradingViewのバックテストをプログラミング不要で体験できる新講座作りました。(詳細はクリック)

ta.alma

「ALMA(アルノー・ルグー移動平均線)」を計算します。

定義

ta.alma(source, length, offset, sigma, floor)

引数


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

Warning: Invalid argument supplied for foreach() in /home/tradetech1/tradetech.online/public_html/wp-content/themes/tradetechonline_swell/single-dict-pine-v5.php on line 77

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

Warning: Invalid argument supplied for foreach() in /home/tradetech1/tradetech.online/public_html/wp-content/themes/tradetechonline_swell/single-dict-pine-v5.php on line 77

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

Warning: Invalid argument supplied for foreach() in /home/tradetech1/tradetech.online/public_html/wp-content/themes/tradetechonline_swell/single-dict-pine-v5.php on line 77

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

Warning: Invalid argument supplied for foreach() in /home/tradetech1/tradetech.online/public_html/wp-content/themes/tradetechonline_swell/single-dict-pine-v5.php on line 77

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

Warning: Invalid argument supplied for foreach() in /home/tradetech1/tradetech.online/public_html/wp-content/themes/tradetechonline_swell/single-dict-pine-v5.php on line 77
引数名 内容 初期値
source 計算対象
length 対象期間 |
offset 応答性と滑らかさの調整値(0~1) |
sigma 滑らかさのシグマ値 |
floor (省略可)ALMA計算前にオフセットの計算を切り捨てるかどうか指定 false

戻り値

float : 移動平均線の値

サンプルコード

// ALMAをグラフ描画 plot(ta.alma(close, 9, 0.85, 6))

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