x7:=ma(c,4);
x8:=ma(sum(amount,2)/sum(v,2)/100,2);
超短指标:=if(cross(x7,x8) ,1,0);
x1:=ma(indexdec,3);
x2:=ma(indexadv,3);
x3:=ma((x2-x1),1);
x5:=ma((x2-x1),3);
drawband(x5,rgb(0,22,224),x3,rgb(255,50,50));
aa:=vol/((high-low)*2-abs(close-open));
主买:=if(close>open,aa*(high-low),if(close<open,aa*((high-open)+(close-low)),vol/2));
主卖:=if(close>open,0-aa*((high-close)+(open-low)),if(close<open,0-aa*(high-low),0-vol/2));
差额:=主买+主卖,linethick0;
bb:=sum(差额,3);
资金流入:drawicon(bb>ref(bb,2),600,1);
资金流入1:=if(bb>ref(bb,2),1,0);
资金流入2:drawicon(资金流入1<ref(资金流入1,1),600,12);
x11:=sum(amount,3);
x12:=sum(vol,3);
x13:=x11/x12/100;
x14:=sum(amount,13);
x15:=sum(vol,13);
x113:=x14/x15/100;
x16:=sum(amount,20);
x19:=sum(vol,20);
x120:=x16/x19/100;
x111:=sum(amount,45);
x112:=sum(vol,45);
x145:=x16/x19/100;
提前买卖:=if(cross(x145*0.97,x13) or cross(x120*0.97,x13),1,0);
l13:=llv(amount/v/100,13);
l5:=llv(amount/v/100,3);
四边形1:=if(cross(ref(llv(amount/v/100,7),1),ref(c,1)) and c>o and ref(llv(amount/v/100,13),0)>ref(llv(amount/v/100,13),3),1,0);
四边形2:=if(ref(llv(amount/v/100,10),1)=ref(llv(amount/v/100,3),1) and o-l>h-c and amount/v/100>ref(llv(amount/v/100,3),2),1,0);
aa05:=ma(c,5);
五日乖离率:=(c-aa05)/aa05*100;
bb05:=atan((aa05/ref(aa05,1)-1)*100)*180/3.1416;
速度5:=sma(ema((aa05-ref(aa05,1))/ref(aa05,1),3)*100,3,1);
加速度5:=ema((速度5-ref(速度5,1)),3);
aa10:=ma(c,10);
aa20:=ma(c,20);bb10:=atan((aa10/ref(aa10,1)-1)*100)*180/3.1416;
aa30:=ma(c,30);
三拾日乖离率:=(c-aa30)/aa30*100;
var11:=(aa20-aa30)>ref((aa20-aa30),1)
and aa20>ref(aa20,1) and aa30>ref(aa30,1);
var22:=(aa30-aa20)<ref((aa30-aa20),1) and aa20<ref(aa20,1) and
aa30<ref(aa30,1);
bb30:=atan((aa30/ref(aa30,1)-1)*100)*180/3.1416;
强势狙击:=filter(bb30>30 and bb10>45 and
cross(bb05,60),10);
加仓:=filter(count(cross(bb05,30),5)>=1 and
aa05>ref(aa05,1)and 三拾日乖离率>ref(三拾日乖离率,1) and
aa10>ref(aa10,1)
and 加速度5>ref(加速度5,1) and 速度5>ref(速度5,1),10) ;
清仓:=filter(count(cross(30,bb05),5)>=1 and (c>aa30 or o>aa30) and
aa05<ref(aa05,1)and 三拾日乖离率<ref(三拾日乖离率,1) and
aa10<ref(aa10,1),10);
加仓1:=if(加仓 ,1,0);
强势狙击1:=if(强势狙击 ,1,0);
bbbb:300;
cccc:-300;
eeee:1500;
dddd:0;
typ := (high + low + close)/3;
cci1:=(typ-ma(typ,6))/(0.015*avedev(typ,6));
差值1:=abs(ref(cci1,1)-cci1),linethick0;
cci2:=(typ-ma(typ,10))/(0.015*avedev(typ,10));
差值2:=abs(ref(cci2,1)-cci2),linethick0;
cci3:=(typ-ma(typ,20))/(0.015*avedev(typ,20));
差值3:=abs(ref(cci3,1)-cci3),linethick0;
cci4:=(typ-ma(typ,30))/(0.015*avedev(typ,30));
差值4:=abs(ref(cci4,1)-cci4),linethick0;
cci5:=(typ-ma(typ,60))/(0.015*avedev(typ,60));
差值5:=abs(ref(cci5,1)-cci5),linethick0;
cci:=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;
短线:=var1;
中线:=var6;
下跌:=if(var1=var6,var6, drawnull);
tj1:= cci1>差值4;
立桩量:=filter(tj1,0);
tj2:=if(barslast(立桩量)=1 ,1,if(barslast(立桩量)=2 ,1,
if(barslast(立桩量)=3 ,1,0)));
成立1:=tj2;
条件成立1:=filter(成立1,5);
tj11:= cci1<-差值4 ;
立桩量2:=filter(tj11,0);
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;
条件成立2:=filter(成立2,5);
tj111:=(abs(cci1)>cci and abs( 差值1)> abs(差值5))
or (vol=hhv(vol,10) and vol>2*ref(vol,1) and close>var1);
立桩量3:=filter(tj111,5);
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)));
突破3:=tj222=1;
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;
成立:=三天法则 and 突破3;
条件成立:=filter(成立,5);
tj31:=(vol=hhv(vol,10) and vol>2*ref(vol,1) and close>var1);
tj32:=filter(tj31,1);
立桩量1:=if(条件成立2,1,0);
bb1:=(c+l+h)/3;
bb5:=atan(ema(bb1,7)-ref(ema(bb1,7),1))*3.1416*10;
ema3:=ema(c,3);
绝买:=if(filter(bb5>1 and ema(bb1,7)>ref(ema(bb1,7),1),10),1,0);
rv:=(close-llv(low,27))/(hhv(high,27)-llv(low,27))*100;
rg:=(close-llv(low,5))/(hhv(high,5)-llv(low,5))*100;
j0:=(high+low)/2;qj:=ema(j0,3);j1:=if(close>qj,vol,0);j2:=if(close<qj,vol,0);
量能:=if(capital<1,ma(vol,74),ma(sum(j1-j2,22),3));
趋势:=if(capital<1,ema(量能,360),ema(量能,21));
varb:=sma(rv,3,1);
varc:=sma(var4,3,1);
kk:=ema(sma(rg,3,1),2);dd:=sma(kk,3,1);
共振点:=if(cross(varb,varc) and cross(kk,dd),1,0);
mav:=amount/1000000;
sk := ema(mav,13) - ema(mav,34);
sd := ema(sk,3);
b:=(sk-sd);
tjb:=cross(b,0) and b>ref(b,1);
能量多空:=if(tjb,1,0);
rsv1:=(close-llv(low,27))/(hhv(high,27)-llv(low,27))*100;
k1:=sma(rsv1,5,1);
d1:=sma(k1,5,1);
hj1:=3*k1-2*d1;
aa1:=ema(hj1,5);
aa2:=ref(aa1,1);
rsv2:=(close-llv(low,9))/(hhv(high,9)-llv(low,9))*100;
k2:=sma(rsv2,3,1);
d2:=sma(k2,3,1);
hj2:=3*k2-2*d2;
bbb1:=ema(hj2,5);
bbb2:=ref(bbb1,1);
ddd:=aa1>aa2 and bbb1>bbb2;
注意买入:=dd and not(ref(ddd,1)) and (aa1<50 or bb1<50);
j线共振:=if(注意买入,1,0);
选择权:= 立桩量1+加仓1+强势狙击1+四边形1+四边形2+提前买卖+超短指标+绝买+共振点+能量多空+j线共振;
drawicon(选择权=2,700,17);
drawicon(选择权=3,700,16);
drawicon(选择权=4,700,11);
drawicon(选择权=5,700,14);
drawicon(选择权=6,700,9);
drawicon(选择权=7,700,19);
第一行:drawtext(x3>700,1300,'第一行为选择,苹果和买入为推荐,桔子可以考虑买入');
第二行:drawtext(x3>700,1100,'第二行为资金行,资金和第一行配合,成功率会极大提高');
主图:drawtext(x3>700,900,'主图为大盘指标,建议大盘向上时考虑进入');
上一指标公式:海底版公式 飞狐指标 源码
下一指标公式:超牛会员版格式公式 飞狐会员版指标指标 源码
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文副图之王优化版自编绝对精品公式 飞狐自编优化指标 源码仅供学习研究。