PINE LIBRARY
已更新

Colors

Library "Colors"
Helpers for color manipulations

opacify(oldColor, opacity)
  Applies opacity to color
  Parameters:
    oldColor: color
    opacity: opacity
  Returns: color with opacity
版本注释
v2

Added:
getColorsRange(topColor, bottomColor, numColors)
  Gets two colors as parameters and number of colors you need. Returns range of colors between them
  Parameters:
    topColor: color color
    bottomColor: color
    numColors: number of colors in range

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。