Pip-Whisperer

Color Library: Rainbow Index & Simplest Return Color

Pip-Whisperer ที่อัปเดต:   
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
ไลบรารีไพน์

จิตวิญญาณที่แท้จริงของ TradingView ผู้เขียนได้ตีพิมพ์รหัส Pine นี้เป็นไลบรารีโอเพนซอร์ซเพื่อให้โปรแกรมเมอร์คนอื่น ๆ จากชุมชนของเราสามารถนำไปใช้ซ้ำได้ ไชโยให้กับผู้เขียน! คุณสามารถใช้ไลบรารีนี้เป็นการส่วนตัวหรือในสิ่งพิมพ์โอเพนซอร์สอื่น ๆ แต่นำรหัสนี้มาใช้ซ้ำในสิ่งพิมพ์จะถูกควบคุมโดย กฎระเบียบการใช้งาน

คำจำกัดสิทธิ์ความรับผิดชอบ

ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ เงื่อนไขการใช้บริการ

ต้องการใช้ไลบรารีนี้หรือไม่?

คัดลอกข้อความไปยังคลิปบอร์ดแล้ววางลงในสคริปต์ของคุณ