分时抓涨停主图精有图有真相
抓涨停
{抓涨停fsz}
input:long(24,1,100),short(13,1,100),m(6,1,100),n(6,1,100);
drawgbklast(close>0,strip(rgb(95,95,95),rgb(0,0,0),0));
drawtextrel(20,30,'抓涨停fsz'),linethick6,coloryellow;
drawtextrel(200,30,stklabel+' '+stkname),linethick6,colorffff80;
wwj:=' ';
wyy1:=weekday;
if c>0 then begin;
wwj:=' 星期';
if wyy1=5 then wwj:= wwj+'五';
if wyy1=4 then wwj:= wwj+'四';
if wyy1=3 then wwj:= wwj+'三';
if wyy1=2 then wwj:= wwj+'二';
if wyy1=1 then wwj:= wwj+'一';
end;
wwl:='';
wwh:='';
wyy2:=lmonth;
wyy3:=lday;
if barstatus=2 then www:=' 农历 '+numtostrn(wyy2,0)+'月 '+numtostrn(wyy3,0)+'日';
if barstatus=2 then wwh:=numtostrn(date+1000000,0);
if barstatus=2 then wwl:=wwj;
drawtextrel(20 ,40 ,' '+wwh+wwl+www),linethick3,colorffff80;
if barstatus=2 then
zg:=finance2(35);{总股}
lta:=finance2(37);{流通a}
sy:=finance2(3);{收益}
sl:=dynainfo(39);{市盈率}
wf:=finance2(8);{未分}
gj:=finance2(7);{公积};
jz:=finance2(4);{净资}
cw:='总股:'+zg+' 流通a:'+lta+' 收益:'+sy+' 市盈率:'+sl+' 未分:'+wf+' 公积:'+gj+' 净资:'+jz;
drawtextrel(20,690,bkname),color0055ff;
drawtextrel(20,760,cw),color0055ff;
rcc:=dynainfo(3);
s2:=sma(c,3,1);
s6:=sma(c,5,1);
dk:=4*(s2-s6);
kk:=if(datatype=8,0.95,1);
{引用数据}
强势:="分引.强势#day";
轨强:="分引.轨强#day";
{时间设置}
v1:=time;
a1:=count(barscount(c)=1 and time<102000 ,0 );
t:=if(v1<130000,(floor(v1/10000)-9.5)*60+(floor(v1/100)-100*floor(v1/10000)),
(floor(v1/10000)-11)*60+(floor(v1/100)-100*floor(v1/10000)));
tt:=intpart(2*t/5);
{两条暗轨}
aa1:polyline(close<cost(50) and t>5,cost(20)),dotline,color660077,linethick2;
bb1:polyline(close<cost(50) and t>5,cost(80)),dotline,color227700,linethick2;
{cyc}
var1:=amount/vol/100;
var2:=(3*high+low+open+2*close)/7;
var3:=sum(amount,5)/var1/100;
var4:=sum(amount,13)/var1/100;
var5:=sum(amount,34)/var1/100;
cyc5:=dma(var2,vol/var3);
cyc13:=dma(var2,vol/var4);
cyc34:=dma(var2,vol/var5);
fillrgn(cyc5,cyc13,cyc5>cyc13),color888800,layer3;
fillrgn(cyc13,cyc34,cyc13>cyc34),coloraaaa00,layer3;
{分时macd}
昨收:=dynainfo(3);
hh:=dynainfo(5);
ll:=dynainfo(6);
fk:=max(hh-昨收,昨收-ll)*0.1;
zs:=昨收-fk*3.2;
q1:=昨收-fk*3.22;
q2:=昨收-2*fk*3.22;
q3:=昨收-3*fk*3.2;
ma5:=ma(close,5);
ma10:=ma(close,10);
ma20:=ma(close,20);
ma30:=ma(close,30);
dif:=(ema(close,short) - ema(close,long));
dea:=(ema(dif,m));
macd:=5*(dif-dea);
a4:=barslast(ref(cross(dif,dea),1));
b1:=ref(c,a4+1)>c and ref(dif,a4+1)<dif and cross(dif,dea);
drawtext(filter(b1>0,5),rcc*kk-0.03*rcc*kk,'背离'),coloryellow;
stickline(macd>=0 and macd>=ref(macd,1),rcc*kk,macd*4+rcc*kk,3,0),colorff00ff,linethick3;
stickline(macd>=0 and macd< ref(macd,1),rcc*kk,macd*4+rcc*kk,3,0),colorblue,linethick3;
stickline(macd<0 and macd>=ref(macd,1),rcc*kk,macd*4+rcc*kk,3,0),color4abeff,linethick3;
stickline(macd<0 and macd< ref(macd,1),rcc*kk,macd*4+rcc*kk,3,0),colorblue,linethick3;
stickline(dk>0,rcc*kk,rcc*kk+dk,0,1),colorred;
stickline(dk<0,rcc*kk,rcc*kk+dk,0,1),colorcyan;
{多头macd}
diff:=ema(close,240)-ema(close,240)*100;
deaa:=ema(diff,18);
多头macd:(-3*(diff-deaa))*20,linethick0;
zd:=hhv(多头macd,0);
zx:=llv(多头macd,0);
cz:=(q2-q3)/6;
fdm:=max(abs(zd),abs(zx))*1.5;
rb:=(q2+q3)/2+2*(q2-q3)/3/fdm*多头macd;
stickline(多头macd>0,rb,(q2+q3)/2,2,1),linethick1,color0000ff;
stickline(多头macd<0,rb,(q2+q3)/2,2,1),linethick1,color00ff00;
{火焰山及底部信号}
faa:=winner(close+close*15/100)*100;
fbb:=winner(close+close*0/100)*100;
fcc:=faa-fbb;
fdd:=(winner(close-close*0.1/100)-winner(close-close*15/100))*100;
fee:=fcc<3 and fdd<0.5 and open<>low;
fa1:=dynainfo(6);
fa2:=if(low>fa1,0,if(high<fa1,1,(fa1-low+0.01)/(high-low+0.01)));
fa3:=vol/winner(low);
fa4:=ref(hhv(close,120),1);
fa5:=ref(llv(close,120),1);
fa6:=100*(close-fa5)/(fa4-fa5);
fa7:=fa2>0 or fa2=1;
fa8:=fa7 and fa3/ref(fa3,3)>=3 and fa6<80;
fa9:=ref(fa8,1) or ref(fa8,2) or ref(fa8,3) or ref(fa8,4);
fa10:=fa8 and fa9;
fa11:=if(filter(fa8,3),5,0);
fa12:=if(filter(fa10,3) or fee,10,0);
eeee:=(rcc-zs)/10;
fvar1:=ref(low,1);
fvar2:=sma(abs(low-fvar1),13,1)/sma(max(low-fvar1,0),13,1);
fvar3:=ema(fvar2,13);
fvar4:=llv(low,34);
fvar51:=ema(if(low<=fvar4,fvar3,0),3);
fvar5:=if(fvar51>20,20,fvar51);
drawtext(fa11,(q2+q3)/2*1.02,'↑进'),color00ffff,layer2;
drawtext(fa12,(q2+q3)/2*1.03,',↑加'),layer2;
主力进场:stickline(fvar5>ref(fvar5,1),(q2+q3)/2,(q2+q3)/2+fvar5*eeee,10,0 ),colorred,layer0;
洗盘:if(fvar5<ref(fvar5,1),fvar5,0),colorgreen,linethick0;
stickline(fvar5<ref(fvar5,1),(q2+q3)/2,(q2+q3)/2+fvar5*eeee,5,1),colorgreen,layer0;
fvar6:=100-3*sma((close-llv(low,75))/(hhv(high,75)-llv(low,75))*100,20,1)+2*sma(sma((close-
llv(low,75))/(hhv(high,75)-llv(low,75))*100,20,1),15,1);
fvar7:=100-3*sma((open-llv(low,75))/(hhv(high,75)-llv(low,75))*100,20,1)+2*sma(sma((open-llv
(low,75))/(hhv(high,75)-llv(low,75))*100,20,1),15,1);
fvar8:=fvar6<ref(fvar7,1) and vol>ref(vol,1) and close>ref(close,1);
drawtext(fvar8 and count(fvar8,30)=1,(q2+q3)/2+3*eeee,'★迹'),layer0;
jccount:=count(cross(dif,dea),barslast(dea>=0));
二次金叉:=cross(dif,dea) and dea<0 and count(jccount=2,21)=1;
stickline(二次金叉,(q2+q3)/2,(q2+q3)/2*1.01,4,0),colorff00ff;
drawtext(二次金叉,(q2+q3)/2*1.01,' 二金'),coloryellow;
hh:=ma(close,10);
gg:=ma(close,12);
上:=ema((ma(high,3) * 1.05),30);
下:=ema((ma(low,3) * 0.96),30);
决战:stickline((((cross(dif,dea) and ((下 - ref(下,1)) > 0)) and (macd >= ref(macd,1))) and
(dif < 0)),(q2+q3)/2,(q2+q3)/2*1.01,1,0),color0000ff;
drawtext((((cross(dif,dea) and ((下 - ref(下,1)) > 0)) and (macd >= ref(macd,1))) and (dif
<= 0)),(q2+q3)/2*1.01,'dif金叉'),color0000ff;
{两个主要买进信号}
rsv:=((close-llv(low,240))/(hhv(high,240)-llv(low,240))*200-100);
k:=sma(sma(rsv,18,1),3,1);
d:=ma(ema(k,18),3);
短买:=cross(k,d) and k>0 and close<dynainfo(3)*1.07;
drawtext(短买,(q2+q3)/2+(q2-q3)/1,'短买'),colorff0000,layer0;
drawicon((强势 or 轨强) and 短买 ,rb,1);
yy:=sma(vol,30,1);
量1:=(yy-llv(llv(yy,1),30))/(hhv(hhv(yy,1),30)-llv(llv(yy,1),30));
量:=(yy-llv(llv(yy,1),30))/(hhv(hhv(yy,1),30)-llv(llv(yy,1),30))>0.92;
短横:=((hhv(close,tt)-llv(close,tt))/close)<0.04;
横后上涨:=(close/dynainfo(3))>=1.02=0 and 短横 and 量 and cross(c,(ma(c*v,tt)/ma(v,tt) + avedev(c,tt)*2));
上涨:=filter((cross(横后上涨,0)and 量 and t>60
or (t>60 and close<dynainfo(3)*1.04 and (量1<0.5 or 量1=1) and barslast(cross(c,(ma(c*v,tt)/ma(v,tt) + avedev(c,tt)*2)))<3
and cross(c,ma(hhv(c,tt),1)))),30);
drawtext(上涨,(q2+q3)/2+(q2-q3)/1,'★涨'),colorred,layer0,linethick3;
drawicon((强势 or 轨强) and 上涨,rb,1);
c,linethick2,colorffffff,layer0;
上一指标公式:粉红色买点公式下载 大智慧买点
下一指标公式:背离副图副图公式下载 大智慧背离
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文分时抓涨停主图精有图有真相公式下载 大智慧有图大智慧仅供学习研究。