Library "DebugConsole"
Methods for debuging/output into a table, console like style.
init(size) initiate property variables.
Parameters:
Returns: tuple, table and string array.
queue(console_id, new_line) Regular Queue, will be called once every bar its called.
Parameters:
Returns: void.
queue_one(console_id, new_line) Queue only one time, will not repeat itself.
Parameters:
Returns: void.
update(table_id, console_id) Update method for the console screen.
Parameters:
Returns: void.
Methods for debuging/output into a table, console like style.
init(size) initiate property variables.
Parameters:
- size: int, console line size.
Returns: tuple, table and string array.
queue(console_id, new_line) Regular Queue, will be called once every bar its called.
Parameters:
- console_id: string array, console configuration array.
- new_line: string, with contents for new line.
Returns: void.
queue_one(console_id, new_line) Queue only one time, will not repeat itself.
Parameters:
- console_id: string array, console configuration array.
- new_line: string, with contents for new line.
Returns: void.
update(table_id, console_id) Update method for the console screen.
Parameters:
- table_id: table, table to update console text.
- console_id: string array, console configuration array.
Returns: void.
릴리즈 노트
minor update.릴리즈 노트
v3Added:
queue_one_intrabar(console_id, new_line) Queue only one time, will not repeat itself.
Parameters:
console_id: string array, console configuration array.
new_line: string, with contents for new line.
Returns: void.
릴리즈 노트
v4added option for toggling the table on/off
Updated:
init(size) initiate property variables.
Parameters:
size: int, console line size.
Returns: tuple, table and string array.
릴리즈 노트
v5 forgot parameter description :facepalm:릴리즈 노트
v6fixed a error due to hiding the table functionality.
릴리즈 노트
v7Added:
log(message) Generate a independent single value output.
Parameters:
message: string, the output message.
returns void
Originaly by Adolgov
릴리즈 노트
v8 forgot about the parameters... x_x릴리즈 노트
v9Added:
init_ip(size, visible)
initiate property variables for intrabar persistance.
Parameters:
size: int, console line size.
visible: bool, toggle visibility if the table.
Returns: tuple, table and string array.
function proposed by adolgov.
릴리즈 노트
v10Added:
log_ip(message, size, text_size, bg_color, text_color, border_color)
Generate a independent single value output stream supporting intrabar persistance.
Parameters:
message: string, the output message.
size: int, number of messages to show.
text_size: string, default=size.normal.
bg_color: color, default=#000000.
text_color: color, default=#ffffff.
border_color: color, default=color.grey.
returns void
Originaly by Adolgov
릴리즈 노트
v11 - Update using type objects and methods.Added:
Console
Console object used to store log entries and table.
Fields:
entries: Message entry stream.
table: Output table.
Updated:
init(this, size, visible, intrabar_persistance)
initializes the Console object.
Parameters:
this: Console, Console object with entries array and table.
size: int , Number of entries allowed in the console.
visible: bool , Toggles the visibility of the table, (default=true).
intrabar_persistance: bool , Toggles the entry message intrabar persistance into the console, (default=false).
Returns: Console object, contains the entries console and output table.
queue(this, new_line)
Regular Queue, will be called once every bar its called.
Parameters:
this
new_line: string, with contents for new line.
Returns: void.
queue_one(this, new_line)
Queue only one time, will not repeat itself.
Parameters:
this
new_line: string, with contents for new line.
Returns: void.
queue_one_intrabar(this, new_line)
Queue only one time, will not repeat itself.
Parameters:
this
new_line: string, with contents for new line.
Returns: void.
update(this)
Update method for the console screen.
Parameters:
this
Returns: void.
Removed:
init_ip(size, visible)
initiate property variables for intrabar persistance.
릴리즈 노트
v12 added Parameter settings object, and a new() function to make it easier to call..Added:
new()
Create a new Console object and inittiate its basic parameters.
Returns: `Console` A new console object.
StyleParameters
Fields:
position (series string): Table position in panel.
bgcolor (series color): Background color.
frame_color (series color): Frame color.
frame_width (series int): Frame width.
border_color (series color): Border color.
border_width (series int): border width.
width (series int): Console width.
height (series int): Console height.
text_color (series color): Text color.
text_halign (series string): Text horizontal alignment.
text_valign (series string): Text vertical alignment.
text_size (series string): Size of the text.
Parameters
Parameters object.
Fields:
size (series int): Number of string cells.
visible (series bool): Is console visible?
intrabar (series bool): Is intrabar persistance (`varip`) on?
style (StyleParameters)
릴리즈 노트
v13 corrected some minor stuff.릴리즈 노트
v14 Update to V6.파인 라이브러리
트레이딩뷰의 진정한 정신에 따라, 작성자는 이 파인 코드를 오픈소스 라이브러리로 게시하여 커뮤니티의 다른 파인 프로그래머들이 재사용할 수 있도록 했습니다. 작성자에게 경의를 표합니다! 이 라이브러리는 개인적으로 사용하거나 다른 오픈소스 게시물에서 사용할 수 있지만, 이 코드의 게시물 내 재사용은 하우스 룰에 따라 규제됩니다.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
파인 라이브러리
트레이딩뷰의 진정한 정신에 따라, 작성자는 이 파인 코드를 오픈소스 라이브러리로 게시하여 커뮤니티의 다른 파인 프로그래머들이 재사용할 수 있도록 했습니다. 작성자에게 경의를 표합니다! 이 라이브러리는 개인적으로 사용하거나 다른 오픈소스 게시물에서 사용할 수 있지만, 이 코드의 게시물 내 재사용은 하우스 룰에 따라 규제됩니다.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
