PINE LIBRARY
已更新

Colors

711
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

免责声明

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.