PINE LIBRARY

Color Library // AlgoFyre

업데이트됨
AlgoFyre's Color Library is a Pine Script v5 library offering fire-themed palettes with light and dark modes. It helps traders easily integrate consistent, visually appealing color schemes into TradingView indicators. Used in AlgoFyre's Scripts and Indicators.

Color Overview
The AlgoFyreColorLibrary includes a comprehensive set of colors inspired by fire, ranging from light reds and oranges to dark browns and deep reds. The library is divided into two main themes:

Light Theme:
Includes lighter shades of red, orange, and brown, suitable for use on light backgrounds.

Dark Theme:
Includes darker shades of red, orange, and brown, suitable for use on dark backgrounds.

How to Use
To use the AlgoFyreColorLibrary in your Pine Script indicators and strategies, follow these steps:

Import the Library:
Import the AlgoFyreColorLibrary at the beginning of your script.

Call the getColor Function:
Use the getColor function to retrieve the desired color with the specified transparency.

Example


The library AF-L-0001 is imported with the alias af.
The getColor function is used to get colors with specified transparency.
The colors are then used to plot lines on the chart.
릴리즈 노트

  • Changed how colors are requested and what is returned. Now returns a const color object.
릴리즈 노트

  • Added RGB versions which can be retreived with colorname_rgb
릴리즈 노트

  • Some minor fixes
릴리즈 노트

  • Testing RGB return in numbers
릴리즈 노트

  • Some minor bugfixes and testing
릴리즈 노트
  • Changed the function export to yield simple data types instead of series
릴리즈 노트
  • Added more signal colors
  • Signal colors now have a light, normal and dark variant
  • Added copy/paste enum, which can be used as an options enum for color selections in the main script. Just call the getColorByName() function with the name from the enum to get the correct color.
릴리즈 노트
  • Some minor cosmetic fixes
  • Added transparency parameter again
릴리즈 노트
  • Some minor cosmetic changes
릴리즈 노트
  • Changed export function parameters back to series type
  • Added a ENUM to String converter function
릴리즈 노트
  • Modified colors
  • Renamed variables and made them const
colors

파인 라이브러리

진정한 TradingView 정신에 따라, 저자는 이 파인 코드를 다른 파인 프로그래머들이 재사용할 수 있도록 오픈 소스 라이브러리로 공개했습니다. 저자에게 박수를 보냅니다! 이 라이브러리는 개인적으로 사용하거나 다른 오픈 소스 출판물에서 사용할 수 있지만, 이 코드를 출판물에서 재사용하는 것은 하우스 룰에 의해 관리됩니다.


🔶 New content every Wednesday!
🔶 Check out algofyre.com/linktree
🔶 Looking for custom indicators, strategies, or automation? Hire us at AlgoFyre.com
🔶 All content provided by AlgoFyre is for informational and educational purposes only.
또한 다음에서도:

면책사항