非 常 好 用 , 多 周 期 k d j 同 图 !
stickline(c>0,-20,5,4,0),colorblack;f1:=zig(3,15);f2:=if((f1> ref(f1,1)),100,80); rsv:=(close-llv(low,9))/(hhv(high,9)-llv(low,9))*100; k:sma(rsv,3,1); d:sma(k,3,1); j:3*k-2*d,colorred; ma势:=sma(max(c-ref(c,1),0),8,1)/sma(abs(c-ref(c,1)),8,1)*100; 势:=ema(ma势,5),colorlired; 趋势:=3*sma((c-llv(l,27))/(hhv(h,27)-llv(l,27))*100,5,1)-2* sma(sma((c-llv(l,27))/(hhv(h,27)-llv(l,27))*100,5,1),3,1); zz:=趋势>ref(趋势,1);k1:=dvol/1000000;k2:=dclose;v1:=ema(k1,5);v2:=ema(k2,5); 价异动:=k2>ref(v2,1)*1.06; 量异动:=k1>ref(v1,1)*1.6&&zz; 停牌:=dynainfo(17)>0; m1:=sum(价异动,2)>0 and 停牌; m2:=sum(量异动,2)>0 and ref(趋势,1)<89; 鸣:(f2=100 and c>ref(c,1) and filter(m1 and m2,3))*120,colorred,linethick3; dif:=ema(close,12)-ema(close,26); dea:=ema(dif,9); macd:=(dif-dea)*2; 低2:=if(currbarscount<=60, const(if(islastbar=1,llv(l, barslast(currbarscount=60)),1)),drawnull); tx:=barslast(c>ref(c,1)*1.095 and c=h); t2l:=barslast(c<ref(c,1)*1.095 and c>ref(c,1)*1.08); t3l:=barslast(c<ref(c,1)*1.08 and c>ref(c,1)*1.07); t4l:=barslast(c<ref(c,1)*1.07 and c>ref(c,1)*1.06); t5l:=barslast(c<ref(c,1)*1.06 and c>ref(c,1)*1.05); tj1x:=count(tx=0,100)=0; tj2:=count(t2l=0,100)=0; tj3:=count(t3l=0,100)=0; tj4:=count(t4l=0,100)=0; tj5:=count(t5l=0,100)=0; tja:=c>ref(c,1)*1.05; aa:=ref(tx,1)>100 and ref(t2l,1)>100 and ref(t3l,1)>100 and ref(t4l,1)>100 and ref(t5l,1)>80 and tja; hhm:=hhv(macd.macd*100,200); llm:=llv(macd.macd*100,200); m5:=ma(c,5);m10:=ma(c,10);m20:=ma(c,20);m60:=ma(c,60); d3:=min(min(m5,m10),m20)>m60; xgt:=barslast(aa and hhm<60 and llm>-55); d6:=barssincen(min(min(m5,m10),m20)>m60,xgt+1); xgx:=cross((xgt=0 and d3) or d6=0,0.5); tjx:=count(xgx,30)=2 and xgx; sr11:=ref(high,10)=hhv(high,2*10+1); sr21:=filter(sr11,10); sr31:=backset(sr21,10+1); hdh:=filter(sr31,10); 前高g:=ref(h,barslast(hdh)); 倍量g:=vol/ref(vol,1)>=1.9; 突破前高g:=cross(c,前高g); yg:= 倍量g and 突破前高g; sjg:=barslast(yg); h300:=hhvbars(dif,300); al:=boll.ub; tq:=barslast(cross(al>=ref(al,1),0.5)); e25:=expma(c,25); zf:=every(range(c/ref(c,1),0.97,1.05),tq+1); zff:=(hhv(h,tq+1)-llv(l,tq+1))/llv(l,tq+1)*100; tjq:=every(max(c,o)/al<1.02 ,tq+1); xl:=(atan((e25/ref(e25,tq)-1)*100)*180/3.1415926); tj1q:=cross(dif>=ref(dif,h300),0.5) and zff<17 and zf and tjq; 起程:=tj1q and xl>75; a1f:=ref(c,1); a3f:=(dclose-a1f)/a1f*100; aa1f:=(a3f-ref(a3f,1)); 选股1:=cross(aa1f,9.8); a11f:=ref(v,1); a13f:=dvol/a11f; aa3f:=(a13f-ref(a13f,1)); 选股2:=cross(aa3f,500); 潜伏:=选股1 and 选股2; 爆发点:=(dclose-ref(c,1))/ref(c,1)*100; xb:=cross(爆发点,20); tj1l:=ref(cross(ma(c,5),c),1) and cross(c,ma(c,5)); tj2l:=ref(cross(ma(c,10),c),1) and cross(c,ma(c,10)); tj3l:=ref(cross(ma(c,20),c),1) and cross(c,ma(c,20)); tj4l:=tj1l or tj2l or tj3l; tj5l:=ref(c,2)/ref(c,1)>=1.045 and ref(c,1)<ref(o,1) and c/ref(c,1)>1.09 and c=h and tj4l; a:=(3*c+l+o+h)/6; x:=(20*a+19*ref(a,1)+18*ref(a,2)+17*ref(a,3)+16*ref(a,4)+15*ref(a,5)+ 14*ref(a,6)+13*ref(a,7)+12*ref(a,8)+11*ref(a,9)+10*ref(a,10)+9*ref(a,11)+8*ref(a,12) +7*ref(a,13)+6*ref(a,14)+5*ref(a,15)+4*ref(a,16)+3*ref(a,17)+2*ref(a,18)+ ref(a,20))/210; 中线:=ema(x,13); kka:=ema(c,5); kkb:=ema(kka,8); kkc:=ema(kkb,13); 长线1:=ema(kkc,50); kaaa3:=ref(c,1)<ref(中线,1) and c>中线; kbbb3:=c/ref(c,1)>1+0.01*9; kccc3:=中线/长线1<1+0.01*20; 大牛:=kaaa3 and kbbb3 and kccc3 and tj5l; varaa:=llv(low,5); varba:=hhv(high,5); 确:=ema((close-varaa)/(varba-varaa)*100,4); ma500:=ma(close,500); ma250:=ma(close,250); ma120:=ma(close,120); ma30:=ma(close,33); ma60:=ma(close,55); 涨停收盘:=(c-ref(c,1))*100/ref(c,1)>=4 and h-c<0.02; hd30:=filter(backset(filter(ref(h,30)=hhv(h,2*30+1),30),30+1),30); ld30:=filter(backset(filter(ref(h,30)=llv(h,2*30+1),30),30+1),30); ax30:=ref(h,barslast(hd30)); t300:=barslast(hd30)<barslast(ld30) and not(hd30); 顶30:=if(t300,ax30,ax30); jz:=(cross(c,顶30) and dif>=-0.21 and dea<=0.37 and ma30>ma60 and (cross(c,ma30)or cross(c,ma120)or cross(c,ma250)or cross(c,ma500) or low< ma30)) and ma30- ma60<0.7 and 涨停收盘 and abs((顶30-ma30)/顶30*100)<10; 信:if(确>ref(确,1) and dif>dea and (jz or 大牛 or xb or 潜伏 or 起程 or currbarscount=const(sjg)+2 or tjx or (cci<=100 and l<=低2)),120,0)stick,linethick5,colorlimagenta; 卖警:=if(peakbars(3,15,1)=1,80,100),colorgreen; 泥淖:=if((f1> ref(f1,1)),100,80),colorff9900; q_1:=c-ref(c,1); q_2:=100*ema(ema(q_1,6),6)/ema(ema(abs(q_1),6),6); q_3:=cross(ema(c,19),ema(c,7)); q_4:=cross(ema(c,7),ema(c,19)); z1:=l=llv(l,barslast(q_3)+1); z2:=llv(l,barslast(q_3)+1); z3:=h=hhv(h,barslast(q_4)+1); z4:=hhv(h,barslast(q_4)+1); 上0:=drawline(z1,z2,z3,z4,0); y1:=h=hhv(h,barslast(q_4)+1); y2:=hhv(h,barslast(q_4)+1); y3:=l=llv(l,barslast(q_3)+1); y4:=llv(l,barslast(q_3)+1); 下0:=drawline(y1,y2,y3,y4,0); tj:=if(上0<ref(上0,1) and 下0=上0,1,0); 未来空柱:=if(ref(tj,1)=0 and tj>=1,100,0); avar1:=(c-llv(l,20))/(hhv(h,20)-llv(l,20))*100; avar2:=(c-llv(l,10))/(hhv(h,10)-llv(l,10))*100; avar3:=(c-llv(l,5))/(hhv(h,5)-llv(l,5))*100; avar4:=dma(sma((avar1+avar2+avar3)/3,2,1),3); k0:=sma(avar4,2,1),color0000ff,linethick2; m0:=sma(k0,2,1),colorffffff; sr1:=ref(high,10)=hhv(high,2*10+1); sr2:=filter(sr1,10); sr3:=backset(sr2,10+1); hd:=filter(sr3,10); 前高:=ref(h,barslast(hd)); 倍量:=vol/ref(vol,1)>=1.9; 突破前高:=cross(c,前高); y:= 倍量 and 突破前高; sj:=barslast(y); drawtext(currbarscount=const(sj)+2,45,'过左峰'),coloryellow; b:=zig(3,10); g:=ma(b,2); w:=cross(g,b); drawtext(w=1,70,'卖' ),color00ff00; vara1:=(((close - ma(close,6)) / ma(close,6)) * 100); vara2:=(((close - ma(close,12)) / ma(close,12)) * 100); vara3:=(((close - ma(close,24)) / ma(close,24)) * 100); vara4:=(((vara1 + (2 * vara2)) + (3 * vara3)) / 6); vara5:=ma(vara4,3); 底部反转:=cross(kdj.j,0) and (vara5 <= (0 - 7)); drawtext(f2=100 and 底部反转,50,'反转预警'),colorred; 值:=(ema(((close-llv(low,14))/(hhv(high,35)-llv(low,56)))*(4),4))*(25),colorgreen,linethick2; drawtext(filter(cross(值,5),10), 40,'超低'),coloryellow; difx:=(2*ema(close, 12)-ema(ema(close,12),12))-(2*ema(close, 26)-ema(ema(close, 26),26)); deax:=2*ema(difx, 9) - ema(ema(difx, 9),9); ff:=c=llv(c,180);{www.goodgupiao.com} gg:= deax> ref(deax,1) and ref(deax> ref(deax,1),1)=1; ll:=c< ref(c,1) and ref(c< ref(c,1),1)=1; 拐点出击:=(not(未来空柱=100) and f2=100 and ll and gg)*deax; var1:=(close-llv(low,34))/(hhv(high,34)-llv(low,34))*100; var2:=sma(var1,3,1); var3:=sma(var2,3,1); var4:=sma(var3,3,1); 山底:=if(close>sar(4,6,20),sar(4,6,20),drawnull),circledot,colorgreen; 山顶:=if(close<sar(4,6,20),sar(4,6,20),drawnull),circledot,colorred; diff:=ema(close,12) - ema(close,26),colorwhite; diff变红:=if(diff>=ref(diff,1),diff,drawnull),colorlired; {dea:=ema(diff,9),colorwhite;} dea变红:=if(dea>=ref(dea,1),dea,drawnull),colorlimagenta; {macd:=2*(diff-dea),colorstick;} notext上买下卖:=close-ref(close,49),colorwhite; notext红买绿卖:=ma(notext上买下卖,49),colorgreen; 上买下卖:=if(notext上买下卖>notext红买绿卖,notext上买下卖,drawnull),linethick2,colormagenta; 红买绿卖:=if(notext红买绿卖>=ref(notext红买绿卖,1) and notext上买下卖>notext红买绿卖,notext红买绿卖,drawnull),linethick3,colorred; 红买:=上买下卖 and 红买绿卖 and dea变红,colorred,nodraw; 绿卖:=红买!=1,colorgreen,nodraw; 底:=sma(var2,3,1),colorgreen; 顶:=sma(底,3,1),colorred; 方向:=abs((2*close+high+low)/4-ma(close,30))/ma(close,30); 方向向下:=(dma((2*close+low+high)/4,方向)),colorgreen; 红灯停:=if(close<sar(4,6,20),sar(4,6,20),drawnull),circledot,colorred; 向下:=方向向下 and 红灯停,colorgreen,nodraw; 空仓基因:=绿卖 and 向下,colorgreen,nodraw; b2:=barslast(ref(cross(顶,底),1)); 顶背离:=空仓基因 and ref(c,b2+1)<hhv(h,3) and ref(底,b2+1)>底 and cross(顶,底) and 底>80 and ma(c,5)>ma(c,377) and 山顶; drawtext(顶背离=1,85,'顶背'),colorffff00; drawtext(filter(拐点出击,30), 30,'拐点→'),colorwhite; 多空:118,color0b0bff,linethick5; 红: if(k0>m0,118,drawnull),colorff00ff,linethick5; 青: if(k0<m0,118,drawnull),color00ff00,linethick5; stickline(cross(90,j),88,100,1,0),color00ff00; drawtext(cross(90,j),100,'。逃'),colorffffff; stickline(cross(j,(0 - 5)),0,10,3,0); drawtext(cross(j,(0 - 5)),(0 - 4),'----低吸'),coloryellow; {抄底加仓} if(ref(count(k<ref(k,1),5)>=5,1) and count(k<30,5)>=2 and count(j<0,3)>0 and cross(j,0),100,50),color00ffff; tj00:=barslast(ref(cross(k,d) and ref(k,1)<35,1)); tj11:=c<ref(c,tj00+1)*1.1 and ref(k,1)<60 and (tj00+1)<25 and (tj00+1)>5 and k>ref(k,tj00+1) and cross(k,d); 仓:=if(tj11,35,0),colorlired; a22:=barslast(ref(cross("kdj.k"(9,3,3),"kdj.d"(9,3,3)),1)); drawicon(cross(k,d),k,1); drawicon(cross(d,k),d,2); var0002:="kdj.k#day"(9,3,3); var0003:="kdj.d#day"(9,3,3); var0004:="kdj.k#week"(9,3,3); var0005:="kdj.d#week"(9,3,3); var0006:="kdj.k#month"(9,3,3); var0007:="kdj.d#month"(9,3,3); 日:if(cross(var0002,var0003),15,0)linestick,colorgreen; 周:if(cross(var0004,var0005),60,0)linestick,colormagenta; 月:if(cross(var0006,var0007),90,0),linethick2,coloryellow; drawtext(周,18,'周'),coloryellow; drawtext(月,20,'月'),coloryellow; 周日:if(cross(var0004,var0005) and cross(var0002,var0003),70,0)linethick2,colorblue;
上一指标公式:缠论线段指标新旧笔自定义详解 通达信自定义新旧
下一指标公式:大单至尊可调资金战法28-可调单项详解 通达信战法至尊
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文自用新编整合版KDJ幅图详解 通达信新编源码仅供学习研究。