PINE LIBRARY

fpa_unified_lib

275
Library "fpa_unified_lib"

lineStyle(styleText)
  Parameters:
    styleText (string)

labelSize(sizeText)
  Parameters:
    sizeText (string)

normalizeSession(sessionInput, hideWeekends)
  Parameters:
    sessionInput (string)
    hideWeekends (bool)

isSessionActive(sessionInput, timezoneInput)
  Parameters:
    sessionInput (string)
    timezoneInput (string)

tfInRange(lowTf, highTf)
  Parameters:
    lowTf (string)
    highTf (string)

parseTradingDayOpenMinutes(sessionInput)
  Parameters:
    sessionInput (string)

safeColor(c, transp)
  Parameters:
    c (color)
    transp (int)

updateRay(lineRef, shouldShow, startBarIndex, yPrice, lineColor, lineWidth, lineStyleText, rightOffsetBars, lookbackBars)
  Parameters:
    lineRef (line)
    shouldShow (bool)
    startBarIndex (int)
    yPrice (float)
    lineColor (color)
    lineWidth (int)
    lineStyleText (string)
    rightOffsetBars (int)
    lookbackBars (int)

updateLabel(labelRef, shouldShow, yPrice, textValue, labelColor, rightOffsetBars, sizeText)
  Parameters:
    labelRef (label)
    shouldShow (bool)
    yPrice (float)
    textValue (string)
    labelColor (color)
    rightOffsetBars (int)
    sizeText (string)

trimLines(arr, limit)
  Parameters:
    arr (array<line>)
    limit (int)

trimLabels(arr, limit)
  Parameters:
    arr (array<label>)
    limit (int)

parseFloatList(textArea)
  Parameters:
    textArea (string)

免责声明

这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。