PROTECTED SOURCE SCRIPT
LQL Legend Table

Following me on X - x.com/martypartymusic
LQL Legend Table draws a small legend table on your chart (overlay) so you can label your plotted lines/levels with:
• a color swatch (matches your line color)
• a label text (Column 1)
• an optional extra text (Column 2)
It’s meant to act like a persistent “key” for multi-line indicators (so users don’t have to guess what each color means).
Smart behavior
• Only renders on the last bar (so it doesn’t waste work on every historical bar).
• Automatically hides the “Extra” column if none of the enabled rows use it (so you get a cleaner 2-column layout by default).
• Only shows enabled rows, and packs them together (no gaps).
Options available (Inputs)
General
• Version (read-only display): shows the script version in settings.
• Show Legend Table: master toggle on/off.
• Top Buffer Rows (0–5): adds empty spacer rows above the legend.
• Bottom Buffer Rows (0–5): adds empty spacer rows below the legend.
Layout
• Table Position:
• Top Left / Top Center / Top Right
• Bottom Left / Bottom Center / Bottom Right
Styling
• Table Background: background color for the text cells.
• Font Color: text color.
• Font Size: Tiny / Small / Normal / Large
LQL Legend Table draws a small legend table on your chart (overlay) so you can label your plotted lines/levels with:
• a color swatch (matches your line color)
• a label text (Column 1)
• an optional extra text (Column 2)
It’s meant to act like a persistent “key” for multi-line indicators (so users don’t have to guess what each color means).
Smart behavior
• Only renders on the last bar (so it doesn’t waste work on every historical bar).
• Automatically hides the “Extra” column if none of the enabled rows use it (so you get a cleaner 2-column layout by default).
• Only shows enabled rows, and packs them together (no gaps).
Options available (Inputs)
General
• Version (read-only display): shows the script version in settings.
• Show Legend Table: master toggle on/off.
• Top Buffer Rows (0–5): adds empty spacer rows above the legend.
• Bottom Buffer Rows (0–5): adds empty spacer rows below the legend.
Layout
• Table Position:
• Top Left / Top Center / Top Right
• Bottom Left / Bottom Center / Bottom Right
Styling
• Table Background: background color for the text cells.
• Font Color: text color.
• Font Size: Tiny / Small / Normal / Large
Skrip dilindungi
Skrip ini diterbitkan sebagai sumber tertutup. Akan tetapi, anda boleh menggunakannya secara bebas dan tanpa apa-apa had – ketahui lebih di sini.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.
Skrip dilindungi
Skrip ini diterbitkan sebagai sumber tertutup. Akan tetapi, anda boleh menggunakannya secara bebas dan tanpa apa-apa had – ketahui lebih di sini.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.