drawgbk((close > 0),colorrgb(0,0,0),colorrgb(0,0,0),1);
{n15 5 5n2 10 10 10}
{cdp}
pt:= ref(high,1)-ref(low,1),linethick0;
cdp : (high + low + close)/3,linethick0;
ah最高值: cdp + pt,linethick0;
al近高值: cdp - pt,linethick0;
nh最低值: 2*cdp-low,linethick0;
nl近低值: 2*cdp-high,linethick0;
{}
rsv:=(close-llv(low,9))/(hhv(high,9)-llv(low,9))*100;
k:=(sma(rsv,9,1));
kk:=intpart(sma(rsv,3,1));
dd:=intpart(sma(k,3,1));
a:=(kk-dd)*5;
a1:=ref(a,1);
b:=a1-a,color808080;
b1:=ref(a1-a,1);
b2:=ref(a1-a,2);
cc:=b+b1+b2,color00ffff;
短强:stickline(a>cc and a>0 ,a,cc,8,0),color0000d5;
转强:stickline(a>cc and a<0,a,cc,8,0),color00dfdf;
转弱:stickline(a<=cc and a>0,a,cc,8,0),color00ca00;
弱势:stickline(a<cc and a<0,a,cc,8,0),colorff0000;
var1a:=ema(ema(ema(close,1),3),3),color00ff00;
aa:=var1a-ref(var1a,1)+var1a,;
typ:=(high + low + close)/3;
cci:="cci"(14);
a:=ref(c,1);
rsi:=sma(max(c-a,0),6,1)/sma(abs(c-a),6,1)*100;
a1:=c-ma(c,5)/ma(c,5)*100<1;
a2:=c-ma(c,13)/ma(c,13)*100<-10;
a3:=c-ma(c,34)/ma(c,34)*100<-15;
a4:=rsi<18;
a5:=cci<-120;
底:(a1 and a2 and a3 and a4 and a5)*100;
rk:sma(cci,3,1),linethick0;
rd:sma(rk,3,1),linethick0;
rj:3*rk-2*rd,linethick0;
头:=390+reverse(ema(rj, 1));
底:=-290+reverse(ema(rj,1)),linethick0;
抛:if(rj>头,200,300),colorgreen;
吸:if(rj<底,-200,-300),colorred,linethick2;
typ := (high + low + close)/3;
cci:(typ-ma(typ,14))/(0.015*avedev(typ,14)),colorwhite,linethick2;
底部:-200,linedot;
买入:-100,linedot,colorgray;
卖出:100,linedot;
aass:0;
底部:=cross(cci,-100);
drawicon(底部,-100,1);
顶部:=cross(150,cci);
drawicon(顶部,150,2);
typ := (high + low + close)/3;
jg1:=(typ-ma(typ,n1))/(0.015*avedev(typ,n1));
jg2:=(typ-ma(typ,n2))/(0.015*avedev(typ,n2));
jga:=ema(jg1,13 );
jgb:=ema(jg2,13);
aa:=cross(jg2,-200) and jg1>-100;
drawtext(cross(jgb,jga)and jgb>0,210,'$逃顶')linethick2 ,color9999ff;
drawtext(filter(aa,5)=1,-180,'$抄底')linethick2, coloryellow;
stickline(cross(jgb,jga)and jgb>0,180,210,10,0),colorgreen ;
stickline(filter(aa,5)=1,-180,-210,10,0),colorred;
{}
中线: -200*(hhv(high,40)-close)/(hhv(high,40)-llv(low,40)),linethick0;
短线: -200*(hhv(high,10)-close)/(hhv(high,10)-llv(low,10)),colorffff00,linethick0;
逃顶线: -5,color00ff00,linethick0;
抄底线: -250,colorred,linethick0;
drawtext(中线>-3.5,逃顶线+180,'逃'),colorgreen;
drawtext(中线<-196,抄底线-8,'底'),colorff00ff;
{}
var1:=ema(close,12)-ema(close,24);
var11:=ema(close,24)-ema(close,12);
var2:=ema(var1,9);
var22:=ema(var11,9);
var3:=(var1-var2)*10;
var33:=(var11-var22)*12;
var5:= if( var3>0.5,pow(var3,3)*10/10+pow(var3,3),0);
var55:= if( var33>0.5,pow(var33,3)*10/10+pow(var33,3),0);
顶2:var5>0;
底2:var55>0;
drawicon(顶2=1 and ref(顶2,1)=0 and ref(顶2,2)=0 and ref(顶2,3)=0 and ref(顶2,4)=0 and ref(顶2,5)=0 and ref(顶2,6)=0 and ref(顶2,7)=0 and ref(顶2,8)=0,0,1);
{神奇变色线}
趋势:sma(((close-llv(low,28))/(hhv(high,28)-llv(low,28))),3,1),colorred,linethick;
判断:sma(趋势,3,1),coloryellow;
partline(判断>50 and 趋势>判断,判断),coloryellow,linethick3;
partline(判断<50 and 趋势<=判断,判断),colorblue,linethick3;
partline(判断>50 and 趋势<=判断,判断),colorred,linethick3;
partline(判断<50 and 趋势>判断,判断),color1477ff,linethick3;
上一指标公式:一目了然主图公式 飞狐源码主图指标 源码
下一指标公式:筹码密集峰线排序公式 飞狐密集源码指标 源码
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文自用A-CCI副图公式 飞狐自用指标 源码仅供学习研究。