OPEN-SOURCE SCRIPT

Random Color Generator

ที่อัปเดต:
This script is developed on the basis of Function-HSL-color by RicardoSantos

Aim of this script is to generate random colors. But, if we just do it based on random RGB values, the colors derived may not be suitable for the background. If you are using light background, lighter colors won't be visible and if you are using darker theme, darker colors will not be appropriate. To overcome this issue, function provided by Racardo converts color(H,S,L) to color(R,G,B). Based on the background present, we define min and max L (Light) range to avoid colors which are either too dark or too light.

Input also allows you to set your custom H,S,L range when Background is set as "Custom"
เอกสารเผยแพร่
Added optional transparency
เอกสารเผยแพร่
Updates from Ricardo's script copied :)
เอกสารเผยแพร่
Convert to v5
colorgeneratorTrend Analysis

สคริปต์โอเพนซอร์ซ

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

ต้องการที่จะใช้สคริปต์นี้บนชาร์ตใช่ไหม?

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