PINE LIBRARY

TimeframeUtils

497
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. Подробнее читайте в Условиях использования.