gliderfund

Colors

gliderfund Aktualisiert   
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.
Versionshinweise:
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
Versionshinweise:
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
Versionshinweise:
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.
Versionshinweise:
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.
Pine Bibliothek

In echter TradingView-Manier hat der Autor diesen Pine-Code als Open-Source-Bibliothek veröffentlicht, so dass andere Pine-Programmierer aus unserer Community ihn weiterverwenden können. Ein Hoch auf den Autor! Sie können diese Bibliothek privat oder in anderen Open-Source-Publikationen verwenden, aber die Wiederverwendung dieses Codes in einer Publikation unterliegt den Hausregeln.

Haftungsausschluss

Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.

Möchten Sie diese Bibliothek nutzen?

Kopieren Sie die folgende Zeile und fügen Sie sie in Ihr Skript ein.