年:=year,nodraw;
月:=month,nodraw;
星期:=weekday,nodraw;
日1:=datetoday(date);
上市日:=ref(date,totalbarscount-currbarscount);
自然日:=日1-datetoday(上市日)+1;
zb:=(自然日-ref(自然日,1))!=星期-ref(星期,1)
or totalbarscount-currbarscount=0;
本周第几天:=barslast(zb)+1;
本月第几天:=barslast(年*100+月!=ref(年*100+月,1))+1;
ma01:=ref(c,本周第几天);
ma02:=ref(ma01,本周第几天);
ma03:=ref(ma02,本周第几天);
ma04:=ref(ma03,本周第几天);
ma05:=ref(ma04,本周第几天);
ma06:=ref(ma05,本周第几天);
ma07:=ref(ma06,本周第几天);
ma08:=ref(ma07,本周第几天);
ma09:=ref(ma08,本周第几天);
十周价:=(c+ma01+ma02+ma03+ma04+ma05+ma06+ma07+ma08+ma09)/10;
击撑价:refdate(十周价,date),colorwhite,dotline;
drawtext(islastbar,击撑价,' 击撑线'),colorwhite;
drawicon(cross(c,击撑价),l-0.16,9),nodraw;zb1:=ema(c,34);
highn:=10;
aa:=ref(c,highn)=hhv(c,2*highn+1);
qy:=backset(aa,highn+1);
cc:=filter(qy,highn) and c=hhv(c,highn+1);
ddd:=barslast(cc);
gdts:=if(cc,currbarscount,0);
dingbu:=if(ddd,ref(c,ddd),c);
dingbu1:=ref(dingbu,ddd+1);
dingbuts:=if(ddd,ref(gdts,ddd),gdts);
gdcs1:=const(dingbuts);
dingbuts1:=ref(dingbuts,ddd+10);
lown:=10;
aa1:=ref(l,lown)=llv(l,2*lown+1);
qy1:=backset(aa1,lown+1);
cc1:=filter(qy1,lown) and l=llv(l,lown+1);
ddts:=if(cc1,currbarscount,0);
dd1:=barslast(cc1);
ddts1:=if(dd1,ref(ddts,dd1),ddts);
ddcs1:=const(ddts1);
gdcs2:=const(dingbuts1);
dingbu2:=ref(dingbu1,ddd+1);
ddts2:=ref(ddts1,dd1+1);
ddcs2:=const(ddts2);
//{短t}
zz:=5;
ac:=ref(c,zz)=hhv(c,2*zz+1);
ad:=backset(ac,zz+1);
ae:=filter(ad,zz) and c=hhv(c,zz+1);
af:=barslast(ae);
ag:=if(ae,currbarscount,0);
ah:=if(af,ref(c,af),c);
ai:=if(af,ref(ag,af),ag);
al:=const(ai);
短t:drawline(currbarscount=al,c,islastbar,ref(c,al-1),1),dotline,colorblue;
t线:drawline(currbarscount=gdcs1,c,islastbar,ref(c,gdcs1-1),1),dotline,colorcyan;
过t:if(cross(c,t线),t线,drawnull),circledot,coloryellow;
drawicon(cross(c,t线),l*0.98,7);
drawicon(cross(t线,c),h*1.01,8);
drawicon(cross(c,短t),l*0.98,7);
drawicon(cross(短t,c),h*1.01,8);
获利比:winner(c)*100,nodraw;
t1:=const(llvbars(low,10));
t1high:=const(ref(high,t1));
rr:=const(currbarscount);
t2:=const(barslast(currbarscount>cc+t1 and h>t1high));
t2high:=const(ref(high,t2));
t3:=const(barslast(currbarscount>cc+t2 and high>t2high));
t3high:=const(ref(high,t3));
猎击线:drawline(currbarscount=t3+1, t3high, islastbar, t3high, 1),linethick2,coloryellow;
drawtext(islastbar, t3high, '必杀线'),linethick1,coloryellow;
生命线:ma(close,60),colorgreen,linethick3,nodraw;
//{暴跌买入}
tj1:=ema((c-l),20)/ema((h-l),20)*100;
tj2:=(l-abs(min(c,o)))/l<=1;
tj3:=abs((l-ma(c,5)))/l*100>10;
tj4:=tj1 and tj2 and tj3;
drawtext(tj4 and tj1>ref(tj1,1),low*0.95,'bd'),colorred;
drawicon(tj4 and tj1>ref(tj1,1),l*0.95,1);
//{暴涨}
dif:=ema(dclose,12)-ema(dclose,26);
dea:=ema(dif,9);
aaa:=(dif-dea)*2*60;
起爆:=cross(aaa-ref(aaa,1),15),colorred,linethick1;
drawtext(起爆,l*0.99,'↖爆'),coloryellow,linethick2;
中界点 : dma(ma(close+ref(close,5)/close*0.098,90),vol),,colorred;
ma20:ma(close,20),dotline;
ma60:ma(close,60),coloryellow;
ma120:=ma(close,120);
ma250:=ma(close,250);
ma5:ma(close,5),dotline,nodraw;
ma30:ma(close,30),dotline,nodraw;
ma10:ma(close,10),dotline,nodraw;
drawicon(cross(zig(3,10) ,ref(zig(3 ,10),1)) ,low*0.98,1);
drawicon(cross(ref(zig(3,10),1),zig(3,10)) ,high*1.02,2);
drawtext_fix(islastbar,0.18,0.01,1,'上市日期:'),color00ff00;
drawnumber_fix(islastbar,0.18,0.01,0,finance(42)),color00ff00;
//drawtext_fix(1,0.01,0.13,0,externstr(0,1)),colorred;
//drawtext_fix(1,0.26,0.01,0,externstr(0,2)),colordd00dd;
//drawtext_fix(1,0.01,0.066,0,externstr(0,3)),color00dd00;
//drawtext_fix(islastbar ,0.06,0.01,1,dyblock),coloryellow;
//drawtext_fix(islastbar ,0.065,0.01,0,hyblock),coloryellow;
stickline(c/ref(c,1)>1.095,c,o,2,0),colorlimagenta;
varzt:=barslast(c/ref(c,1)>1.094);
drawtext(varzt=2,l*0.95,'3t'),colorwhite;
drawtext(varzt=4,h*1.06,'5t'),colorwhite;
drawtext(varzt=7,l*0.95,'8t'),colorwhite;
drawtext(varzt=12,h*1.06,'13t'),colorwhite;
drawtext(varzt=20,l*0.95,'21t'),colorwhite;
drawtext(varzt=33,h*1.06,'34t'),colorwhite;
drawtext(varzt=54,l*0.95,'55t'),colorwhite;
drawtext(varzt=88,h*1.06,'89t'),colorwhite;
drawtext(varzt=143,l*0.95,'144t'),colorwhite;
drawtext(varzt=232,h*1.06,'233t'),colorwhite;
drawtext(varzt=376,l*0.95,'377t'),colorwhite;
c6:=ref(c,1);
涨停:=if((c-c6)*100/c6>=(10-0.01*100/c6),1,0),nodraw;
stickline(涨停,open,close,2,0),nodraw;
stickline(涨停,h,l,0,0),nodraw;
跌停:=if((c6-c)*100/c6>=(10-0.01*100/c6),1,0),nodraw;
stickline(跌停,open,close,2,0),nodraw;
stickline(跌停,h,l,0,1),nodraw;
ma13:=ma(c,13),coloryellow;
ma21:=ma(c,21),colorwhite;
支撑线:=(ma(close,3)+ma(close,6)+ma(close,12)+ma(close,24))/4;
lc:=ref(close,1);
操作线:=sma(max(close-lc,0),2,1)/sma(abs(close-lc),2,1)*100;
趋势线:=sma(max(close-lc,0),14,1)/sma(abs(close-lc),14,1)*100;
震仓线:=45;
震仓线2:=50;
逃命线:=80;
抄底线:=20;
绝底线:=5;
pp2:=操作线<震仓线2 and ref(操作线,1)>震仓线2 ;
pp:=操作线<震仓线 and ref(操作线,1)>震仓线 ;
pp3:=操作线<抄底线 and ref(操作线,1)>抄底线;
hh:=count(涨停,13)>=1;
stickline(pp2 and hh,open,close,0.8,0),colorblue;
stickline(pp and hh,open,close,0.8,0),colorblue;
stickline(pp3 and hh,open,close,0.8,0),colorblue;
a:=sma(l,4,3) ;
stickline(a and ref(pp,1) and hh ,a*0.9999,a*0.9979,5,0),coloryellow;
drawicon(a and ref(pp,1) and hh,l*0.98,1),nodraw;
stickline(a and ref(pp3,1) and hh ,a*0.9999,a*0.9979,5,0),coloryellow;
drawicon(a and ref(pp3,1) and hh,l*0.98,1),nodraw;
dd:=c;实时:refdate(dd,date),dotline,colormagenta,linethick1;
rsi:=((sma(max((close - lc),0),3,1) / sma(abs((close - lc)),3,1)) * 100);
ff:=ema(close,3);
ma15:=ema(close,21);
drawtext(cross(ff,ma15),(low * 0.99),'底'),colorgreen,nodraw;
drawtext(cross(88,rsi),(high * 1.02),'顶'),colorcyan,nodraw;
n:=150;判断高低:=3;
高:=ref(hhv(h,n),判断高低);
近期顶:refdate(高,date),colorgreen,linethick1;
上一指标公式:剑锋金--旺兔2+顶底买卖点+旺兔金底顶+小李精准+短线反弹+建仓8机构选仓牛股+吸筹+顶底专用+心理威廉+顶底伴侣指标公式详解 同花顺剑锋
下一指标公式:神奇黑马指标公式详解 同花顺黑马
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文熊哥必杀主指标公式详解 同花顺必杀仅供学习研究。