TradingView
Pip-Whisperer
11 Th08 2022 19:36

Color Library: Rainbow Index & Simplest Return Color 

GBP/JPYOANDA

Mô tả

Library "Color Library!"
To help with large projects that need colors!
If you guys make the library bigger, share it so we can all have tons of colors!

2 Functions
Uppercase and Lowercase, because why not?
import library as color
1.) color.this("Brown") // or color.this("brown") both work
2.) color.rainbow(1) //Returns first index of Rainbow

this(x)
  TODO: color.this(Brown)
  Parameters:
    x: TODO: String Color Name
  Returns: TODO: Color

rainbow(x)
  TODO: Return Rainbow Index
  Parameters:
    x: TODO: Number is index of Rainbow :)
  Returns: TODO: Color

Phát hành các Ghi chú

v2
Constant Vs Series mismatch
Updated:
this(x)
  TODO: color.this(Brown)
  Parameters:
    x: TODO: String Color Name
  Returns: TODO: Color

rainbow(x)
  TODO: Return Rainbow Index
  Parameters:
    x: TODO: Number is index of Rainbow :)
  Returns: TODO: Color
Bình luận
kaigouthro
Look through my scripts, i have a few very useful color tools for the design minded scripter.
Pip-Whisperer
Cannot use these as defaults without copying and pasting unfortunately
Thêm nữa