PINE LIBRARY

TimeframeUtils

485
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. קרא עוד ב־תנאי השימוש.