股道选股(实测图+源码+幅图)
{股道选股}
ff:=ema(close,3);
ma15:=ema(close,21);
ttj:=cross(ff,ma15);
typ:= (high + low + close)/3;
cci1:=(typ-ma(typ,6))/(0.015*avedev(typ,5));
差值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;{好公式网-最好的股票公式网站 www.goodgongshi.com}
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,0);
成立1:=tj2=1;
条件成立1:=filter(成立1,5);
tj011:= cci1<-差值4 ;
立桩量2:=filter(tj011,0);
tj022:=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)));
tj:=if(barslast(立桩量2)=1 and close>ref(low,1),1,0);
成立2:=tj=1;
条件成立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);
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);
上:=ema(c,3),colorblue,linethick1;
中:=ema(c,5),colorwhite,linethick1;
下:=ema(中,5),color00ff00,linethick1;
qq:= c<中;
mm:=上>ref(上,1) and ref(上,1)<ref(上,2) ;
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);
ma1:=mema(close,5);
ma2:=atan((ma1/ref(ma1,1)-1)*100)*180/3.1416;
ma3:=if(ma2>0,ma2,ma2);
ma5:=ma(close,5),color888899;
ma13:=ma(close,13),colorff00f0,linethick2;
var01:=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);
{收盘价=4日内收盘价的最高值 and 昨收>=2日前的收盘价}
var02:=close=hhv(c,4) and ref(c,1)=llv(c,4);
{收盘价=4日内收盘价的最高值 and 昨收=4日内收盘价的最低值}
var03:=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);
{收盘价=4日内收盘价的最低值 and (昨收<2日前的收盘价}
var04:=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);
{昨收=4日内收盘价的最低值 and 收盘价>=2日前的收盘价}
var05:=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);
{昨收=4日内收盘价的最高值 and 收盘价<2日前的收盘价}
var06:=v5>ref(v5,1) and ref(v5,1)<ref(v5,2);
{今日v5向上形成拐点}
var07:=low<hhv(v5,13) and high>hhv(v5,13) and close>ref(c,1) and close>open;
var08:=var07 and count(var06,2);
var09:=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(var09,2)=llv(var09,7) and count(var09<0,2) and
cross(var09,ma(var09,2)))=1,5);
var12:=filter((hhv(var09,2)=hhv(var09,7) and count(var09>50,2) and
cross(ma(var09,2),var09))=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:=var08 and not(ref(var08,1));
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 var04;
买3:=(var14 or var15) and var02;
买4:=(var02 and var11) or (var04 and var11);
买5:=(金叉 and var04) or (金叉 and var02) or (金叉 and var11);
ttj0:=var16;
ttj1:=买1 or 买2 or 买3 or 买4 or 买5 and mm;
xg0:=ttj and ttj0;
xg1:=ttj and ttj1;
ttj3:=条件成立 and 下跌!= var6;
xg3:=ttj0 and ttj3;
xg11:=xg0 or xg1 or xg3;
pl5:=zig(3,5);
en1:=zig(3,5)>ref(zig(3,5),1) and ref(zig(3,5),1)<=ref(zig(3,5),2) and ref(zig(3,5),2)<=ref(zig(3,5),3);
ex1:=zig(3,5)<ref(zig(3,5),1) and ref(zig(3,5),1)>=ref(zig(3,5),2) and ref(zig(3,5),2)>=ref(zig(3,5),3);
pl10:=zig(3,10);
en2:=zig(3,10)>ref(zig(3,10),1) and ref(zig(3,10),1)<=ref(zig(3,10),2) and ref(zig(3,10),2)<=ref(zig(3,10),3);
ex2:=zig(3,10)<ref(zig(3,10),1) and ref(zig(3,10),1)>=ref(zig(3,10),2) and ref(zig(3,10),2)>=ref(zig(3,10),3);
pl20:=zig(3,20);
en3:=zig(3,20)>ref(zig(3,20),1) and ref(zig(3,20),1)<=ref(zig(3,20),2) and ref(zig(3,20),2)<=ref(zig(3,20),3);
ex3:=zig(3,20)<ref(zig(3,20),1) and ref(zig(3,20),1)>=ref(zig(3,20),2) and ref(zig(3,20),2)>=ref(zig(3,20),3);
pl40:=zig(3,40);
走强1:=barslast(pl5<ref(pl5,1));
走弱1:=barslast(pl5>ref(pl5,1));
走强2:=barslast(pl10<ref(pl10,1));
走弱2:=barslast(pl10>ref(pl10,1));
走强3:=barslast(pl20<ref(pl20,1));
走弱3:=barslast(pl20>ref(pl20,1));
ztjz5:=if(pl10>ref(pl10,1),count(en1,走强2),0);
ztjd5:=if(pl10>ref(pl10,1),count(ex1,走强2),0);
dtjz5:=if(pl10<ref(pl10,1),count(en1,走弱2),0);
dtjd5:=if(pl10<ref(pl10,1),count(ex1,走弱2),0);
ztjz10:=if(pl20>ref(pl20,1),count(en2,走强3),0);
ztjd10:=if(pl20>ref(pl20,1),count(ex2,走强3),0);
dtjz10:=if(pl20<ref(pl20,1),count(en2,走弱3),0);
dtjd10:=if(pl20<ref(pl20,1),count(ex2,走弱3),0);
tj11:=en2 and ztjz5=1;
tj22:=en1 and pl10>ref(pl10,1) and ztjz5=2;
tj33:=en2 and dtjz10=1;
tj44:=en3 and ztjz10=1;
tj55:=en2 and pl20>ref(pl20,1) and ztjz10=2;
xg22:=tj11 or tj22 or tj33 or tj44 or tj55;
xg:=xg11 or xg22;
w18:exist(xg,1);
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文股道选股(实测图+源码+幅图)指标下载 通达信选股公式仅供学习研究。