Aktualisiert

FrizBug

3โ€ฏ664
Library "FrizBug"
Debug Tools | Pinescript Debugging Tool Kit

All in one Debugger - the benefit of wrapper functions to simply wrap variables or outputs and have the code still execute the same. Perfect for Debugging on Pine

str(inp)
โ€ƒโ€ƒOverloaded tostring like Function for all type+including Object Variables [ie. x1,y1,x2,y2] will also do arrays and matricies of all Types
โ€ƒโ€ƒParameters:
โ€ƒโ€ƒโ€ƒโ€ƒinp: All types
โ€ƒโ€ƒReturns: string

print_label(str, x_offset, y, barstate, style, color, textcolor, text_align, size)
โ€ƒโ€ƒLabel Helper Function - only needs the Str input to work
โ€ƒโ€ƒParameters:
str:
โ€ƒโ€ƒโ€ƒโ€ƒx_offset: offset from last bar + or -
โ€ƒโ€ƒโ€ƒโ€ƒy: price of label
โ€ƒโ€ƒโ€ƒโ€ƒbarstate: barstate built in variable [barstate.islast]
โ€ƒโ€ƒโ€ƒโ€ƒstyle: label style settin7[label.style_label_upper_left]
โ€ƒโ€ƒโ€ƒโ€ƒcolor: color setting [color.black]
โ€ƒโ€ƒโ€ƒโ€ƒtextcolor: textcolor [color.lime]
โ€ƒโ€ƒโ€ƒโ€ƒtext_align: text align setting [text.align_right/left/center]
โ€ƒโ€ƒโ€ƒโ€ƒsize: text_sise ['tiny','normal', or text.large, text.auto]
โ€ƒโ€ƒReturns: label

init()
โ€ƒโ€ƒinitializes the database arrays [1 var <string> and 1 varip <string>]
โ€ƒโ€ƒReturns: tuple [log,live] | 2 matrix<string> (1 matrix is varip(live) the other is reagular var (Bar))

update(log, live, live_console, log_console, live_lbl, log_lbl)
โ€ƒโ€ƒPut at the very end of your code / This updates all of the consoles
โ€ƒโ€ƒParameters:
โ€ƒโ€ƒโ€ƒโ€ƒlog: This matrix is the one used for Bar updates
โ€ƒโ€ƒโ€ƒโ€ƒlive: This matrix is the one used for Real Time updates
โ€ƒโ€ƒโ€ƒโ€ƒlive_console: on_offs for the consoles and lbls - call in the update function
โ€ƒโ€ƒโ€ƒโ€ƒlog_console: on_offs for the consoles and lbls - call in the update function
โ€ƒโ€ƒโ€ƒโ€ƒlive_lbl: on_offs for the consoles and lbls - call in the update function
โ€ƒโ€ƒโ€ƒโ€ƒlog_lbl: on_offs for the consoles and lbls - call in the update function
โ€ƒโ€ƒReturns: void

log(log, inp, str_label, off, rows, index_cols, bars_back)
โ€ƒโ€ƒFunction Will push to the Console offset to the right of Current bar, This is the main Console - it has 2 Feeds left and right (changeable)"
โ€ƒโ€ƒParameters:
โ€ƒโ€ƒโ€ƒโ€ƒlog: Matrix - Log or Live
โ€ƒโ€ƒโ€ƒโ€ƒinp: All types
โ€ƒโ€ƒโ€ƒโ€ƒstr_label: (optional) This input will label it on the feed
โ€ƒโ€ƒโ€ƒโ€ƒoff: Useful for when you don't want to remove the function"
โ€ƒโ€ƒโ€ƒโ€ƒrows: when printing or logging a matrix this will shorten the output will show last # of rows"
โ€ƒโ€ƒโ€ƒโ€ƒindex_cols: When printing or logging a array or matrix this will shorten the array or the columns of a matrix by the #"
โ€ƒโ€ƒโ€ƒโ€ƒbars_back: Adjustment for Bars Back - Default is 1 (0 for barstate.islast)"
โ€ƒโ€ƒReturns: inp - all types (The log and print functions can be used as wrapper functions see usage below for examples)

Print(log, str_label, off, bars_back)
โ€ƒโ€ƒFunction can be used to send information to a label style Console, Can be used as a wrapper function, Similar to str.format use with str()
โ€ƒโ€ƒParameters:
โ€ƒโ€ƒโ€ƒโ€ƒlog:
โ€ƒโ€ƒโ€ƒโ€ƒstr_label: (optional) Can be used to label Data sent to the Console
โ€ƒโ€ƒโ€ƒโ€ƒoff: Useful for when you don't want to remove the function
โ€ƒโ€ƒโ€ƒโ€ƒbars_back: Adjustment for Bars Back - Default is 1 (0 for barstate.islast)
โ€ƒโ€ƒReturns: string

print(inp, str_label, off, bars_back)
โ€ƒโ€ƒThis Function can be used to send information to a label style Console, Can be used as a wrapper function, Overload print function
โ€ƒโ€ƒParameters:
โ€ƒโ€ƒโ€ƒโ€ƒinp: All types
โ€ƒโ€ƒโ€ƒโ€ƒstr_label: string (optional) Can be used to label Data sent to the Console
โ€ƒโ€ƒโ€ƒโ€ƒoff: Useful for when you don't want to remove the function
โ€ƒโ€ƒโ€ƒโ€ƒbars_back: Adjustment for Bars Back - Default is 1 (0 for barstate.islast)
โ€ƒโ€ƒReturns: inp - all types (The log and print functions can be used as wrapper functions see usage below for examples)

Credits:
kaigouthro - for the font library
RicardoSantos - for the concept I used to make this
Thanks!

Use cases at the bottom
Versionshinweise
v2

Added:
console()

Updated:

init()
โ€ƒโ€ƒinitializes the database arrays [1 var <string> and 1 varip <string>]
โ€ƒโ€ƒReturns: [console,tick] - tuple 2 matrix<string> 1 matrix is varip(tick) the other is reagular var (Bar)

update(memory, tick, live_console, console_console, live_lbl, console_lbl)
โ€ƒโ€ƒPut at the very end of your code / This updates all of the consoles
โ€ƒโ€ƒParameters:
โ€ƒโ€ƒโ€ƒโ€ƒmemory: This matrix is the one used for Bar updates
โ€ƒโ€ƒโ€ƒโ€ƒtick: This matrix is the one used for Real Time updates
โ€ƒโ€ƒโ€ƒโ€ƒlive_console: on_offs for the consoles and lbls - call in the update function
โ€ƒโ€ƒโ€ƒโ€ƒconsole_console: on_offs for the consoles and lbls - call in the update function
โ€ƒโ€ƒโ€ƒโ€ƒlive_lbl: on_offs for the consoles and lbls - call in the update function
โ€ƒโ€ƒโ€ƒโ€ƒconsole_lbl: on_offs for the consoles and lbls - call in the update function
โ€ƒโ€ƒReturns: void

log()

print()

Removed:
Print(log, str_label, off, bars_back)
โ€ƒโ€ƒFunction can be used to send information to a label style Console, Can be used as a wrapper function, Similar to str.format use with str()

Little update will update this page when i have some time
Versionshinweise
v5

Updated:
console()

print()

Got print function working tick and bar updates more info in chart pic
Versionshinweise
=) v6
Versionshinweise
v7

Updated:
str(input)
โ€ƒโ€ƒParameters:
โ€ƒโ€ƒโ€ƒโ€ƒinput

print_label(str, x_offset, y, barstate, style, color, textcolor, text_align, size)
โ€ƒโ€ƒprint_label
โ€ƒโ€ƒParameters:
โ€ƒโ€ƒโ€ƒโ€ƒstr: string - the string to be displayed in the label
โ€ƒโ€ƒโ€ƒโ€ƒx_offset: int - offset from last bar in time units, default is 150
โ€ƒโ€ƒโ€ƒโ€ƒy: float - the price at which the label will be displayed, default is the high of the current bar
โ€ƒโ€ƒโ€ƒโ€ƒbarstate: bool - whether the label should be displayed on the last bar, default is true
โ€ƒโ€ƒโ€ƒโ€ƒstyle: string - the style of the label, default is label.style_label_lower_right
โ€ƒโ€ƒโ€ƒโ€ƒcolor: color - the color of the label, default is black
โ€ƒโ€ƒโ€ƒโ€ƒtextcolor: color - the color of the text in the label, default is lime green
โ€ƒโ€ƒโ€ƒโ€ƒtext_align: string - the alignment of the text in the label, default is text.align_left
โ€ƒโ€ƒโ€ƒโ€ƒsize: string - the size of the text in the label, default is 'normal'
โ€ƒโ€ƒReturns: label - the created label object
description
This function creates and returns a label object that can be displayed on the chart.
The label displays the given string at the specified price, with the specified styling and colors.
The label is displayed on the last bar by default, but this can be changed by setting the barstate parameter.
The x_offset parameter determines the offset from the last bar in time units.

init(UTC, console, type)
โ€ƒโ€ƒinit
โ€ƒโ€ƒParameters:
โ€ƒโ€ƒโ€ƒโ€ƒUTC: integer - representing the time zone offset from UTC in hours. A positive value means the time zone is ahead of UTC (e.g. UTC+3),
while a negative value means the time zone is behind UTC (e.g. UTC-5). The default value is -6.
โ€ƒโ€ƒโ€ƒโ€ƒconsole: string - indicating the type of console to output data to. Valid options are 'table', 'label', 'box', and 'tool'.
The default value is 'table'.
โ€ƒโ€ƒโ€ƒโ€ƒtype: string - indicating the type of data to output. Valid options are 'tick' and 'bar'. The default value is 'bar'.
return out string[] - string array for logging debug data.
description
This function initializes the output data for a script by creating an array of strings called out,
and sets its value based on the values of the console and type parameters.
It also sets the utc variable to a string representation of the UTC parameter, and adds a header string to the beginning of out
indicating the type of console being used and the data type being output.
The possible values for console are 'table', 'label', 'box', and 'tool',
and the possible values for type are 'tick' and 'bar'.
The default values for console and type are 'table' and 'bar' respectively.
The function returns out (string[]) at the end.

update(console1, console2, console3)
โ€ƒโ€ƒupdate
โ€ƒโ€ƒParameters:
โ€ƒโ€ƒโ€ƒโ€ƒconsole1: string[] - An array of strings representing the console to be updated.
โ€ƒโ€ƒโ€ƒโ€ƒconsole2: string[] - An array of strings representing the console to be updated.
โ€ƒโ€ƒโ€ƒโ€ƒconsole3: string[] - An array of strings representing the console to be updated.
return (void)
description
The update function updates the given consoles with the latest input in their respective buffers.
It also checks for the type of console and updates the label, table, box, or tooltip accordingly.
If a console is not provided or is empty, it is skipped.

print(input, data_label, tick, pos, off, m_rows, a_index_m_cols, size, text_size, bg_color, text_color, border_color, UTC)
โ€ƒโ€ƒprint
โ€ƒโ€ƒParameters:
โ€ƒโ€ƒโ€ƒโ€ƒinput: type - The input to be printed in the console
of the console on the chart. Valid values are "1-9",
โ€ƒโ€ƒโ€ƒโ€ƒoff: bool - A flag indicating whether to disable printing [true] or enable it [false]. Default value is false.
โ€ƒโ€ƒโ€ƒโ€ƒm_rows: int - An optional parameter for printing a matrix with a specified number of rows.
โ€ƒโ€ƒโ€ƒโ€ƒa_index_m_cols: int - An optional parameter for printing a matrix with a specified number of columns.
โ€ƒโ€ƒโ€ƒโ€ƒsize: int - The maximum number of lines that can be displayed in the console. Default value is 20.
โ€ƒโ€ƒโ€ƒโ€ƒtext_size: string - The size of the text in the console. Default value is `size.small`.
โ€ƒโ€ƒโ€ƒโ€ƒbg_color: color - The background color of the console. Default value is `#00000075`.
โ€ƒโ€ƒโ€ƒโ€ƒtext_color: color - The color of the text in the console. Default value is `#00ff00`.
โ€ƒโ€ƒโ€ƒโ€ƒborder_color: color - The color of the border around the console. Default value is `#00ff00`.
โ€ƒโ€ƒโ€ƒโ€ƒUTC: int - The time zone offset to use when displaying timestamps in the console. Default value is -6.

Removed:
console_colors

-- Finally had some time to update the function headers hope this helps
Versionshinweise
v8

Updated:
init(UTC, console, type)
โ€ƒโ€ƒinit
โ€ƒโ€ƒParameters:
โ€ƒโ€ƒโ€ƒโ€ƒUTC: integer - representing the time zone offset from UTC in hours. A positive value means the time zone is ahead of UTC (e.g. UTC+3),
while a negative value means the time zone is behind UTC (e.g. UTC-5). The default value is -6.
โ€ƒโ€ƒโ€ƒโ€ƒconsole: string - indicating the type of console to output data to. Valid options are 'table', 'label', 'box', and 'tool'.
The default value is 'table'.
โ€ƒโ€ƒโ€ƒโ€ƒtype: string - indicating the type of data to output. Valid options are 'tick' and 'bar'. The default value is 'bar'.
โ€ƒโ€ƒReturns: out string[] - string array for logging debug data.
description
This function initializes the output data for a script by creating an array of strings called out,
and sets its value based on the values of the console and type parameters.
It also sets the utc variable to a string representation of the UTC parameter, and adds a header string to the beginning of out
indicating the type of console being used and the data type being output.
The possible values for console are 'table', 'label', 'box', and 'tool',
and the possible values for type are 'tick' and 'bar'.
The default values for console and type are 'table' and 'bar' respectively.
The function returns out (string[]) at the end.

update(console1, console2, console3)
โ€ƒโ€ƒupdate
โ€ƒโ€ƒParameters:
โ€ƒโ€ƒโ€ƒโ€ƒconsole1: string[] - An array of strings representing the console to be updated.
โ€ƒโ€ƒโ€ƒโ€ƒconsole2: string[] - An array of strings representing the console to be updated.
โ€ƒโ€ƒโ€ƒโ€ƒconsole3: string[] - An array of strings representing the console to be updated.
โ€ƒโ€ƒReturns: (void)
description
The update function updates the given consoles with the latest input in their respective buffers.
It also checks for the type of console and updates the label, table, box, or tooltip accordingly.
If a console is not provided or is empty, it is skipped.

Removed:
console(input, tick, position, size, text_size, bg_color, text_color, border_color, UTC, data_label)
โ€ƒโ€ƒconsole

did a couple little updates added some documentation at the top of the script
Versionshinweise
v9

added a safety check in the print() helper function to shorten string if it reaches a length of > 4000 before it gets added to the array and then does its final string check
Versionshinweise
v10

Updated:
init(UTC, console)
โ€ƒโ€ƒParameters:
โ€ƒโ€ƒโ€ƒโ€ƒUTC
โ€ƒโ€ƒโ€ƒโ€ƒconsole

update(console1, console2, console3, bg_color, text_color, border_color)
โ€ƒโ€ƒ- The update function updates the given consoles with the latest input in their respective buffers.
It also checks for the type of console and updates the label, table, box, or tooltip accordingly.
If a console is not provided or is empty, it is skipped.
โ€ƒโ€ƒParameters:
โ€ƒโ€ƒโ€ƒโ€ƒconsole1: string[] - An array of strings representing the console to be updated.
โ€ƒโ€ƒโ€ƒโ€ƒconsole2: string[] - An array of strings representing the console to be updated.
โ€ƒโ€ƒโ€ƒโ€ƒconsole3: string[] - An array of strings representing the console to be updated.
โ€ƒโ€ƒโ€ƒโ€ƒbg_color: color - Color of the bg of the consoles
โ€ƒโ€ƒโ€ƒโ€ƒtext_color: color - Color of the text of the consoles
โ€ƒโ€ƒโ€ƒโ€ƒborder_color
โ€ƒโ€ƒReturns: (void)

log(console, inp, data_label, off, loop, tick, m_rows, m_cols)
โ€ƒโ€ƒParameters:
โ€ƒโ€ƒโ€ƒโ€ƒconsole
โ€ƒโ€ƒโ€ƒโ€ƒinp
โ€ƒโ€ƒโ€ƒโ€ƒdata_label
โ€ƒโ€ƒโ€ƒโ€ƒoff
โ€ƒโ€ƒโ€ƒโ€ƒloop
โ€ƒโ€ƒโ€ƒโ€ƒtick
โ€ƒโ€ƒโ€ƒโ€ƒm_rows
โ€ƒโ€ƒโ€ƒโ€ƒm_cols

print(input, data_label, tick, pos, off, loop, UTC, m_rows, m_cols, size, text_size, bg_color, text_color)
โ€ƒโ€ƒParameters:
โ€ƒโ€ƒโ€ƒโ€ƒinput
โ€ƒโ€ƒโ€ƒโ€ƒdata_label
โ€ƒโ€ƒโ€ƒโ€ƒtick
โ€ƒโ€ƒโ€ƒโ€ƒpos
โ€ƒโ€ƒโ€ƒโ€ƒoff
โ€ƒโ€ƒโ€ƒโ€ƒloop
โ€ƒโ€ƒโ€ƒโ€ƒUTC
โ€ƒโ€ƒโ€ƒโ€ƒm_rows
โ€ƒโ€ƒโ€ƒโ€ƒm_cols
โ€ƒโ€ƒโ€ƒโ€ƒsize
โ€ƒโ€ƒโ€ƒโ€ƒtext_size
โ€ƒโ€ƒโ€ƒโ€ƒbg_color
โ€ƒโ€ƒโ€ƒโ€ƒtext_color

Removed:
print_label(str, x_offset, y, barstate, style, color, textcolor, text_align, size)
โ€ƒโ€ƒprint_label
Versionshinweise
v11 comment out usage code for speed for the user
Versionshinweise
v12

Added:
shorten(str, a_index, m_rows, m_cols)
โ€ƒโ€ƒโ— This function is designed to shorten the string representation of either a matrix or an array by limiting the number of rows and columns displayed.
If the input str is a matrix or array, the function first sets the variables mtx and arr to true or false depending on the value of the a_or_m input.
If mtx is true and the current bar is the last bar of the bar series and either m_rows or a_index_m_cols are not zero,
the function performs the following steps:
โ— It removes all square brackets, newline characters, and empty brackets from the input string and splits it into an array s_s at the brackets.
โ— It splits the first element of s_s into an array s_ss at the comma and space.
โ— If the size of s_s is greater than m_rows * 2 or the size of s_ss is greater than a_index_m_cols * 2,
the function performs the following steps:
โ— It creates a new array m_strbot and sets a variable pop_shift to the integer value of m_rows.
โ— It creates a copy c_ of s_s and iterates over it in reverse, popping elements from c_ and appending them to m_strbot.
โ— For each element, it splits it into an array s_s_s at the comma and space.
If the size of s_s_s is less than or equal to a_index_m_cols * 2,
it simply appends the element to m_strbot.
If the size of s_s_s is greater than a_index_m_cols * 2,
it creates a new array a_strbot, sets a variable a_pop_shift to the integer value of a_index_m_cols,
and performs the following steps:
โ— It iterates over s_s_s in reverse, popping elements from it and appending them to a_strbot.
โ— It creates a new array a_strtop and iterates over s_s_s in forward order,
shifting elements from it and appending them to a_strtop.
โ— It concatenates a_strtop and a_strbot and joins them with a comma and space,
then appends the resulting string to m_strbot as an element.
โ— It creates a new array m_strtop and sets c_ to a copy of s_s.
It iterates over c_ in forward order,
shifting elements from it and appending them to m_strtop.
For each element, it splits it into an array s_s_s at the comma and space.
If the size of s_s_s is less than or equal to a_index_m_cols * 2,
it simply appends the element to m_strtop.
If the size of s_s_s is greater than a_index_m_cols * 2,
it performs the same steps as before to create a_strtop and a_strbot, concatenates them,
and appends the resulting string to `m_strtop It concatenates m_strbot and m_strtop and joins them
with a comma and space to create a new string m_out.
It then sets out to m_out, preceded by '\n'.
โ— If arr and barstate.islast and (m_rows or a_index_m_cols) is true,
it performs similar steps to shorten the input string if it is an array.
โ— It creates a new array s_s by splitting str at the square brackets and creates
a new array s_ss by splitting the first element of s_s at the comma and space.
โ— If the size of s_s is greater than m_rows * 2 or the size of s_ss is greater than a_index_m_cols * 2,
it creates new arrays a_strbot and a_strtop as before and concatenates them to create a new string a_out.
It then sets out to a_out, preceded by '\n'.
โ— Finally, the function returns out[shortened array/matrix].
โ€ƒโ€ƒParameters:
โ€ƒโ€ƒโ€ƒโ€ƒstr: string - The input string to be shortened.
โ€ƒโ€ƒโ€ƒโ€ƒa_index: int - The number of indexs to keep in array when shortening it. Default value is 0.
โ€ƒโ€ƒโ€ƒโ€ƒm_rows: int - The number of rows to keep in the matrix when shortening it. Default value is 0.
โ€ƒโ€ƒโ€ƒโ€ƒm_cols: int - The number of columns matrix when shortening it. Default value is 0.
โ€ƒโ€ƒReturns: string - The shortened string.
Description:

converted to methods
Versionshinweise
Library "FrizBug"
: Debug Tools | The Pinescript Debugging Tool Kit

added docs() acts as a hover over reference for the documentation

docs()
init(console)
โ€ƒโ€ƒinit() - Console init Function**

โ€ƒโ€ƒParameters:
โ€ƒโ€ƒโ€ƒโ€ƒinput: - ('any type') required
โ€ƒโ€ƒReturns: `string` of the input

str(input)
โ€ƒโ€ƒParameters:
โ€ƒโ€ƒโ€ƒโ€ƒinput


update(console1, console2, console3, bg_color, text_color, border_color)
โ€ƒโ€ƒParameters:
โ€ƒโ€ƒโ€ƒโ€ƒconsole1
โ€ƒโ€ƒโ€ƒโ€ƒconsole2
โ€ƒโ€ƒโ€ƒโ€ƒconsole3
โ€ƒโ€ƒโ€ƒโ€ƒbg_color
โ€ƒโ€ƒโ€ƒโ€ƒtext_color
โ€ƒโ€ƒโ€ƒโ€ƒborder_color

shorten(str, a_index, m_rows, m_cols)
โ€ƒโ€ƒParameters:
โ€ƒโ€ƒโ€ƒโ€ƒstr
โ€ƒโ€ƒโ€ƒโ€ƒa_index
โ€ƒโ€ƒโ€ƒโ€ƒm_rows
โ€ƒโ€ƒโ€ƒโ€ƒm_cols


log(console, inp, data_label, off, loop, tick, m_rows, m_cols)
โ€ƒโ€ƒParameters:
โ€ƒโ€ƒโ€ƒโ€ƒconsole
โ€ƒโ€ƒโ€ƒโ€ƒinp
โ€ƒโ€ƒโ€ƒโ€ƒdata_label
โ€ƒโ€ƒโ€ƒโ€ƒoff
โ€ƒโ€ƒโ€ƒโ€ƒloop
โ€ƒโ€ƒโ€ƒโ€ƒtick
โ€ƒโ€ƒโ€ƒโ€ƒm_rows
โ€ƒโ€ƒโ€ƒโ€ƒm_cols


print(input, data_label, tick, pos, off, loop, m_rows, m_cols, size, text_size, bg_color, text_color)
โ€ƒโ€ƒParameters:
โ€ƒโ€ƒโ€ƒโ€ƒinput
โ€ƒโ€ƒโ€ƒโ€ƒdata_label
โ€ƒโ€ƒโ€ƒโ€ƒtick
โ€ƒโ€ƒโ€ƒโ€ƒpos
โ€ƒโ€ƒโ€ƒโ€ƒoff
โ€ƒโ€ƒโ€ƒโ€ƒloop
โ€ƒโ€ƒโ€ƒโ€ƒm_rows
โ€ƒโ€ƒโ€ƒโ€ƒm_cols
โ€ƒโ€ƒโ€ƒโ€ƒsize
โ€ƒโ€ƒโ€ƒโ€ƒtext_size
โ€ƒโ€ƒโ€ƒโ€ƒbg_color
โ€ƒโ€ƒโ€ƒโ€ƒtext_color

any
โ€ƒโ€ƒFields:
โ€ƒโ€ƒโ€ƒโ€ƒany
Versionshinweise
v14

Updated:
docs()
Hover over documentation
need to clean this code up still works fine for now but I can implement objects once I have time
โ€ƒโ€ƒ
Versionshinweise
v15

Updated:
method log(inp, console, data_label, off, buffer, loop, tick, m_rows, m_cols)
โ€ƒโ€ƒNamespace types: matrix<linefill>
โ€ƒโ€ƒParameters:
โ€ƒโ€ƒโ€ƒโ€ƒinp (matrix<linefill>)
โ€ƒโ€ƒโ€ƒโ€ƒconsole (string[])
โ€ƒโ€ƒโ€ƒโ€ƒdata_label (string)
โ€ƒโ€ƒโ€ƒโ€ƒoff (bool)
โ€ƒโ€ƒโ€ƒโ€ƒbuffer (int)
โ€ƒโ€ƒโ€ƒโ€ƒloop (int)
โ€ƒโ€ƒโ€ƒโ€ƒtick (bool)
โ€ƒโ€ƒโ€ƒโ€ƒm_rows (int)
โ€ƒโ€ƒโ€ƒโ€ƒm_cols (int)

method print(input, data_label, tick, pos, buffer, off, loop, m_rows, m_cols, size, text_size, bg_color, text_color)
โ€ƒโ€ƒNamespace types: matrix<linefill>
โ€ƒโ€ƒParameters:
โ€ƒโ€ƒโ€ƒโ€ƒinput (matrix<linefill>)
โ€ƒโ€ƒโ€ƒโ€ƒdata_label (string)
โ€ƒโ€ƒโ€ƒโ€ƒtick (bool)
โ€ƒโ€ƒโ€ƒโ€ƒpos (string)
โ€ƒโ€ƒโ€ƒโ€ƒbuffer (int)
โ€ƒโ€ƒโ€ƒโ€ƒoff (bool)
โ€ƒโ€ƒโ€ƒโ€ƒloop (int)
โ€ƒโ€ƒโ€ƒโ€ƒm_rows (int)
โ€ƒโ€ƒโ€ƒโ€ƒm_cols (int)
โ€ƒโ€ƒโ€ƒโ€ƒsize (int)
โ€ƒโ€ƒโ€ƒโ€ƒtext_size (string)
โ€ƒโ€ƒโ€ƒโ€ƒbg_color (color)
โ€ƒโ€ƒโ€ƒโ€ƒtext_color (color)

Removed:
docs()

Now can hover over the library call to see docs!
Versionshinweise
v16

Added: docs() method didnt work
Versionshinweise
v17

Haftungsausschluss

Die Informationen und Verรถffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlรคgen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.