bool #

naをboolに型変換

bool(x)  const bool
bool(x)  input bool
bool(x)  bool
bool(x)  series[bool]
戻り値 #

boolに型変換された後の引数の値

関連 #

float, int, color, string, line, label

color #

naをcolorに型変換

color(x)  const color
color(x)  input color
color(x)  color
color(x)  series[color]
戻り値 #

colorに型変換された後の引数の値

関連 #

float, int, bool, string, line, label

float #

naをfloatに型変換

float(x)  const float
float(x)  input float
float(x)  float
float(x)  series[float]
戻り値 #

floatに型変換された後の引数の値

関連 #

int, bool, color, string, line, label

int #

naをintに型変換、またはfloat値をintに切り捨て

int(x)  integer
int(x)  input integer
int(x)  const integer
int(x)  series[integer]
戻り値 #

intに型変換された後の引数の値

関連 #

float, bool, color, string, line, label

label #

naをlabelに型変換

label(x)  series[label]
戻り値 #

labelに型変換された後の引数の値

関連 #

float, int, bool, color, string, line

line #

naをlineに型変換

line(x)  series[line]
戻り値 #

lineに型変換された後の引数の値

関連 #

float, int, bool, color, string, label

string #

naをstringに型変換

string(x)  const string
string(x)  input string
string(x)  string
string(x)  series[string]
戻り値 #

stringに型変換された後の引数の値

関連 #

float, int, bool, color, line, label

table #

naをtableに型変換します

table(x)  series[table]
戻り値 #

表に型変換した後の引数の値。

関連 #

float, int, bool, color, string, line, label

© - 2021 - TradingViewの教科書