Library "c0"
strToInt(s)
Parameters:
s (string)
strCount(s, ss)
Parameters:
s (string)
ss (string)
strPart(str, index, delim)
Parameters:
str (string)
index (int)
delim (string)
compareValues(left, op, right)
Parameters:
left (float)
op (string)
right (float)
parseIndex(ind)
Parameters:
ind (string)
parseFn(input, argsSep)
Parameters:
input (string)
argsSep (string)
isCurrentBar(ts)
Parameters:
ts (int)
lastBars(num)
Parameters:
num (int)
isHigherTf(tf)
Parameters:
tf (string)
isNewInterval(tf)
Parameters:
tf (string)
isRealtime()
tfMultiplier(tf)
Parameters:
tf (string)
tfStep(step, tf)
Parameters:
step (int)
tf (string)
relativeTime(dRel, mRel, yRel, ts)
Parameters:
dRel (int)
mRel (int)
yRel (int)
ts (int)
timeToBar(ts, abs)
Parameters:
ts (int)
abs (bool)
plotVline(ts, color, style, y1, y2)
Parameters:
ts (int)
color (color)
style (string)
y1 (int)
y2 (int)
hasVolume()
isBull(offset)
Parameters:
offset (int)
candleAvg(length, offset)
Parameters:
length (int)
offset (int)
ma(src, len, mode)
Parameters:
src (float)
len (simple int)
mode (string)
slope(src, lookback, threshold)
Parameters:
src (float)
lookback (int)
threshold (float)
bullDiv(src1, src2, depth)
Parameters:
src1 (float)
src2 (float)
depth (int)
bearDiv(src1, src2, depth)
Parameters:
src1 (float)
src2 (float)
depth (int)
----------------
Logger
Fields:
labels (map<int, label>)
tables (map<string, table>)
tablesMeta (map<string, string>)
bgColor (series color)
txtColor (series color)
txtSize (series string)
method logBar(this, input, bar, y)
Namespace types: Logger
Parameters:
this (Logger)
input (string)
bar (int)
y (float)
method logTable(this, row, pos, maxRows)
Namespace types: Logger
Parameters:
this (Logger)
row (array<string>)
pos (string)
maxRows (int)