cci主图
n:=5;
m:=13;
v1:=abs((2*close+high+low)/4-ma(close,20))/ma(close,20);
v2:=(1-7/100)*(dma(close,v1));
v3:=(1+7/100)*(dma(close,v1));
v5:=ma((low+high+close)/3,5);
支撑:refdate(v2,date),pointdot,linethick3,colorcc66ff;
阻力:refdate(v3,date),pointdot,linethick3,colorgreen;
ma1:=mema(close,5);
ma2:=atan((ma1/ref(ma1,1)-1)*100)*180/3.1416;
ma3:=if(ma2>0,ma2,ma2);
ma5:ma(close,n),color888899;
ma13:ma(close,m),colorff9900,linethick2;
var1:=close=hhv(c,4) and (ref(c,1)>=ref(c,2) or ref(c,1)>=ref(c,3)) or ref(c,1)=hhv(c,4) and close>=ref(c,2) or ref(c,2)=hhv(c,4) and ref(c,3)=llv(c,4) and c>=ref(c,1) or ref(c,3)=hhv(c,4) and c>=ref(c,1) and c>=ref(c,2);
var2:=close=hhv(c,4) and ref(c,1)=llv(c,4);
var3:=close=llv(c,4) and (ref(c,1)<ref(c,2) or ref(c,1)<ref(c,3)) or ref(c,1)=llv(c,4) and c<ref(c,2) or ref(c,2)=llv(c,4) and ref(c,1)=hhv(c,4) and c<ref(c,1) or ref(c,3)=llv(c,4) and c<ref(c,1) and c<ref(c,2);
var4:=ref(c,1)=llv(c,4) and c>=ref(c,2) or ref(c,2)=llv(c,4) and ref(c,1)<=ref(c,3) and ref(c,2)<ref(c,4) and c>=ref(c,1);
var5:=ref(c,1)=hhv(c,4) and c<ref(c,2) or (ref(c,2)=hhv(c,4) and ref(c,1)>ref(c,3) or ref(c,3)=hhv(c,4) and ref(c,1)>ref(c,2)) and ref(c,2)>=ref(c,4) and c<ref(c,1);
var6:=v5>ref(v5,1) and ref(v5,1)<ref(v5,2);
var7:=low<hhv(v5,13) and high>hhv(v5,13) and close>ref(c,1) and close>open;
var8:=var7 and count(var6,2);
var9:=100*ema(ema(c-ref(c,1),6),6)/ema(ema(abs(c-ref(c,1)),6),6);
var10:=ema(ma(c,13),13);
var11:=filter((llv(var9,2)=llv(var9,7) and count(var9<0,2) and cross(var9,ma(var9,2)))=1,5);
var12:=filter((hhv(var9,2)=hhv(var9,7) and count(var9>50,2) and cross(ma(var9,2),var9))=1,1);
var13:=sma(ema((c-ref(c,1))/ref(c,1),5)*100,3,1)*10;
var14:=filter(((cross(var13,0) or cross(c,var10)) and var11)=1,3);
var15:=ma(c,18)>=ref(ma(c,18),3) and cross(c,ma(c,18));
var16:=var8 and not(ref(var8,1));
强攻:if(ma3>ref(ma3,1) and ma3>=0,ma13,drawnull),coloryellow,linethick2;
回调:if(ma3<ref(ma3,1) and ma3>0,ma13,drawnull),colorgreen,linethick2;
{kdj}
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;
金叉:=cross(j,d);
死叉:=cross(d,j);
买1:=(var14 or var15) and var11;
买2:=(var14 or var15) and var4;
买3:=(var14 or var15) and var2;
买4:=(var2 and var11) or (var4 and var11);
买5:=(金叉 and var4) or (金叉 and var2) or (金叉 and var11);
stickline(金叉,open,close,1.5,0),coloryellow;
stickline(死叉,open,close,1.5,0),color000099;
drawicon(var16,low-0.02,7);
drawicon(买1 or 买2 or 买3 or 买4 or 买5,low-0.01,1);
drawicon(死叉 or var12 or cross(40,var9),high+0.01,2);
n:=5;
m:=13;
v1:=abs((2*close+high+low)/4-ma(close,20))/ma(close,20);
v2:=(1-7/100)*(dma(close,v1));
v3:=(1+7/100)*(dma(close,v1));
v5:=ma((low+high+close)/3,5);
支撑:refdate(v2,date),pointdot,linethick3,colorcc66ff;
阻力:refdate(v3,date),pointdot,linethick3,colorgreen;
ma1:=mema(close,5);
ma2:=atan((ma1/ref(ma1,1)-1)*100)*180/3.1416;
ma3:=if(ma2>0,ma2,ma2);
ma5:ma(close,n),color888899;
ma13:ma(close,m),colorff9900,linethick2;
var1:=close=hhv(c,4) and (ref(c,1)>=ref(c,2) or ref(c,1)>=ref(c,3)) or ref(c,1)=hhv(c,4) and close>=ref(c,2) or ref(c,2)=hhv(c,4) and ref(c,3)=llv(c,4) and c>=ref(c,1) or ref(c,3)=hhv(c,4) and c>=ref(c,1) and c>=ref(c,2);
var2:=close=hhv(c,4) and ref(c,1)=llv(c,4);
var3:=close=llv(c,4) and (ref(c,1)<ref(c,2) or ref(c,1)<ref(c,3)) or ref(c,1)=llv(c,4) and c<ref(c,2) or ref(c,2)=llv(c,4) and ref(c,1)=hhv(c,4) and c<ref(c,1) or ref(c,3)=llv(c,4) and c<ref(c,1) and c<ref(c,2);
var4:=ref(c,1)=llv(c,4) and c>=ref(c,2) or ref(c,2)=llv(c,4) and ref(c,1)<=ref(c,3) and ref(c,2)<ref(c,4) and c>=ref(c,1);
var5:=ref(c,1)=hhv(c,4) and c<ref(c,2) or (ref(c,2)=hhv(c,4) and ref(c,1)>ref(c,3) or ref(c,3)=hhv(c,4) and ref(c,1)>ref(c,2)) and ref(c,2)>=ref(c,4) and c<ref(c,1);
var6:=v5>ref(v5,1) and ref(v5,1)<ref(v5,2);
var7:=low<hhv(v5,13) and high>hhv(v5,13) and close>ref(c,1) and close>open;
var8:=var7 and count(var6,2);
var9:=100*ema(ema(c-ref(c,1),6),6)/ema(ema(abs(c-ref(c,1)),6),6);
var10:=ema(ma(c,13),13);
var11:=filter((llv(var9,2)=llv(var9,7) and count(var9<0,2) and cross(var9,ma(var9,2)))=1,5);
var12:=filter((hhv(var9,2)=hhv(var9,7) and count(var9>50,2) and cross(ma(var9,2),var9))=1,1);
var13:=sma(ema((c-ref(c,1))/ref(c,1),5)*100,3,1)*10;
var14:=filter(((cross(var13,0) or cross(c,var10)) and var11)=1,3);
var15:=ma(c,18)>=ref(ma(c,18),3) and cross(c,ma(c,18));
var16:=var8 and not(ref(var8,1));
强攻:if(ma3>ref(ma3,1) and ma3>=0,ma13,drawnull),coloryellow,linethick2;
回调:if(ma3<ref(ma3,1) and ma3>0,ma13,drawnull),colorgreen,linethick2;
{kdj}
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;
金叉:=cross(j,d);
死叉:=cross(d,j);
买1:=(var14 or var15) and var11;
买2:=(var14 or var15) and var4;
买3:=(var14 or var15) and var2;
买4:=(var2 and var11) or (var4 and var11);
买5:=(金叉 and var4) or (金叉 and var2) or (金叉 and var11);
stickline(金叉,open,close,1.5,0),coloryellow;
stickline(死叉,open,close,1.5,0),color000099;
drawicon(var16,low-0.02,7);
drawicon(买1 or 买2 or 买3 or 买4 or 买5,low-0.01,1);
drawicon(死叉 or var12 or cross(40,var9),high+0.01,2);
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文CCI主图仅供学习研究。