PINE LIBRARY
已更新

Master_Utils

109
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)
版本注释
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)
版本注释
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)
版本注释
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)

免责声明

这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。