涨停板类型主图源码下载:
涨停:=between(close/ref(close,1),1.0984,1.110) and c=h and c>o;
ma5:=expma(c,5),colorwhite;
ma13:=expma(c,13),color00c0c0;
ma28:=expma(c,28),colormagenta;
r1:=(c>ref(c,1) and c>ref(c,2));
r2:=(ref(r1,1) and c<=ref(c,1) and c>=ref(c,2));
r3:=(ref(r2,1) and c>=ref(c,1) and c<=ref(c,2));
r4:=(ref(r3,1) and c<=ref(c,1) and c>=ref(c,2));
r5:=(ref(r4,1) and c>=ref(c,1) and c<=ref(c,2));
r6:=(ref(r5,1) and c<=ref(c,1) and c>=ref(c,2));
r7:=(ref(r6,1) and c>=ref(c,1) and c<=ref(c,2));
r8:=(ref(r7,1) and c<=ref(c,1) and c>=ref(c,2));
r9:=(ref(r8,1) and c>=ref(c,1) and c<=ref(c,2));
ra:=(ref(r9,1) and c<=ref(c,1) and c>=ref(c,2));
rb:=(ref(ra,1) and c>=ref(c,1) and c<=ref(c,2));
rc:=(ref(rb,1) and c<=ref(c,1) and c>=ref(c,2));
rd:=(c<ref(c,1) and c<ref(c,2));
re:=(ref(rd,1) and c>=ref(c,1) and c<=ref(c,2));
rf:=(ref(re,1) and c<=ref(c,1) and c>=ref(c,2));
r10:=(ref(rf,1) and c>=ref(c,1) and c<=ref(c,2));
r11:=(ref(r10,1) and c<=ref(c,1) and c>=ref(c,2));
r12:=(ref(r11,1) and c>=ref(c,1) and c<=ref(c,2));
r13:=(ref(r12,1) and c<=ref(c,1) and c>=ref(c,2));
r14:=(ref(r13,1) and c>=ref(c,1) and c<=ref(c,2));
r15:=(ref(r14,1) and c<=ref(c,1) and c>=ref(c,2));
r16:=(ref(r15,1) and c>=ref(c,1) and c<=ref(c,2));
r17:=(ref(r16,1) and c<=ref(c,1) and c>=ref(c,2));
r18:=(ref(r17,1) and c>=ref(c,1) and c<=ref(c,2));
r19:=((ref(rd or re or rf or r10 or r11 or r12 or r13 or r14 or r15 or r16 or r17 or r18,1)) and r1);
r1a:=((ref(r1 or r2 or r3 or r4 or r5 or r6 or r7 or r8 or r9 or ra or rb or rc,1)) and rd);
蓝心板:=ref(rd or re or rf or r10 or r11 or r12 or r13 or r14 or r15 or r16 or r17 or r18,1);
rsv9:=(c-llv(low,9))/(hhv(high,9)-llv(low,9))*100;
k1:=sma(rsv9,3,1);{好公式网www.goodgongshi.com}
dk1:=k1-ref(k1,1);
出手就赢:=if(dk1>7 and ref(dk1,1)<0 and (dk1-ref(dk1,1))>9,50,0);
绿心板:=(出手就赢=50 or ref("kdj.j",1)<0) and "kdj.j">0;
红心板:=蓝心板 and 绿心板;
红色持股:=r1 or r2 or r3 or r4 or r5 or r6 or r7 or r8 or r9 or ra or rb or rc;
短进:=r19;
青色观望:=rd or re or rf or r10 or r11 or r12 or r13 or r14 or r15 or r16 or r17 or r18;
急速超跌:=(c-ma(c,34))/ma(c,34)*100<-14;
品红离场:=r1a;
stickline(c>=o,l,h,0,0),color0000cc;
stickline(c<o,l,h,0,0),color999900;
stickline(1,c,o,3.5,0),color858500;
stickline(c>=o,c,o,3.5,0),color0000e5;
stickline(红色持股,c,o,2.8,0),color000055;
stickline(红色持股,c,o,2,0),color000088;
stickline(红色持股,c,o,1.5,0),color0000aa;
stickline(红色持股,c,o,1,0),color0000cc;
stickline(红色持股,c,o,0.5,0),color0000ee;
stickline(青色观望,c,o,2.8,0),color555500;
stickline(青色观望,c,o,2,0),color888800;
stickline(青色观望,c,o,1.5,0),coloraaaa00;
stickline(青色观望,c,o,1,0),colorcccc00;
stickline(青色观望,c,o,0.5,0),coloreeee00;co:=(c-o);
绿心过滤:=if((蓝心板),drawnull,绿心板);
蓝心过滤:=if((绿心板),drawnull,蓝心板);
stickline(急速超跌,o,c-co/2,2.8,0),color555555;
stickline(急速超跌,o,c-co/2,2,0),color888888;
stickline(急速超跌,o,c-co/2,1.5,0),coloraaaaaa;
stickline(急速超跌,o,c-co/2,1,0),colorcccccc;
stickline(急速超跌,o,c-co/2,0.5,0),coloreeeeee;
stickline(短进,o,o+co/3,2.8,0),color335555;
stickline(短进,o,o+co/3,2,0),color338888;
stickline(短进,o,o+co/3,1.5,0),color33aaaa;
stickline(短进,o,o+co/3,1,0),color33cccc;
stickline(品红离场,o,o+co/3,2.8,0),color550055;
stickline(品红离场,o,o+co/3,2,0),color880088;
stickline(品红离场,o,o+co/3,1.5,0),coloraa00aa;
stickline(品红离场,o,o+co/3,1,0),colorcc00cc;
stickline(品红离场,o,o+co/3,0.5,0),coloree00ee;
stickline(涨停,o,c,3.6,1),coloryellow;
stickline(涨停 and 蓝心过滤,o,c,0.4,0),colorblue;
stickline(涨停 and 绿心过滤,o,c,0.4,0),colorgreen;
stickline(涨停 and 红心板,o,c,0.4,0),colorred;
{绿心板:中继板,继续上涨中出现;红心板:吸货板,短线比较稳定空心板:疯板,要么暴涨,要么止损;蓝心板:自救板,回调中出现。}
drawtext_fix(1,0.28,0.995,1,'绿心板:中继板,继续上涨中出现'),colorred;
drawtext_fix(1,0.69,0.995,1,'空心板:疯板,要么暴涨,要么止损;蓝心板:自救板,回调中出现。'),coloryellow;
drawtext_fix(1,0.86,0.995,1,'红心板:吸货板,短线比较稳定'),colorred;
di:=ema(c,12)-ema(c,13);
de:=ema(di,3);
rsv:=(c-llv(l,9))/(hhv(h,9)-llv(l,9))*100;
drawtext(cross(de,di),h*1.03,'s'),color00ff00;
drawtext(cross(di,de),l*0.94,'b'),colorff33ff;
k8:=barslast(ema(c,5)>=ema(c,20));
k9:=barslast(ema(c,5)<=ema(c,20));
k110:=if(ema(c,5)>=ema(c,20),(ema(c,5)+ema(c,20))/2,drawnull);
k115:=if(ema(c,5)>=ema(c,20),ema(c,5),drawnull);
k120:=if(ema(c,5)>=ema(c,20),ema(c,20),drawnull);
线5:if(currbarscount<const(k9+2),k115,drawnull)colorwhite;
线10:if(currbarscount<const(k9+2),k110,drawnull),coloryellow,linethick2;
线20:if(currbarscount<const(k9+2),k120,drawnull),colormagenta,linethick4;
aaa2:=sum(if( close>ref(close,1),vol*c,0),0);
aaa3:=sum(if( close<ref(close,1),vol*c,0),0);
aaa4:=sum(if( close=ref(close,1),vol*c,0),0);
bb1:=0;//www.goodgongshi.com
b1万元:=dvol*dclose/100;
b1差:=b1万元-ref(b1万元,1);
b2万元:=dvol*dclose/100;
b2比:=b2万元/ref(b2万元,1);
净流入万元:=(aaa2-aaa3-0.5*aaa4);
pm:=ma(净流入万元,1);
pma:=pm/ref(pm,1)>1;
pmb:=ref(pma,1)<1 and pma;
密码:=(ema(ma(b1万元,2),2))/100000,coloryellow,nodraw;
二日比:=密码/ref(密码,1);
选股:=pmb and 密码>ref(密码,1) and 二日比>1,colorred,nodraw;
drawnumber(选股=1 ,l,密码),coloryellow;
日1:=50;昨前1:=3;
高1:=ref(hhv(h,日1),昨前1);
低1:=ref(llv(l,日1),昨前1);
h4:=高1-(高1-低1)*0.618;
h5:=高1-(高1-低1)*0.809;
支撑80.9%:refdate(h5,date),colorred;
支撑61.8%:refdate(h4,date),colorgreen,linethick1;
stickline(currbarscount=1,支撑80.9%,支撑80.9%,1000,-1),colorgreen;
stickline(currbarscount=1,支撑61.8%,支撑61.8%,1000,-1),colorred;
drawtext(currbarscount=30 and 支撑61.8%,支撑61.8%,'线上买持股, 线下卖持币');
drawtext(currbarscount=1 and 支撑61.8%,支撑61.8%,'---------------命运转折线'),coloryellow;
aa17:=ema(c,14)colorwhite,linethick1;
a17x:=(aa17-ref(aa17,1))/ref(aa17,1)*100,nodraw;
参考线试买:if(a17x>=0,ref(ema(c,14),barslast(cross(a17x,0))+1),drawnull)colorred,linethick2;
drawtext(islastbar,参考线试买,'----参考线试买------'),coloryellow,linethick4;
y:=(h+l)/2;
ao:=ma(y ,5 )-ma(y ,34 );
du0:=cross(ao,0);
ud0:=cross(0,ao);
tdu0:=barslast(du0);
tud0:=barslast(ud0);
du3:=ref(du0,1);
ud3:=ref(ud0,1);
tdu3:=barslast(du3);
tud3:=barslast(ud3);
年:=year,nodraw;
月:=month,nodraw;
星期:=weekday,nodraw;
日:=datetoday(date);
上市日:=ref(date,totalbarscount-currbarscount);
自然日:=日-datetoday(上市日)+1;
zb:=(自然日-ref(自然日,1))!=星期-ref(星期,1)
or totalbarscount-currbarscount=0;
本周第几天:=barslast(zb)+1;
本月第几天:=barslast(年*100+月!=ref(年*100+月,1))+1;
ma11:=ref(c,本周第几天);
ma22:=ref(ma11,本周第几天);
ma33:=ref(ma22,本周第几天);
ma44:=ref(ma33,本周第几天);
ma55:=ref(ma44,本周第几天);
ma66:=ref(ma55,本周第几天);
ma77:=ref(ma66,本周第几天);
ma88:=ref(ma77,本周第几天);
ma99:=ref(ma88,本周第几天);
十周价:=(c+ma11+ma22+ma33+ma44+ma55+ma66+ma77+ma88+ma99)/10;
出击突破:refdate(十周价,date),colorff0080,dotline;
drawtext(islastbar,出击突破,'------------------- 出击突破'),colorff0080;
dmlj:=hhv(h,120);
e:=(h+l+o+2*c)/5;
crtp:=e+(h-l);
crzl:=2*e-l;
crzc:=2*e-h;
crfz:=e-(h-l);
crxl:=(e+crtp+crzl+crzc+crfz)/5;
高:=const(crtp),colorred;
阻:=const(crzl),colorc7c9ff;
支:=const(crzc),color7c9cff;
反:=const(crfz),colordd00dd;
心理:=const(crxl);
高压:drawline(s>1&&currbarscount=5+1,高,islastbar,高,1),color0000ff;
阻力:drawline(s>1&&currbarscount=5+1,阻,islastbar,阻,1),color0099ff;
支撑:drawline(s>1&&currbarscount=5+1,支,islastbar,支,1),colorgreen;
反转价:drawline(s>1&&currbarscount=5+1,反,islastbar,反,1),colordd00dd;
次日心理价:drawline(s>1&&currbarscount=5+1,心理,islastbar,心理,1),colorffffff;
drawtext(islastbar,反,'------------ ----------------少量买'),linethick1,colordd00dd;
drawtext(islastbar,支,' 支 撑'),linethick1,color00ff00;
drawtext(islastbar,阻,' 阻 力'),linethick1,color0099ff;
drawtext(islastbar,高,' 高 压'),linethick1,color0000ff;
【0】:=ma(l+(h-l)/2,5),circledot,colormagenta;
【1】:=drawline(currbarscount=3,【0】,currbarscount=2,【0】,0),coloryellow,linethick2;
【2】:=drawline(currbarscount=2,【0】,currbarscount=1,【0】,0),colorred,linethick2;
【3】:=drawline(currbarscount=3,【0】,currbarscount=1,【0】,0),colorred,linethick2;
drawband(【1】,rgb(155,50,50),【3】,rgb(250,250,0));
drawband(【2】,rgb(100,50,50),【3】,rgb(250,100,0));
【4】:=ref(【0】,1);【5】:=ref(【0】,2);
drawtext(【0】>【4】 and 【0】<【5】,【2】,'转强'),color33ffcc;
drawtext(【0】>【4】 and 【0】>【5】,【2】,'强市'),color33ffcc;
drawtext(【0】<【4】 and 【0】>【5】,【2】,'转弱'),color33ffcc;
drawtext(【0】<【4】 and 【0】<【5】,【2】,'弱市'),color33ffcc;
ph:=troughbars(2,5,1);
ll:=hhv(h,ph);
tj11:=ll=high and ll<ref(ll,1);{//=1}
ts:=sumbars(tj11,2);
tj:=peakbars(2,5,1)=1 and ts>=ph;
drawicon(tj,high*1.01+0.02,2);
pl:=barslast(tj);
hlco:=(c+h+l+o)/4;
mahc:=ma((close*2+h)/3,5),color0000ff;
maho:=ma((o*2+h)/3,5),color00ff00;
malc:=ma((c+l*2)/3,5),colorffffff;
malo:=ma((o+l*2)/3,5),color00ffff;
co1:=o+(c-o)/2;
stickline(mahc<maho and (cross(c,malo) or cross(hlco,malo)),c,o,2.8,0),colorwhite;
drawtext_fix(currbarscount=1,0.00,0.12,0,'--------------------白k关注,黄k买入,红k持股');
ma10:=ma(close,10);
ma20:=ma(close,20);
ma30:=ma(close,30);
ma54:=ma(close,54);
ma60:=ma(close,60);
ma120:=ma(close,120);
hj_8:=(ref(close,3)-close)/ref(close,3)*100>5;
hj_9:=filter(hj_8,10);
hj_10:=barslast(hj_9);
hj_11:=ref(high,hj_10+2);
hj_12:=ref(high,hj_10+1);
hj_13:=ref(high,hj_10);
hj_14:=max(hj_11,hj_12);
hj_15:=max(hj_14,hj_13);
hj_16:=(close-ref(close,1))/ref(close,1)*100>5;
hj_17:=hj_10<150;
hj_18:=(open-hj_15)/hj_15*100<30;
hj_19:=(close-llv(low,hj_10))/llv(low,hj_10)*100<50;
hj_20:=(close-ref(open,5))/ref(open,5)*100<30;
hj_21:=vol/ma(vol,5)<3.5;
hj_22:=(close-ref(close,89))/ref(close,89)*100<80;
hj_25:=hj_16 and hj_17 and hj_18 and hj_19 and hj_20 and hj_21 and hj_22;
暴利:=filter(hj_25,15);
pl1:=(((close-ma54)/ma54)<0.1);
pl2:=(((close-ma10)/ma10)<0.3);
偏离率:=(((pl1=1) and (pl2=1))*0.2);
平台突破:=((((偏离率=0) and (ref(偏离率,1)=0.2)) and (ref((count((偏离率=0.2),10)=10),1)=1))*-0.1);
妖股突破:=平台突破=-0.1;
xdf:=(暴利 or 妖股突破);
vara:=dma(amount/vol/100,vol/capital);
varaa:=dynainfo(7)/(ref(close,1))>1.05 and (dynainfo(7)/o>1.05);
fliga:=(vol/ref(vol,1)>1.2 and count(close>open,1)) or (low>ref(high,1) and count(open>close,1) and vol/ref(vol,1)>1.2);
妖股:xdf and c/ref(c,1)>1.095 and fliga and varaa,nodraw;
drawicon(妖股,low*0.995,7);
drawtext(妖股,low*0.975,' 妖股'),coloryellow;
a1:=(close+high+low)/3;
a2:=ema(a1,3);
a3:=ref(a2,1);
a4:=if(a2>a3,a2,drawnull);
a5:=if(a2<=a3,a2,drawnull);
stickline(cross(c,ref(a5,1)),ref(a5,1)*1.002,ref(a5,1),20,0),colorred;
drawtext(cross(ref(a4,1),c) and a4,h,'↓开跌'),colorgreen;
qw1:=(h+l+c*2)/4;
qw3:=ema(qw1,10);
qw4:=std(qw1,10);
qw5:=(qw1-qw3)*100/qw4;
qw6:=ema(qw5,5);
rk7:=ema(qw6,10);
z:=ema(qw6,10)+100/2-5;
drawtext(currbarscount=1,(min(c,o)+l)/2*0.995,externstr(0,9997)); { 涨停原因}
drawtext_fix(1,0.50,0.05,0,'板块:')color0000ff;
drawtext_fix(1,0.55,0.05,0,strcat(strcat(strcat(strcat(hyblock,'_____'),gnblock),'__'),dyblock))color0000ff;{板块信息}
drawtext_fix(1,0.50,0.1,0,'主营:')colorff00ff;
drawtext_fix(1,0.55,0.1,0,externstr(0,9996))colorff00ff;{上市公司主营};
参数:s 0 2 0;d 30 90 72
drawtext_fix(1,0.69,0.15,0,externstr(0,901))colorligreen;
drawtext(tdxdll1(1,date,9001,999999)>0,l-0.04,'盘'),colorred; {大盘异动涨标记大于1.5 ↙↖}
drawtext(tdxdll1(1,date,9001,999999)<0,l-0.04,'盘'),colorgreen; {大盘异动跌标记}
drawtext(tdxdll1(1,date,9999,str2con(code))>0,h*1.011,'↙涨'),colorred; {竞价涨停}
drawtext(tdxdll1(1,date,9999,str2con(code))<0,h*1.011,'↙跌'),colorligreen; {竞价跌停}
drawtext(tdxdll1(1,date,9991,str2con(code))=1,h*1.012,'增'),colorff00ff; {增持}
drawtext(tdxdll1(1,date,9991,str2con(code))=-1,l*0.990,'减'),colorblue; {减持}
drawicon(tdxdll1(1,date,9002,str2con(code))=0,h*1.025,43);{炸板,上面显示图标空字};
strlonghu:=tdxdll1(1,date,9888,str2con(code))nodraw;{当日龙虎榜净额,在实体k线中间}
drawnumber(strlonghu>0,(o+c)/2,intpart(strlonghu))coloryellow;{黄色为流入}
drawnumber(strlonghu<0,(o+c)/2,intpart(strlonghu))colorwhite;{白色为流出}
strlonghust:=tdxdll1(1,date,9889,str2con(code))nodraw;{三天龙虎榜净额,在实体k线最下面}
drawnumber(strlonghust>0, min(c,o),intpart(strlonghust))coloryellow;{三天黄色为流入}
drawnumber(strlonghust<0, min(c,o),intpart(strlonghust))colorwhite;{三天白色为流出};
drawtext(currbarscount=1,(h+l)/2,externstr(0,9995))coloryellow;{特殊提示,如即将st};
xa:=ref(c,1)/ref(c,3)>=1.2 and o/ref(c,1)<=1.01 and l<ref(c,1) and c/ref(c,1)>1.05;
启动1:=xa and count(xa,4)=1;
stickline(启动1,o,c,2.5,0),coloryellow;
drawicon(启动1,l,24);
drawicon(启动1,l*0.97,25);
drawicon(启动1,l*0.94,26);
drawtext(启动1,l*0.92,'↖涨停风暴'),coloryellow;
上一指标公式:阳光私募行为副图下载
下一指标公式:强势网温柔选股下载
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文涨停板类型主图下载仅供学习研究。