PINE LIBRARY

TimeframeUtils

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

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.