PINE LIBRARY

TPCColors_Public

Library "TPCColors_Public"
Provides calculated colors.

get(colorKey, colorModifier) Returns the length in ms for the given amount of the given interval.
  Parameters:
    colorKey: Color name, for example "black", "red", or "greenDark"
    colorModifier: Color modifier, for example "lightX", "light", or "dark"
  Returns: The calculated color.
colors

Pine library

In true TradingView spirit, the author has published this Pine code as an open-source library so that other Pine programmers from our community can reuse it. Cheers to the author! You may use this library privately or in other open-source publications, but reuse of this code in a publication is governed by House rules.


Also on:

Disclaimer