您好,欢迎访问三七文档
当前位置:首页 > 商业/管理/HR > 企业财务 > 【股票指标公式下载】-【通达信】KDJ中短线(主力、散户、量比)
【通达信】KDJ中短线(主力、散户、量比)-指标公式源码主力0:=XMA(XMA((CLOSE*2+LOW-OPEN-HIGH)/4,2),2);散户0:=EMA(主力0,11)-EMA(主力0,22);量比:=EMA(散户0,5);空方主力:(-1000)*(散户0-量比)/2+50,COLORCYAN,LINETHICK1;多方主力:1000*(散户0-量比)/2+50,COLOR0000FF,LINETHICK1;DRAWBAND(多方主力,RGB(80,80,0),空方主力,RGB(0,30,30));VAR2:=IF(MONTH12,1,1);VAR3:=(2*CLOSE+HIGH+LOW)/4;VAR4:=LLV(LOW,34);VAR5:=HHV(HIGH,34);主力:EMA((VAR3-VAR4)/(VAR5-VAR4)*100,13)*VAR2,LINETHICK1,COLORRED;散户:EMA(0.667*REF(主力,1)+0.333*主力,2),LINETHICK1,COLORFF9933;DRAWTEXT(CROSS(主力,散户)AND主力22,20,'起动'),LINETHICK1,COLOR0099FF;DRAWTEXT(CROSS(主力,30)AND散户主力,40,'上扬'),LINETHICK1,COLOR00CCFF;DRAWTEXT(CROSS(主力,65)AND散户主力,55,'冲顶'),LINETHICK1,COLOR9933FF;DRAWTEXT(CROSS(主力,75)AND散户主力,67,'小心被套'),LINETHICK1,COLOR009900;{DRAWTEXT(CROSS(散户,主力)AND散户75,80,'头部'),,COLORYELLOW;}买入脉冲:IF(CROSS(主力,散户)AND主力35,30,20),LINETHICK1,COLOR006600;卖出脉冲:IF(CROSS(散户,主力)AND散户75,70,80),LINETHICK1,COLOR006600;趋势:((3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1)-50)*1.032+50),LINETHICK1,COLORCYAN;趋势3:MA(趋势,3);短线:DRAWBAND(趋势,RGB(122,150,51),趋势3,RGB(0,0,255));中线:DRAWBAND(主力,RGB(100,255,0),散户,RGB(0,80,150));50,LINETHICK1,COLORGREEN;【通达信】KDJ中短线(主力、散户、量比)-指标公式效果图(文档来源:若水财经社区)
本文标题:【股票指标公式下载】-【通达信】KDJ中短线(主力、散户、量比)
链接地址:https://www.777doc.com/doc-6168520 .html