FinaspexTheme

129
FinaspexTheme is the shared colour library of the [Finaspex] indicators. It provides eight themes: Executive Slate, Warm Paper, Nordic Frost and Porcelain Minimal (light), and Institutional Dark, Espresso, Emerald Night and OLED Contrast (dark). Each theme is one Palette object with the table background and text, borders, header blocks, accent, status fills and status text colours, period-matrix colours, and the table font (Warm Paper uses a monospace font).

How to use it
import Finaspex/FinaspexTheme/1 as th
var th.Palette P = th.get_palette("Nordic Frost")
Colour table cells with P.C_BG, P.C_FG, P.C_ACCENT and the other fields, and pass P.FONT as text_font_family.

The library only returns colours: it draws nothing and makes no calculations.

Library "FinaspexTheme"
Shared colour themes of the [Finaspex] indicators: eight palettes (four light, four dark) for tables and title bars, with the table font.

get_palette(name)
  Palette for one of the eight theme names; an unknown name returns OLED Contrast.
  Parameters:
    name (string): Theme name, one of: Executive Slate, Warm Paper, Nordic Frost, Porcelain Minimal, Institutional Dark, Espresso, Emerald Night, OLED Contrast.
  Returns: Palette with every colour field and the table font.

Palette
  Every colour of one theme, plus the table font.
  Fields:
    C_BG (series color)
    C_FG (series color)
    C_HDR (series color)
    C_FRAME (series color)
    C_BORDER (series color)
    M_ROWDATA (series color)
    C_BLOCKBG (series color)
    C_BLOCKTXT (series color)
    C_ACCENT (series color)
    C_ACCENT_ON (series color)
    C_ACCENT_TXT (series color)
    C_STAR (series color)
    C_GRN (series color)
    C_GRN_L (series color)
    C_GRN_D (series color)
    C_HGRN (series color)
    C_OLIVE (series color)
    C_HOLI (series color)
    C_GRAY (series color)
    C_RED (series color)
    C_RED_D (series color)
    C_RED_L (series color)
    C_GRN_TXT (series color)
    C_OLIVE_TXT (series color)
    C_YELLOW_TXT (series color)
    C_ORANGE_TXT (series color)
    C_RED_TXT (series color)
    C_GRAY_TXT (series color)
    T_NEG (series color)
    M_ANN_BANNER (series color)
    M_ANN_CELL (series color)
    C_ANN_TXT (series color)
    M_QTR_BANNER (series color)
    M_QTR_CELL (series color)
    C_QTR_TXT (series color)
    M_POS (series color)
    M_POS_DARK (series color)
    M_POS_PALE (series color)
    M_NEG (series color)
    M_NEG_DARK (series color)
    M_NEG_PALE (series color)
    TR_HDR (series color)
    TR_HDRTXT (series color)
    TR_ACCENT_ON (series color)
    TR_DIV (series color)
    TR_WINBLOW (series color)
    TR_WINMUT (series color)
    TR_LOSMUT (series color)
    TR_LOSSEV (series color)
    FONT (series string)

Wyłączenie odpowiedzialności

Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.