定義
ta.bb(source, length, sigma)
引数
引数名 |
内容 |
初期値 |
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 |
計算する価格 |
|
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
length |
ボリンジャーバンドの計算期間 |
|
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
sigma |
ボリンジャーバンドの標準偏差σ値 |
|
戻り値
[float, float, float] : ミドルライン, 上バンド, 下バンドの値
サンプルコード
20日/±2σのボリンジャーバンドを描画
[middle, upper, lower] = ta.bb(close, 20, 2)
plot(middle, color=color.white)
plot(upper, color=color.yellow)
plot(lower, color=color.yellow)