指标公式编写常用颜色代码
指标公式编写常用颜色代码
1 白色 ColorFFFFFF 或 ColorWhite 2 红色 ColorFF0000 或 COLORRED 3 绿色 Color00FF00 或 ColorGreen 4 蓝色 Color0000FF 或 ColorBlue 5 牡丹红 ColorFF00FF 6 青色 ColorFFFF00 7 黄色 Color00FFFF 或 ColorYellow 8 黑色 Color000000 或 ColorBlack 9 海蓝 Color70DB93 10 巧克力色 Color5C3317 11 蓝紫色 Color9F5F9F 12 黄铜色 ColorB5A642 13 亮金色 ColorD9D919 14 棕色 ColorA67D3D 15 青铜色 Color8C7853 16 2号青铜色 ColorA67D3D 17 士官服蓝色 Color5F9F9F 18 冷铜色 ColorD98719 19 铜色 ColorB87333 20 珊瑚红 ColorFF7F00 21 紫蓝色 Color42426F 22 深棕 Color5C4033 23 深绿 Color2F4F2F 24 深铜绿色 Color4A766E 25 深橄榄绿 Color4F4F2F 26 深兰花色 Color9932CD 27 深紫色 Color871F78 28 深石板蓝 Color6B238E 29 深铅灰色 Color2F4F4F 30 深棕褐色 Color97694F 32 深绿松石色 Color7093DB 33 暗木色 Color855E42 34 淡灰色 Color545454 35 土灰玫瑰红色 Color545454 36 长石色 ColorD19275 37 火砖色 Color8E2323 38 森林绿 Color238E23 39 金色 ColorCD7F32 40 鲜黄色 ColorDBDB70 41 灰色 ColorC0C0C0 42 铜绿色 Color527F76 43 青黄色 Color93DB70 44 猎人绿 Color215E21 45 印度红 Color4E2F2F 46 土黄色 Color9F9F5F 47 浅蓝色 ColorC0D9D9 48 浅灰色 ColorA8A8A8 49 浅钢蓝色 Color8F8FBD 59 浅木色 ColorE9C2A6 60 石灰绿色 Color32CD32 61 桔黄色 ColorE47833 62 褐红色 Color8E236B 63 中海蓝色 Color32CD99 64 中蓝色 Color3232CD 65 中森林绿 Color6B8E23 66 中鲜黄色 ColorEAEAAE 67 中兰花色 Color9370DB 68 中海绿色 Color426F42 69 中石板蓝色 Color7F00FF 70 中春绿色 Color7FFF00 71 中绿松石色 Color70DBDB 72 中紫红色 ColorDB7093 73 中木色 ColorA68064 74 深藏青色 Color2F2F4F 75 海军蓝 Color23238E 76 霓虹篮 Color4D4DFF 77 霓虹粉红 ColorFF6EC7 78 新深藏青色 Color00009C 79 新棕褐色 ColorEBC79E 80 暗金黄色 ColorCFB53B 81 橙色 ColorFF7F00 82 橙红色 ColorFF2400 83 淡紫色 ColorDB70DB 84 浅绿色 Color8FBC8F 85 粉红色 ColorBC8F8F 86 李子色 ColorEAADEA 87 石英色 ColorD9D9F3 88 艳蓝色 Color5959AB 89 鲑鱼色 Color6F4242 90 猩红色 ColorBC1717 91 海绿色 Color238E68 92 半甜巧克力色 Color6B4226 93 赭色 Color8E6B23 94 银色 ColorE6E8FA 95 天蓝 Color3299CC 96 石板蓝 Color007FFF 97 艳粉红色 ColorFF1CAE 98 春绿色 Color00FF7F 99 钢蓝色 Color236B8E 100 亮天蓝色 Color38B0DE 101 棕褐色 ColorDB9370 102 紫红色 ColorD8BFD8 103 石板蓝色 ColorADEAEA 104 浓深棕色 Color5C4033 105 淡浅灰色 ColorCDCDCD 106 紫罗兰色 Color4F2F4F 107 紫罗兰红色 ColorCC3299 108 麦黄色 ColorD8D8BF 109 黄绿色 Color99CC32 飞狐背景收集 DRAWGBK(CLOSE>0, COLORRGB(1,8888,8888), COLORRGB(1,3333,6666),3); DRAWGBK((DATE > 0),COLORRGB(40,40,173),COLORRGB(1,1,14),1); DRAWGBK((CLOSE > 0),COLORRGB(0,130,100),COLORRGB(0,0,30),1); DRAWGBK(V>1,COLORRGB(200,255,255),COLORRGB(160,255,100) ,1); DRAWGBK(V<0,COLORRGB(0,20,40) ,COLORRGB(0,110,150),1); DRAWGBK(CLOSE,COLORRGB(25,15,0),COLORRGB(60,200,0),1); DRAWGBK (C, COLORRGB(250,250,250), COLORRGB(000,100,120),1); DRAWGBK((CLOSE > 0),COLORRGB(105,20,55),COLORRGB(18,0,0),1); DRAWGBK(DATE>900101,COLORRGB(0,150,130),COLORRGB(0,0,0),1); DRAWGBK(CLOSE,COLORRGB(10,160,0),COLORRGB(25,15,0),1); DRAWGBK(c, colorRGB(00,255,255),colorRGB(00,00,28),2); {立体k线1} AaaC:=C; AaaH:=H; AaaL:=L; AaaO:=O; STICKLINE(AaaC>=AaaO,AaaH,AaaC,1,0),color0000cc; STICKLINE(AaaC>=AaaO,AaaH,AaaC,0,0),color6633ff; STICKLINE(AaaC>=AaaO,AaaO,AaaL,1,0),color0000cc; STICKLINE(AaaC>=AaaO,AaaO,AaaL,0,0),color6633ff; STICKLINE(AaaC>AaaO,AaaC,AaaO,8,0),COLOR0000cc; STICKLINE(AaaC>AaaO,AaaC,AaaO,7,0),COLOR3300cc; STICKLINE(AaaC>AaaO,AaaC,AaaO,6,0),COLOR0033cc; STICKLINE(AaaC>AaaO,AaaC,AaaO,5,0),COLOR3333cc; STICKLINE(AaaC>AaaO,AaaC,AaaO,4,0),COLOR0000ff; STICKLINE(AaaC>AaaO,AaaC,AaaO,3,0),COLOR3300ff; STICKLINE(AaaC>AaaO,AaaC,AaaO,2,0),COLOR6600ff; STICKLINE(AaaC>AaaO,AaaC,AaaO,1,0),COLOR6633ff; STICKLINE(AaaC<=AaaO,AaaH,AaaC,1,0),color888800; STICKLINE(AaaC<=AaaO,AaaH,AaaC,0,0),colorffff00; STICKLINE(AaaC<=AaaO,AaaO,AaaL,1,0),color888800; STICKLINE(AaaC<=AaaO,AaaO,AaaL,0,0),colorffff00; STICKLINE(AaaC<=AaaO,AaaC,AaaO,8,0),COLOR888800; STICKLINE(AaaC<=AaaO,AaaC,AaaO,7,0),COLOR999900; STICKLINE(AaaC<=AaaO,AaaC,AaaO,6,0),COLORaaaa00; STICKLINE(AaaC<=aaAO,AaaC,AaaO,5,0),COLORbbbb00; STICKLINE(AaaC<=AaaO,AaaC,AaaO,4,0),COLORcccc00; STICKLINE(AaaC<=AaaO,AaaC,AaaO,3,0),COLORdddd00; STICKLINE(AaaC<=AaaO,AaaC,AaaO,2,0),COLOReeee00; STICKLINE(AaaC<=AaaO,AaaC,AaaO,1,0),COLORffff00; {立体K线2} STICKLINE(CLOSE>OPEN,H,LOW,0.3,0 ),COLOR9933FF; STICKLINE(OPEN>=CLOSE,L,HIGH,0.3,0 ),COLOR66CC33; STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,8,0),COLOR009900; STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,2,0),COLOR00CC00; STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,1.5,0),COLOR33FF00; STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,1,0),COLOR66FF00; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,8,0),COLOR000099; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2,0 ),COLOR0000CC; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1.5,0 ),COLOR0000FF; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1,0 ),COLOR0033FF; {立体K线3} STICKLINE(c>o,h,l,1,1),COLOR0000FF; STICKLINE(c>o,c,o,8,1),COLOR000088; STICKLINE(c>o,c,o,7,1),COLOR000077; STICKLINE(c>o,c,o,6,1),COLOR000066; STICKLINE(c>o,c,o,5,1),COLOR0000bb; STICKLINE(c>o,c,o,4,1),COLOR0000cc; STICKLINE(c>o,c,o,3,1),COLOR0000dd; STICKLINE(c>o,c,o,2,1),COLOR0000ee; STICKLINE(c>o,c,o,1,1),COLOR0000FF; STICKLINE(o>c,h,l,1,1),color00FF00; STICKLINE(o>c,o,c,8,1),color009900; STICKLINE(o>c,o,c,7,1),COLOR008800; STICKLINE(o>c,o,c,6,1),COLOR007700; STICKLINE(o>c,o,c,5,1),COLOR00bb00; STICKLINE(o>c,o,c,4,1),COLOR00cc00; STICKLINE(o>c,o,c,3,1),COLOR00dd00; STICKLINE(o>c,o,c,2,1),COLOR00ee00; STICKLINE(o>c,o,c,1,1),COLOR00FF00; |
|