gliderfund

Colors

gliderfund Atualizado   
Library "Colors"
This Library delivers Hex Codes of Colors frequently used in indicators and strategies.

v3(colorName) Collection: Pinescript v3 Colors.
  Parameters:
    colorName: Color Name.
  Returns: Hex code of the inquired color.

v4(colorName) Collection: Pinescript v4 Colors.
  Parameters:
    colorName: Color Name.
  Returns: Hex code of the inquired color.
Notas de Lançamento:
v2

Added:
checkLuminance(srcColor, threshold)
  To interpret the level of darkness of the provided color, and tag it as dark or light.
  Parameters:
    srcColor (color): Color to check. Usually a background color. By default 'chart.bg_color'.
    threshold (simple int)
  Returns: Boolean isDark

Updated:
v3(colorName)
  Collection: Pinescript v3 Colors
  Parameters:
    colorName (simple string): Color Name
  Returns: Hex code of the inquired color

v4(colorName)
  Collection: Pinescript v4 Colors
  Parameters:
    colorName (simple string): Color Name
  Returns: Hex code of the inquired color
Notas de Lançamento:
v3

Updated:
checkLuminance(srcColor, threshold)
  To interpret the level of darkness of the provided color, and tag it as dark or light.
  Parameters:
    srcColor (simple color): Color to check. Usually a background color. By default 'chart.bg_color'.
    threshold (simple int)
  Returns: Boolean isDark
Notas de Lançamento:
v4

Added:
checkLuminanceSimple(srcColor, threshold)
  To interpret the level of darkness of the provided color, and tag it as dark or light.
  Parameters:
    srcColor (simple color): Color to check. Usually a background color. By default 'chart.bg_color'.
    threshold (simple int)
  Returns: Boolean isDark

checkLuminanceSeries(srcColor, threshold)
  To interpret the level of darkness of the provided color, and tag it as dark or light.
  Parameters:
    srcColor (color): Color to check. Usually a background color. By default 'chart.bg_color'.
    threshold (simple int)
  Returns: Boolean isDark

Removed:
checkLuminance(srcColor, threshold)
  To interpret the level of darkness of the provided color, and tag it as dark or light.
Notas de Lançamento:
v5

Added:
checkLuminance(srcColor, threshold)
  To interpret the level of darkness of the provided color, and tag it as dark or light.
  Parameters:
    srcColor (color): Color to check. Usually a background color. By default 'chart.bg_color'.
    threshold (simple int)
  Returns: Boolean isDark

Removed:
checkLuminanceSimple(srcColor, threshold)
  To interpret the level of darkness of the provided color, and tag it as dark or light.

checkLuminanceSeries(srcColor, threshold)
  To interpret the level of darkness of the provided color, and tag it as dark or light.

I develop indicators meant to be useful, profitable and good looking.

Please send me a Private Message if you intend to subscribe to an Invite-Only indicator or to hire me to develop some custom work.
Biblioteca do Pine

No verdadeiro espírito TradingView, o autor publicou este código de Pine como uma biblioteca de código aberto para que outros programadores de Pine de nossa comunidade possam reutilizá-lo. Um brinde ao autor! Você pode usar esta biblioteca em particular ou em outras publicações de código aberto, mas a reutilização deste código em uma publicação é regida pelas Regras da Casa.

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.

Gostaria de usar essa biblioteca?

Copie a seguinte linha e cole-a em seu script.