PINE LIBRARY
GBB_lib_utils

Library "GBB_lib_utils"
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
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]
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
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]
Pine腳本庫
秉持TradingView一貫精神,作者已將此Pine代碼以開源函式庫形式發佈,方便我們社群中的其他Pine程式設計師重複使用。向作者致敬!您可以在私人專案或其他開源發表中使用此函式庫,但在公開發表中重用此代碼須遵守社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
Pine腳本庫
秉持TradingView一貫精神,作者已將此Pine代碼以開源函式庫形式發佈,方便我們社群中的其他Pine程式設計師重複使用。向作者致敬!您可以在私人專案或其他開源發表中使用此函式庫,但在公開發表中重用此代碼須遵守社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。