table.new(position, columns, rows, bgcolor, framecolor, framewidth, bordercolor,…
- User
table.new(position, columns, rows, bgcolor, frame_color, frame_width, border_color, border_width, force_overlay) → series table Arguments position (series string) Position of the table. Possible values are: position.top_left, position.top_center, position.top_right, position.middle_left, position.middle_center, position.middle_right, position.bottom_left, position.bottom_center, position.bottom_right. columns (series int) The number of columns in the table. rows (series int) The number of rows in the table. bgcolor (series color) The background color of the table. Optional. The default is no color. frame_color (series color) The color of the outer frame of the table. Optional. The default is no color. frame_width (series int) The width of the outer frame of the table. Optional. The default is 0. border_color (series color) The color of the borders of the cells (excluding the outer frame). Optional. The default is no color. border_width (series int) The width of the borders of the cells (excluding the outer frame). Optional. The default is 0. force_overlay (const bool) If true, the drawing will display on the main chart pane, even when the script occupies a separate pane. Optional. The default is false. در مورد force_overlay توضیح بده
- Assistant
پارامتر
force_overlayدر تابعtable.newمشخص میکند که آیا جدول باید به صورت اجباری در پنجره اصلی نمودار نمایش داده شود، حتی وقتی که اسکریپت در یک پنجره جداگانه قرار گرفته باشد یا خیر. به صورت پیشفرض، این پارامتر مقدارfalseدارد، به این معنی که جدول در همان پنجرهای نمایش داده میشود که اسکریپت در آن قرار دارد.زمانی که
force_overlayبهtrueتنظیم شود، جدول همیشه بر روی پنجره اصلی نمودار قرار میگیرد، بدون توجه به اینکه اسکریپت در چه پنجرهای اجرا میشود. این قابلیت زمانی مفید است که بخواهید اطلاعات جدول به وضوح و در مرکز توجه کاربر قرار گیرد، حتی اگر اسکریپت تحلیل تکنیکال شما در یک پنجره جداگانه باشد.