PINE LIBRARY
Updated

Master_Utils

104
Library "Master_Utils"

get_theme(theme_name)
  Parameters:
    theme_name (string)

label_buy(y, txt, col, txt_col, size_str, tooltip)
  Parameters:
    y (float)
    txt (string)
    col (color)
    txt_col (color)
    size_str (string)
    tooltip (string)

label_sell(y, txt, col, txt_col, size_str, tooltip)
  Parameters:
    y (float)
    txt (string)
    col (color)
    txt_col (color)
    size_str (string)
    tooltip (string)

Palette
  Fields:
    bull (series color)
    bear (series color)
    neutral (series color)
    text_ (series color)
    glow (series color)
Release Notes
v2

Added:
label_buy_FO(y, txt, col, txt_col, size_str, tooltip)
  Parameters:
    y (float)
    txt (string)
    col (color)
    txt_col (color)
    size_str (string)
    tooltip (string)

label_sell_FO(y, txt, col, txt_col, size_str, tooltip)
  Parameters:
    y (float)
    txt (string)
    col (color)
    txt_col (color)
    size_str (string)
    tooltip (string)
Release Notes
v3

Added:
method f_buy_alerts(mes_)
  Namespace types: series string, simple string, input string, const string
  Parameters:
    mes_ (string)

method f_sell_alerts(mes_)
  Namespace types: series string, simple string, input string, const string
  Parameters:
    mes_ (string)
Release Notes
v4

Added:
get_session_data(time_range, session_name, bull_col)
  Parameters:
    time_range (string)
    session_name (string)
    bull_col (color)

get_overlap_text(sA, sB, sC, sD)
  Parameters:
    sA (SessionInfo)
    sB (SessionInfo)
    sC (SessionInfo)
    sD (SessionInfo)

SessionInfo
  Fields:
    name (series string)
    is_active (series bool)
    session_color (series color)
    session_text (series string)

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.