☆神针买卖
支撑价:llv(low,19),linethick2 , color00ff00;
阻力价:hhv(high,19),colorblue, linethick2;
var1:=ema(close,12)-ema(close,26);
var2:=ema(var1,9);
var3:=(close*2.5/100+close);
var4:ema(c,3);
var5:=llv(high,240);
var6:=100*(close-var5)/var5;
var7:=ema(100*(close-llv(low,100))/(hhv(high,100)-llv(low,100)),5)/4;
var8:=slope(close,10);
drawtext(filter(var7>23,8),h,'别贪'), color00ff00;
drawicon(count(ref(var4,1)<ref(var4,2),5)=5 and var4>ref(var4,1),l*0.98,4);
drawicon(filter(count(var6<0,5)and cross(var6,0)and var7>ref(var7,1)and var8>ref(var8,1)and c>o,3),l,1);
drawicon(filter(ref(var4,1)>ref(var4,2)and var4<ref(var4,1)and var7>17 and var1>var2,5),h,2);
drawicon(阻力价>ref(阻力价,1)and cross(阻力价,var3)and c<o,h*1.02,5);
yyzq:=(sysparam(3)-sysparam(2))/1.6;
fill:=barscount(c)>sysparam(2) and barscount(c)<if(sysparam(3)-sysparam(2)>10,sysparam(2)+intpart(yyzq/2),10);
pich:=refx(hhv(sysparam(4),yyzq),yyzq);
picl:=refx(llv(sysparam(5),yyzq),yyzq);
fillrgn(ref(fill,1) and refx(fill,1),refx(pich,yyzq),refx(picl,yyzq)),color3a630e;
zhh:=h;
zgf1 := zhh/1.0809; zgf2 := zhh/1.1618;
zgf3 := zhh/1.0809/1.1618; zgf4 := zhh/1.1618/1.1618;
drawtextex(sysparam(3)=barpos,0,2,106,' 【第一回调位】:'+numtostr(zgf1[sysparam(1)],2)+'-'+numtostr(zgf2[sysparam(1)],2)+''),linethick2,colorff00ff;
drawtextex(sysparam(3)=barpos,0,2,124,' 【第二回调位】:'+numtostr(zgf3[sysparam(1)],2)+'-'+numtostr(zgf4[sysparam(1)],2)+''),linethick2,colorff00ff;
zll:=l;
zgfb1:=zll*1.0809; zgfb2 := zll*1.1618; zgfb3 := zll*1.0809*1.1618; zgfb4 := zll*1.1618*1.1618;
drawtextex(sysparam(3)=barpos,0,2,148,' 【第一压力位】:'+numtostr(zgfb1[sysparam(1)],2)+''+'--'+numtostr(zgfb2[sysparam(1)],2)+''),linethick2,colorff00ff;
drawtextex(sysparam(3)=barpos,0,2,166,' 【第二压力位】:'+numtostr(zgfb3[sysparam(1)],2)+''+'--'+numtostr(zgfb4[sysparam(1)],2)+''),linethick2,colorff00ff;
drawtextex(sysparam(3)=barpos,0,2,190,' 【起点价:'+numtostr(zll[sysparam(1)],2)+'】'),colorff00ff;
drawtextex(sysparam(3)=barpos,0,80,190,' 【回点价:'+numtostr(zhh[sysparam(1)],2)+'】'),colorff00ff;
drawtextex(1,10,10,15,'■所属板块:'+blkname),color00ff00;
drawtextex(1,0,23,30,stklabel+' '+stkname),linethick1,colorfffffc;
rh:=h-l;
r:=dynainfo(14)*100;
drawtextex(1,0,10,45,' 日高低差:'+numtostr(rh,2)+'元'),colorwhite;
金叉:=barslast(filter(cross("kd.k","kd.d") and "kd.d"<30,13));
主力吸筹区:=if(金叉>0 and 金叉<61,金叉,0);
drawtextex(1,0,10,60,' 主力建仓天数:'+numtostr(主力吸筹区,0)+'天'),colorfffffc,linethick1;
ma30:=ema(close,30);
ma60:=ema(close,60);
ma125:=ema(close,125);
ma250:=ema(close,250);
a1:=ma30[sysparam(1)];
ra1:=ma30[sysparam(1)-1];
jt1:=if(a1>ra1,'↑','↓');
sz1:='\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n ma30: '+numtostr(ma30[sysparam(1)],2)+jt1;
drawtext(barpos=sysparam(2),close,sz1),align4,colorgreen;
a2:=ma60[sysparam(1)];
ra2:=ma60[sysparam(1)-1];
jt2:=if(a2>ra2,'↑','↓');
sz2:='\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n ma60: '+numtostr(ma60[sysparam(1)],2)+jt2;
drawtext(barpos=sysparam(2),close,sz2),align4,colorgreen;
a3:=ma125[sysparam(1)];
ra3:=ma125[sysparam(1)-1];
jt3:=if(a3>ra3,'↑','↓');
sz3:='\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n ma125:'+numtostr(ma125[sysparam(1)],2)+jt3;
drawtext(barpos=sysparam(2),close,sz3),align4,colorgreen;
a4:=ma250[sysparam(1)];
ra4:=ma250[sysparam(1)-1];
jt4:=if(a4>ra4,'↑','↓');
sz4:='\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n ma250:'+numtostr(ma250[sysparam(1)],2)+jt4;
drawtext(barpos=sysparam(2),close,sz4),align4,colorgreen;
{换手100%}
svol:=intpart(sum(v,0)/capital);
tj0:=svol>ref(svol,1) or barssince(close)=0;
s1:=barslast(tj0)+1,precision,colorwhite;//时间1
tj2:=s1<ref(s1,1);//取点
s2:=if(tj2,ref(s1,1)+1,s1),precision,colormagenta;//时间2
s3:=sum(tj2,0),colormagenta;
阶段总额(万元):=sum(amount/10000,s2)*100,precision,linethick,color008bfa;//换手100%成交额
阶段总量(手):=sum(v,s2)*100,precision,linethick,colorcyan;//换手100%成交量
阶段成本(元):=(阶段总额(万元)/(阶段总量(手)/100)),linethick,precision2,colorred;
drawtextex(1,0,10,75,' ■阶段平均成本:'+numtostr(阶段成本(元)[sysparam(1)],2)+'(元)'),align4,colorcyan;
aa3:=sumbars(vol,capital);
换手成本:=if(capital>0,sum(amount,aa3)/sum(vol,aa3)/100,ema(close,120));{100%换手平均成本线};
drawtextex(1,0,10,90,' 换手成本:'),coloryellow;
drawtextex(1,0,70,90,numtostr(换手成本,2)),coloryellow;
上一指标公式:奥运熊猫公式 飞狐熊猫指标 源码
下一指标公式:☆发现老鼠仓公式 飞狐老鼠指标 源码
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文☆神针买卖公式 飞狐买卖指标 源码仅供学习研究。