input.float

利用者が自由に設定変更できるパラメータに浮動小数点型の項目を追加できます。
直接入力かドロップダウンを指定できます。

定義

input.float(defval, title, options, tooltip, inline, group, confirm, display)
または
input.float(defval, title, minval, maxval, step, tooltip, inline, group, confirm, display) → input float

引数


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

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

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
引数名 内容 初期値
defval パラメータの初期値
title パラメータの名称
minval 入力可能な最小値
maxval 入力可能な最大値
step トグルや上下キーで加算/減算される刻み値 1
options 直接入力ではなく複数の選択肢から選ぶ形式にしたい場合に指定します。(この形式にした時はminval, maxval, stepは無効です)

項目をカンマで区切り、[]でくくって指定します。
(例:5と25と75 => options=[5, 25, 75])
tooltip パラメータにマウスカーソルを当てた時、表示されるテキスト
inline この値が同じパラメータを、設定画面上で同じ行(横方向)にレイアウトされます。
group この値が同じパラメータを、設定画面上で同じセクション(見出し)にレイアウトされます。
confirm trueにすると、インジケーターをチャートに追加する前にこの項目を入力するウィンドウが表示されます。(入力しないとチャートに追加できない) false
display 入力情報を表示する場所を指定します。

display.none : 表示しない
display.data_windows: データウィンドウにのみ表示する
display.status_line : ステータスラインにのみ表示する
display.all : 両方表示する
display.all

戻り値

float型の設定値

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