ccIndidatorDrawing
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © ccTradingCourse

//@version=5
library("ccIndidatorDrawing")
     
export showWarningTable() =>
    table warnings = table.new(position.bottom_center, rows=3,  columns=1, frame_width=1, frame_color=color.gray, border_width=1, border_color=color.red, bgcolor=color.red)
    table.cell(warnings, row=0, column=0, text='Warning!!!!', text_color=color.white, text_halign=text.align_center, bgcolor=color.gray)
    table.cell(warnings, row=1, column=0, text='This Not Readdy', text_color=color.white, text_halign=text.align_center)
    table.cell(warnings, row=2, column=0, text="XXXYYY", text_color=color.white, text_halign=text.align_left)