PINE LIBRARY

TimeframeUtils

486
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.

免責聲明

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.