TradingView
Pip-Whisperer
2022年8月11日午後7時36分

Color Library: Rainbow Index & Simplest Return Color 

GBP/JPYOANDA

詳細

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

リリースノート

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
コメント
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
詳細