CCI叠加KDJ,(副图,贴图,源码,说明)
2016-7-6 20:43:02点击:
就是把CCI压缩,然后叠加在KDJ上。
CCI和KDJ的形态没变。
彩带是KDJ(红色KDJ金叉,蓝色死叉),黄线是CCI,绿线是CCI均线;
左上角的KDJ数据和CCI数据都是真实的;
而黄线CCI和绿线CCI均线是虚的(压缩了的),但形态没变
三条白色线,分别是CCI的0轴,100轴,-100轴;
用法:
CCI(黄线)〉均线(绿线),并且KDJ金叉(红色),做多
(指标只作为参考)
与系统KDJ对比
{} DRAWGBK(C>0, RGB(1,1,1),RGB(1,1,1),0,'0',0); STICKLINE(C>0,80,100,28,0)COLOR242424; STICKLINE(C>0,20,0,28,0)COLOR242424; STICKLINE(C>0,50,50,28,-1)COLORWHITE; STICKLINE(C>0,100/3+50,100/3+50,28,-1)COLORWHITE; STICKLINE(C>0,-100/3+50,-100/3+50,28,-1)COLORWHITE; DRAWTEXT(ISLASTBAR,50,' ██'),COLORBLACK; DRAWTEXT(ISLASTBAR,50,' 0'),COLORWHITE; DRAWTEXT(ISLASTBAR,100/3+50,' ███'),COLORBLACK; DRAWTEXT(ISLASTBAR,100/3+50,' 100'),COLORWHITE; DRAWTEXT(ISLASTBAR,-100/3+50,' ████'),COLORBLACK; DRAWTEXT(ISLASTBAR,-100/3+50,' -100'),COLORWHITE; {} N1:=9;M1:=3;M2:=3; RSV:=(CLOSE-LLV(LOW,N1))/(HHV(HIGH,N1)-LLV(LOW,N1))*100; K:SMA(RSV,M1,1)COLORCYAN,NODRAW; D:SMA(K,M2,1)COLOR0080FF,NODRAW; J:3*K-2*D,COLORRED,NODRAW; DRAWBAND(J,RGB(200,50,50),D,RGB(0,50,150)); {} N:=14; TYP:=(HIGH+LOW+CLOSE)/3; 真实CCI:(TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N)),COLORYELLOW,NODRAW; 真实CCI均线:EXPMA(真实CCI,5),COLORGREEN,NODRAW; NOTEXT压缩:真实CCI/3+50,COLORYELLOW; NOTEXT趋势:真实CCI均线/3+50,COLORGREEN; {} DRAWTEXT_FIX(C>0,0.5,0,0,'红蓝彩条是KDJ,黄线CCI,绿色CCI均线'),COLORWHITE;
- 上一篇:三线主图(源码 选股 贴图 通达信 ) 2016/7/6
- 下一篇:刚入市时2000元买来的【江恩角度线】主图 源码 贴图 通达 2016/7/6