input:n(34,1,100),m(3,1,100);
var1bb:=if((close > open),((close - open) * vol),if((close < open),((close - open) * vol),0));
var2bb:=if((close > ref(close,1)),((close - ref(close,1)) * vol),if((close < ref(close,1)),((close - ref(close,1)) * vol),0));
var3bb:=if((open > ref(close,1)),((open - ref(close,1)) * vol),if((open < ref(close,1)),((open - ref(close,1)) * vol),0));
机构:
intpart(sum(((((var1bb + var2bb) + var3bb) / 3) / capital),5) * 1000),linethick0,colorcyan;
srsv:=(close-llv(low,9))/(hhv(high,9)-llv(low,9))*50;
sk:=(sma(srsv,3,1));
sd:=(sma(sk,3,1));
skk:=intpart(sma(srsv,3,1));
sdd:=intpart(sma(sk,3,1));趋势:skk+sdd,linethick2,colorff00ff;
check1:=1-2;
var1m:=if((check1 < 0),(((high + low) + close))/(3),0);
var2m:=if((check1 < 0),((var1m - ma(var1m,14)))/((0.015)*(avedev(var1m,14))),0);
var3m:=if((check1 < 0),((var1m - ma(var1m,70)))/((0.015)*(avedev(var1m,70))),0);
var4m:=if((check1 < 0),if(((((var2m >= 150) and (var2m < 200)) and (var3m >= 150)) and (var3m < 200)),10,0),0);
var5m:=if((check1 < 0),if(((((var2m <= (0 - 150)) and (var2m > (0 - 200))) and (var3m <= (0 - 150))) and (var3m > (0 - 200))),(0 - 10),var4m),0);
var6m:=if((check1 < 0),(((close - ma(close,13)))/(ma(close,13)))*(100),0);
var7m:=if((check1 < 0),(100 - abs(var6m)),0);
var8m:=if((check1 < 0),if((var7m < 90),var7m,100),0);
pjx:=if((check1 < 0),(ma(((100)*((close - llv(close,34))))/((hhv(high,34) - llv(low,34))),5) - 20),0);
短期强弱:pjx,coloryellow;
个股资金指数:ema(((100 * (close - llv(low,n))) / (hhv(high,n) - llv(low,n))),m);
partline(个股资金指数,个股资金指数>=ref(个股资金指数,1),rgb(255,0,0),个股资金指数<ref(个股资金指数,1),rgb(0,250,0)),linethick3;
typ:=(high+low+close)/3;{}
ccim:(typ-ma(typ,14))/(0.015*avedev(typ,14)),colorred,linethick0;
cci高度关注:if(ref(ccim,1)<-99 and ccim >-98,1,0),colorwhite;
drawtext(cci高度关注,l*1.97,'买*入'),align1,colorcceedd;
stickline(cci高度关注,20,40,6,1),linethick3,colorwhite;
cci逃逸:if(ref(ccim,1)>99 and ccim <98 and 个股资金指数 >45,1,0),colorgreen;
stickline(cci逃逸,80,95,6,0),linethick3,colorgreen;
弱势1:=if(ccim<-100,ccim/5+20,20);
弱势2:=if(ccim<-50 and ccim >-101,ccim/5+20,20);
stickline(弱势2,20,弱势2,1,0),linethick1,coloryellow;
买入1:if(ref(cci高度关注,1)=1 and ccim>-50,1,0);
买入2:if(ref(cci高度关注,2)=1 and ccim>-50 and ref(ccim,1)>-50,1,0);
买入3:if(ref(cci高度关注,3)=1 and ccim>-50 and ref(ccim,1)>-50,1,0);
买入4:if(ref(cci高度关注,4)=1 and ccim>-50 and ref(ccim,1)>-50 and ref(ccim,2)>-50,1,0);
stickline(买入1,20,60,3,0),linethick1,colorred;
stickline(买入2,20,65,3,0),linethick1,colorred;
stickline(买入3,20,70,3,0),linethick1,colorred;
stickline(买入4,20,75,3,0),linethick1,colorred;
买入选股:if(买入1 or 买入2 or 买入3 or 买入4,1,0);
drawtext(买入选股,20,'选3'),align1,colorred;
ccia:="cci"(14);
选股:=cross(ccia,-220--400) and ccia>ref(ccia,1);
drawtext(选股,0-1,'选2'),align1,colorcceedd;
ypb:= (high + low + close)/3;
cib:=(ypb-ma(ypb,14))/(0.015*avedev(ypb,14));
ci1b:=ma(cib,2);
ci2b:=ma(cib,3);
c1b:=ref(cib,5)-ref(cib,1)>60;
s3b:=ref(ci1b,5)-ci1b>30 and ci1b>ref(ci1b,1);
drawtext(s3b,0+8,'选1'),align1,colorcceedd;
吸筹:=barslast(filter(cross("kd.k","kd.d") and "kd.d"<30,13));
主力吸筹区:=if(吸筹>0 and 吸筹<61,吸筹,0);
drawtextrel(10,15,stklabel+' '+stkname),linethick2,color00ff05;
drawtextrel(120,20,' 主力 建仓天数:'+numtostrn(主力吸筹区,0)+'天'),color00ff05,linethick2;
aaf:=llv(low,34);
bbf:=ma(aaf,4);
typw := (high + low + close)/3;
cci1:=(typ-ma(typw,6))/(0.015*avedev(typw,5));
差值1:=abs(ref(cci1,1)-cci1);
cci2:=(typw-ma(typ,10))/(0.015*avedev(typw,10));
差值2:=abs(ref(cci2,1)-cci2);
cci3:=(typ-ma(typ,20))/(0.015*avedev(typ,20));
差值3:=abs(ref(cci3,1)-cci3);
cci4:=(typ-ma(typ,30))/(0.015*avedev(typ,30));
差值4:=abs(ref(cci4,1)-cci4);
cci5:=(typ-ma(typ,60))/(0.015*avedev(typ,60));
差值5:=abs(ref(cci5,1)-cci5);
cciw:=cci1+cci2+cci3+cci4+cci5;
aaa:=(3*c+h+l+o)/6;
var1:=(8*aaa+7*ref(aaa,1)+6*ref(aaa,2)+5*ref(aaa,3)
+4*ref(aaa,4)+3*ref(aaa,5)+2*ref(aaa,6)+ref(aaa,8))/36;
var2:=(hhv(var1,5)+hhv(var1,10)+hhv(var1,20))/3;
var3:=(llv(var1,5)+llv(var1,10)+llv(var1,20))/3;
var4:=(hhv(var2,5)+hhv(var2,10)+hhv(var2,20))/3;
var5:=(llv(var3,5)+llv(var3,10)+llv(var3,20))/3;
var6:=(llv(var1,2)+llv(var1,4)+llv(var1,6))/3;
下跌:=if(var1=var6,var6, 0);
tj1:= cci1>差值4;
立桩量:=filter(tj1,0){,nodraw};
tj2:=if(barslast(立桩量)=1 ,1,0);
{stickline(立桩量 <>1,ref(high,barslast(立桩量)),
ref(high,barslast(立桩量)),1,1),colorcyan;}
成立1:=tj2=1;
条件成立1:=filter(成立1,5);
drawtext(条件成立1, ref(high,barslast(立桩量)),'看跌'),align1,colorblue;
tj11:= cci1<-差值4 ;
立桩量2:=tj11;
tj22:=if(barslast(立桩量2)=1 and close>ref(high,1),1,
if(barslast(立桩量2)=2 and close>ref(high,2),1,
if(barslast(立桩量2)=3 and close>ref(high,3),1,0)));
成立2:=tj22=1;
条件成立2:=filter(成立2,5);
drawtext(条件成立2,67,'看涨'),align1,colorred;
tj111:=abs(cci1)>cciw and abs( 差值1)> abs(差值5);
立桩量3:=filter(tj111,3);
tj3:=if(barslast(立桩量3)=1 and close>ref(low,1),1,if(barslast(立桩量3)=2 and close>ref(low,2),1,if(barslast(立桩量3)=3 and close>ref(low,3),1,0)));
成立:=tj3=1;
条件成立:=filter(成立,5);
drawtext(条件成立 and 下跌<> var6,77,'成☆立'),align1,colorred;
tj222:=if(barslast(立桩量3)=1 and close>ref(high,1),1,if(barslast(立桩量3)=2 and close>ref(high,2),1,if(barslast(立桩量3)=3 and close>ref(high,3),1,0)));
stickline(close and 下跌<>var6,ref(high,barslast(立桩量3)),ref(high,barslast(立桩量3)),20,0),colorcyan;
成立4:= tj222=1;
条件成立4:filter(成立4,5),linethick0,coloryellow;
drawtext(条件成立4 and 下跌=0,87,'立☆1'),align1,colorwhite;
x1:=(c+l+h)/3;
bb13:=atan(ema(x1,13)-ref(ema(x1,13),1))*3.1416*10;
ema8:=ema(c,8);
drawtext(filter(bb13>1 and ema(x1,13)>ref(ema(x1,8),1),10),
ema8,'∠45'),align1,colorred;
drawicon(cross(个股资金指数,50),个股资金指数,10);
drawicon(cross(50,个股资金指数),个股资金指数,11);
市场资金指数:ema(((100 * (indexc - llv(indexl,n))) / (hhv(indexh,n) - llv(indexl,n))),m),colorwhite;
drawicon(cross(50,市场资金指数),50,5);
drawicon(cross(市场资金指数,50),50,4);
资金运作安全区:stickline((市场资金指数 > 50),20,5,5,0),color7bbeb2;
博弈线:80;
20;
50;
v11xx:=3*sma((c-llv(l,55))/(hhv(h,55)-llv(l,55))*100,5,1)-2*sma(sma((c-llv(l,55))/(hhv(h,55)-llv(l,55))*100,5,1),3,1);
趋势线a:=ema(v11xx,3);
v12xx:=(趋势线a-ref(趋势线a,1))/ref(趋势线a,1)*100;
bbxx:=(趋势线a<=13 and v12xx>13) and filter((趋势线a<=13 and v12xx>13),10) ;
drawtext (bbxx,-10,'买'),color0099ff;
drawgbklast(v>1,strip(rgb(0,0,205),rgb(60,179,113),0));
上一指标公式:清晰成交量掌握主力动向公式下载 大智慧主力动向
下一指标公式:奔向胜利 大智慧奔向
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文大卫CCI# 大智慧大卫仅供学习研究。