PINE LIBRARY
Updated fsl_theme

Library "fsl_theme"
FSL Theme Library
Provides reusable UI color themes used across FSL indicators and strategies.
The library defines a Theme structure containing colors for table headers,
data rows, and directional indicators. Scripts can retrieve a preset theme
using `getTheme()` and apply consistent styling to tables and labels.
getTheme(id)
Returns the Theme configuration corresponding to the selected preset.
Parameters:
id (series ThemeId): ThemeId identifier of the theme preset.
Returns: Theme structure containing all UI color settings.
Theme
Structure containing all UI color definitions used by FSL scripts. These colors are typically applied to tables, labels, and UI elements.
Fields:
header_bg (series color)
header_tx (series color)
data_bg (series color)
data_tx (series color)
data_bg_sec (series color)
dir_cont_bg (series color)
dir_cont_tx (series color)
dir_backw_bg (series color)
dir_backw_tx (series color)
FSL Theme Library
Provides reusable UI color themes used across FSL indicators and strategies.
The library defines a Theme structure containing colors for table headers,
data rows, and directional indicators. Scripts can retrieve a preset theme
using `getTheme()` and apply consistent styling to tables and labels.
getTheme(id)
Returns the Theme configuration corresponding to the selected preset.
Parameters:
id (series ThemeId): ThemeId identifier of the theme preset.
Returns: Theme structure containing all UI color settings.
Theme
Structure containing all UI color definitions used by FSL scripts. These colors are typically applied to tables, labels, and UI elements.
Fields:
header_bg (series color)
header_tx (series color)
data_bg (series color)
data_tx (series color)
data_bg_sec (series color)
dir_cont_bg (series color)
dir_cont_tx (series color)
dir_backw_bg (series color)
dir_backw_tx (series color)
Release Notes
v2Updated:
Theme
Structure containing all UI color definitions used by FSL scripts. These colors are typically applied to tables, labels, and UI elements.
Fields:
header_bg (series color)
header_tx (series color)
data_bg (series color)
data_tx (series color)
data_bg_sec (series color)
dir_cont_bg (series color)
dir_cont_tx (series color)
dir_backw_bg (series color)
dir_backw_tx (series color)
bg_main (series color)
bg_secondary (series color)
border (series color)
grid (series color)
text_secondary (series color)
text_muted (series color)
accent (series color)
Release Notes
v3Updated:
Theme
Structure containing all UI color definitions used by FSL scripts. These colors are typically applied to tables, labels, and UI elements.
Fields:
header_bg (series color)
header_tx (series color)
data_bg (series color)
data_tx (series color)
data_bg_sec (series color)
dir_cont_bg (series color)
dir_cont_tx (series color)
dir_backw_bg (series color)
dir_backw_tx (series color)
bg_main (series color)
bg_secondary (series color)
border (series color)
grid (series color)
text_secondary (series color)
text_muted (series color)
accent (series color)
bar_up (series color)
bar_down (series color)
ma (series color)
Pine library
In true TradingView spirit, the author has published this Pine code as an open-source library so that other Pine programmers from our community can reuse it. Cheers to the author! You may use this library privately or in other open-source publications, but reuse of this code in publications is governed by House Rules.
Quant Developer | Pine Script v6 | Python & R
12+ yrs system. trading, hedge fund experience
Indicators, strategies & screeners
Futures & options
💼 Hire/Consulting:
qntly.com/hire
🎓 Pine Code With AI:
qntly.com/pineai
12+ yrs system. trading, hedge fund experience
Indicators, strategies & screeners
Futures & options
💼 Hire/Consulting:
qntly.com/hire
🎓 Pine Code With AI:
qntly.com/pineai
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Pine library
In true TradingView spirit, the author has published this Pine code as an open-source library so that other Pine programmers from our community can reuse it. Cheers to the author! You may use this library privately or in other open-source publications, but reuse of this code in publications is governed by House Rules.
Quant Developer | Pine Script v6 | Python & R
12+ yrs system. trading, hedge fund experience
Indicators, strategies & screeners
Futures & options
💼 Hire/Consulting:
qntly.com/hire
🎓 Pine Code With AI:
qntly.com/pineai
12+ yrs system. trading, hedge fund experience
Indicators, strategies & screeners
Futures & options
💼 Hire/Consulting:
qntly.com/hire
🎓 Pine Code With AI:
qntly.com/pineai
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.