PINE LIBRARY
Cập nhật

GBB_lib_utils

43
Library "GBB_lib_utils"

gbb_tf_to_display(tf_minutes, tf_string)
  gbb_tf_to_display
/ description Converts minutes and TF string into a short standard label.
/ param tf_minutes (float)
/ param tf_string (string)
/ Returns (string) Timeframe label (M1,H1,D1,...)
  Parameters:
    tf_minutes (float)
    tf_string (string)

gbb_convert_bars(_bars)
  gbb_convert_bars
/ description Formats a number of bars into a duration (days, hours, minutes + bar count).
/ param _bars (int)
/ Returns (string)
  Parameters:
    _bars (int)

gbb_goldorak_init(_tf5Levels_input)
  gbb_goldorak_init
/ description Builds a contextual message about the current timeframe and optional 5-level TF.
/ param _tf5Levels_input (string) Alternative timeframe ("" = current timeframe).
/ Returns (string, string, float) [tf_display, message, current_minutes]
  Parameters:
    _tf5Levels_input (string)
Phát hành các Ghi chú
v2

Ajouté:
gbb_moving_average_source(_source, _length, _ma_type)
  gbb_moving_average_source
description Calculates the moving average of a source series.
  Parameters:
    _source (float): (series float)
    _length (simple int): (int)
    _ma_type (string): (string)
  Returns: (series) Moving average series
Phát hành các Ghi chú
v3
Phát hành các Ghi chú
v4
Phát hành các Ghi chú
v5

Mis à jour:
gbb_tf_to_display(tf_minutes, tf_string)
  gbb_tf_to_display
description Converts minutes and TF string into a short standard label.
  Parameters:
    tf_minutes (float): (float)
    tf_string (string): (string)
  Returns: (string) Timeframe label (M1,H1,D1,...)

gbb_convert_bars(_bars)
  gbb_convert_bars
description Formats a number of bars into a duration (days, hours, minutes + bar count).
  Parameters:
    _bars (int): (int)
  Returns: (string)

gbb_goldorak_init(_tf5Levels_input)
  gbb_goldorak_init
description Builds a contextual message about the current timeframe and optional 5-level TF.
  Parameters:
    _tf5Levels_input (string): (string) Alternative timeframe ("" = current timeframe).
  Returns: (string, string, float) [tf_display, message, current_minutes]

Thông báo miễn trừ trách nhiệm

Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.