通达信色彩绚丽的五彩K线图源码

博彩高手思路编了个五彩K线主图与大家共享,是个好东东。所谓天下文章一大抄,就看你会抄不会抄!嘿嘿~~



五:MA(CLOSE,5); 十:MA(CLOSE,10); 二十:MA(CLOSE,20); 六十:MA(CLOSE,60LINETHICK2;
X5:MA(CLOSE,120),COLORLIBLUE,LINETHICK1; X6:MA(C,240),COLORLIRED,LINETHICK2;
W1:=FILTER(O<REF(L,1) && C>O && VOL>REF(V,1),13);
JH:=SMA(MAX(C-REF(C,1),0),6,1)/SMA(ABS(C-REF(C,1)),6,1)*100;
SZ:=FILTER(CROSS(JH,35),13);
SX:=FILTER(CROSS(JH,30),7);
SQ:=FILTER(CROSS(71,JH),74);
SD:=FILTER(CROSS(80,JH),74);
BB:=IF(CAPITAL<1,SQ,SD);
AA:=IF(CAPITAL<1,SZ,SX);
CC:=REF(HHV(CLOSE,120),1);
DD:=REF(LLV(CLOSE,120),1);
WW:=((100*(CLOSE-DD))/(CC-DD));
FF:=(EMA(AMOUNT,5)/REF(EMA(AMOUNT,5),5));
BZ:=FILTER(((FF>=2 && WW<35 && BARSCOUNT(C)>30) OR (FF>=2 && WW<100 && BARSCOUNT(C)<50)),30);
STICKLINE(C>O OR C>REF(C,1),H,L,0,0),COLOR0022FF;{上升橘红}
STICKLINE(C>O OR C>REF(C,1),C,O,3.2,0),COLOR002288;
STICKLINE(C>O OR C>REF(C,1),C,O,2.6,0),COLOR0033AA;
STICKLINE(C>O OR C>REF(C,1),C,O,1.9,0),COLOR0044CC;
STICKLINE(C>O OR C>REF(C,1),C,O,1.1,0),COLOR0055EE;
STICKLINE(C>O OR C>REF(C,1),C,O,0.3,0),COLOR0088FF;
STICKLINE(C<O OR C<REF(C,1),H,L,0,1),COLORFF8800;{下跌蓝色}
STICKLINE(C<O OR C<REF(C,1),C,O,3.2,0),COLORFF2200;
STICKLINE(C<O OR C<REF(C,1),C,O,2.6,0),COLORFF4400;
STICKLINE(C<O OR C<REF(C,1),C,O,1.9,0),COLORFF6600;
STICKLINE(C<O OR C<REF(C,1),C,O,1.1,0),COLORFF8800;
STICKLINE(C<O OR C<REF(C,1),C,O,0.3,0),COLORFFAA00;
STICKLINE(C=REF(C,1),H,L,0,1),COLORFFFFFF;{平盘灰白}
STICKLINE(C=REF(C,1),C,O,3.2,0),COLOR555555;
STICKLINE(C=REF(C,1),C,O,2.6,0),COLOR777777;
STICKLINE(C=REF(C,1),C,O,1.9,0),COLOR999999;
STICKLINE(C=REF(C,1),C,O,1.1,0),COLORCCCCCC;
{STICKLINE(C=REF(C,1),C,O,0.3,0),COLORDDDDDD;}
STICKLINE(W1,H,L,0,1),COLORFF55FF;{反弹、反转、中继、见底中途洗盘粉色}
STICKLINE(W1,C,O,3.2,0),COLOR880088;
STICKLINE(W1,C,O,2.6,0),COLORAA00AA;
STICKLINE(W1,C,O,1.9,0),COLORCC00CC;
STICKLINE(W1,C,O,1.1,0),COLOREE00EE;
STICKLINE(W1,C,O,0.3,0),COLORFF44FF;
STICKLINE(AA,H,L,0,1),COLORYELLOW;{见底、反弹、底部反转黄色}
STICKLINE(AA,C,O,3.2,0),COLOR117777;
STICKLINE(AA,C,O,2.6,0),COLOR119999;
STICKLINE(AA,C,O,1.9,0),COLOR11BBBB;
STICKLINE(AA,C,O,1.1,0),COLOR11DDDD;
STICKLINE(AA,C,O,0.3,0),COLOR44FFFF;
STICKLINE(BB,H,L,0,1),COLORGREEN;{头部反转绿色}
STICKLINE(BB,C,O,3.2,0),COLOR006600;
STICKLINE(BB,C,O,2.6,0),COLOR008800;
STICKLINE(BB,C,O,1.9,0),COLOR00AA00;
STICKLINE(BB,C,O,1.1,0),COLOR00CC00;
STICKLINE(BB,C,O,0.3,0),COLOR00FF00;
STICKLINE(BZ,H,L,0,1),COLOR0000FF;{中继、反弹红色}
STICKLINE(BZ,C,O,3.2,0),COLOR000066;
STICKLINE(BZ,C,O,2.6,0),COLOR000088;
STICKLINE(BZ,C,O,1.9,0),COLOR0000AA;
STICKLINE(BZ,C,O,1.1,0),COLOR0000CC;
STICKLINE(BZ,C,O,0.3,0),COLOR2200FF;




未来函数检测结果如下:
该公式包含未来函数:CAPITAL
解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图