PINE LIBRARY

TimeframeUtils

324
Library "TimeframeUtils"
Timeframe Utilities Library – Provides functions to convert timeframe resolutions to minutes and generate human‐readable timeframe text.

tfResInMinutes(_res)
  tfResInMinutes
  Parameters:
    _res (string)
  Returns: float - The specified timeframe's resolution in minutes.

getTimeFrameText(_tf)
  getTimeFrameText
  Parameters:
    _tf (string)
  Returns: string - A human-readable representation of the specified timeframe.

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。