PINE LIBRARY
已更新

Master_Utils

108
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提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。