PINE LIBRARY

PScolor

Library "PScolor"
TODO: add library description here

////variable/////////////////////////////
//COLOR brightness
Each color has 0–9 / A1–A4
(5th standard: Bright if small, dark if big)
(Fluorescence based on A2)

//Color Name
1 = RED
2 = DEEP_ORANGE
3 = ORANGE
4 = AMBER
5 = YELLOW
6 = LIME
7 = LIGHT_GREEN
8 = GREEN
9 = TEAL
10= CYAN
11= LIGHT_BLUE
12= BLUE
13= INDIGO
14= DEEP_PURPLE
15= PURPLE
16= PINK

0= GRAY

// Transparency
///////////////////////////////////////

lvcol(colormode, Number, trans)
  Parameters:
    colormode (int)
    Number (simple int)
    trans (float)

lvcolA(colormode, Number, trans)
  Parameters:
    colormode (int)
    Number (simple int)
    trans (float)

lvcol2(colormode, colorName, trans)
  Parameters:
    colormode (int)
    colorName (simple string)
    trans (float)

lvcol2A(colormode, colorName, trans)
  Parameters:
    colormode (int)
    colorName (simple string)
    trans (float)
colors

Pine脚本库

本着真正的TradingView精神,作者将此Pine代码发布为开源脚本库,以便我们社区的其他Pine程序员可以重复使用它。向作者致敬!您可以私下或在其它开源出版物中使用此脚本库,但在出版物中重复使用此代码受网站规则约束。

免责声明