drawtext((sysparam(2) = barpos),close,('版块:' + blkname)),align4;
drawtextex(close,1,10,50,'收益:'+ numtostr(finance(33),2)+' 元'),colorffb060;
drawtextex(close,1,200,50,'净资产:'+numtostr(finance(34),2 )+' 元'),colorffb060;
drawtextex(close,1,10,100,'流通股:'+ numtostr(finance(7)/10000,2)+' 亿'),colorffb060;
drawtextex(close,1,200,100,'占总股本:'+numtostr(finance(7)/finance(1)*100 ,2)+' %'),colorffb060;
{均线系统}
ma5:ma(close,5);
ma10:ma(close,10);
ma20:ma(close,20);
ma60:ma(close,60);
{通用条件}
lastk:=(refx(islastbar,2)=0);
上涨:=close>ref(close,1);
未跌破:=refx(close,1)>low and refx(close,2)>low and refx(close,3)>low;
缩量:=vol>0.35*(refx(vol,1)+refx(vol,2)+refx(vol,3)) and vol>refx(vol,1);{1.05/3,5%}
逐级缩量:=vol>refx(vol,1) and refx(vol,1)>refx(vol,2) and refx(vol,2)>refx(vol,3);
逐级价升:=close<refx(close,1) and refx(close,1)<refx(close,2) and refx(close,2)<refx(close,3);
{倍量柱}
倍量柱:vol>=(ref(vol,1)+ref(vol,1))*0.9,linethick0,colorwhite;
{高量柱}
高量柱:vol>0.3*(ref(sum(vol,3),1)+refx(sum(vol,3),3)) and vol>ref(vol,1) and vol>refx(vol,1),linethick0,colorwhite;{1.8/6,1.8倍}
{平量柱}
平量柱:vol>refx(vol,1)*0.97 and vol<refx(vol,1)*1.03 and vol>=2*ref(vol,1),linethick0,colorwhite;
{梯量柱}
梯量柱:vol>ref(vol,1) and ref(vol,1)>ref(vol,2) and close>ref(close,1) and ref(close,1)>ref(close,2),linethick0,colorwhite;{虽然是梯量柱,但也不能太小}
{将军柱}
将军柱:lastk and 上涨 and 未跌破 and (倍量柱 or 高量柱 or 平量柱 or 梯量柱),linethick0,coloryellow;
{黄金柱}
黄金柱:将军柱 and 缩量,linethick0,coloryellow;
{标准黄金柱}
标准黄金柱:黄金柱 and 逐级缩量 and 逐级价升,linethick0,colorred;
{输出}
drawicon(黄金柱 and 标准黄金柱=0 and barslast(ref(黄金柱,1))>1,low,8),colorred;
drawicon(标准黄金柱,low,4),colorred;
drawicon(将军柱 and barslast(ref(将军柱,1))>1 and barslast(黄金柱)>1,low,10),colorred;
ma135:=ma(vol,135);
tj1:=(vol=hhv(vol,10) and vol>1.7*ref(vol,1) and close>=ref(close,1) and close>=open and vol<=ma135*3.5);
ljl:=filter(tj1,3);
tj3:=if(barslast(ljl)=1 and close>ref(low,3),1,0);
st:=tj3=1;
cl:=filter(st,3);
stickline(close,ref(low,barslast(cl)),ref(low,barslast(cl)),5,0),coloryellow;
stickline(close,ref(low,barslast(ljl)),ref(low,barslast(ljl)),5,0),colorcyan;
stickline(ljl,open,close,6,0),coloryellow;
drawtext(ljl,low*0.99,'支撑'),colorf00ff0;
gjtj1:=100*(close-llv(low,5))/(hhv(close,5)-llv(low,5));
gjtj2:=100*(close-llv(low,10))/(hhv(close,10)-llv(low,10));
gjtj3:=100*(close-llv(low,20))/(hhv(close,20)-llv(low,20));
gjtj4:=100*(close-llv(low,30))/(hhv(close,30)-llv(low,30));
baijin1:=barslast(cross(30,gjtj1))<2 and barslast(cross(gjtj1,50))<2;
baijin2:=barslast(cross(gjtj4,gjtj1))<2 and gjtj1>gjtj4;
baijin3:=gjtj1>60 and gjtj4>70;
drawtext(baijin1 and baijin2 and baijin3,low-0.02,'白金');
huangjin1:=barslast(cross(50,gjtj1))<3 and barslast(cross(gjtj1,50))<3;
huangjin2:=barslast(cross(gjtj4,gjtj1))<2 and gjtj1>gjtj4;
drawtext(huangjin1 and huangjin2,low-0.03,'黄金');
xg:=barslast(cross(gjtj4,gjtj1))<5 and gjtj1>gjtj4;
drawtext(count(xg,3)=1 and xg and close>ma(close,20),low-0.02,'暴涨启动'),colorred;
zhencang1:=barslast(cross(gjtj4,gjtj1))>3 and barslast(cross(gjtj1,gjtj4))<3;
zhencang2:=barslast(cross(gjtj4,gjtj2));
zhencang3:=gjtj3<gjtj4 and gjtj2<gjtj4;
zhencang4:=barslast(cross(gjtj4,gjtj3))>3 and barslast(cross(gjtj1,gjtj4))<3;
zhencang5:=gjtj2<gjtj3 and gjtj1=100;
zcb1:=zhencang1>0 and ref(zhencang1,1)=0 and ref(zhencang1,2)>0;
drawtext(zhencang1 and zhencang2 and zhencang3 and zhencang4 and zhencang5,low-0.05,'震仓启点');
aa:=barslast(cross(97,gjtj1))<=1 and barslast(cross(gjtj1,85))<=1;
bb:=barslast(cross(97,gjtj2))<=1 and barslast(cross(gjtj2,85))<=1;
aa1:=aa and bb;
aaa:=barslast(cross(97,gjtj1))<=2 and barslast(cross(gjtj1,85))<=1;
baa:=barslast(cross(97,gjtj2))<=2 and barslast(cross(gjtj2,85))<=1;
aa2:=aa and bb ;
aaaa:=barslast(cross(97,gjtj1))<=3 and barslast(cross(gjtj1,85))<=1;
baaa:=barslast(cross(97,gjtj2))<=3 and barslast(cross(gjtj2,85))<=1;
aa3:=aaaa and baaa ;
bb1:=ref(aa1,1);
bb2:=ref(aa2,1);
bb3:=ref(aa3,1);
dd1:=gjtj1=100 and gjtj2=100 and aa1 ;
dd2:=gjtj1=100 and gjtj2=100 and aa2 ;
dd3:=gjtj1=100 and gjtj2=100 and aa3 ;
drawtext(dd1 or dd2 or dd3,low-0.02,'短线追涨');
aw:=barslast(cross(95,gjtj1))<=2;
bw:=barslast(cross(95,gjtj2))<=2;
ew:= gjtj4<gjtj1 and gjtj1<gjtj3;
fw:=gjtj2>50 and gjtj3>50;
gw:=gjtj1=100 and gjtj2=100;
txw:=count(gw,2)=1;
drawtext(aw and bw and ew and fw and txw,low-0.03,'起涨首日');
aq:=gjtj3=100;
bq:=gjtj4<90;
drawtext(count(aq,2) = 2 and bq,low-0.02,'波启前兆');
aa1:=amount/vol;
bb1:=low<aa1*0.9;
cc1:=(close-ref(close,1))/ref(close,1)*100>1.2;
dd1:=low<ma(close,5)*0.921;
ee1:=vol<ma(vol,5)*1.5;
老鼠仓:=bb1 and cc1 and dd1 and ee1,linethick0;
drawtext(老鼠仓,(low* 0.99),'老鼠仓'),color40ccff;
上一指标公式:2短线三浪公式 飞狐指标 源码
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文不错的主图公式 飞狐指标 源码仅供学习研究。