自用主图改进版
rsv1:=(close-llv(low,n))/(hhv(high,n)-llv(low,n))*100;
rsv2:=(close-llv(low,m))/(hhv(high,m)-llv(low,m))*100;
j1:=3*sma(rsv1,p,1)-2*sma(sma(rsv1,p,1),p,1);
j2:=3*sma(rsv2,p,1)-2*sma(sma(rsv2,p,1),p,1);
支撑位:if(cross(j1,j2),low,ref(low,barslast(cross(j1,j2)))),linethick3,colorff;
压力位:if(cross(j2,j1),high,ref(high,barslast(cross(j2,j1)))),linethick3,colorff0000;
yc_var1:=ema(close,5);
yc_var2:=ema(close,10);
yc_var3:=ema(close,20);
yc_var4:=ema(close,30);
yc_var5:=(yc_var1+yc_var2+yc_var3+yc_var4)/4;
yc_var6:=(yc_var5-ref(yc_var5,15))/ref(yc_var5,15)*100;
yc_买进:=((close-ref(ma(close,6),1))/6+ma(close,6))*1.004;
买进条件:=cross(close,yc_买进) and yc_买进>ref(yc_买进,1);
yc_加仓:=((close-ref(ma(close,18),1))/18+ma(close,18))*1.004;
加仓条件:=cross(close,yc_加仓) and yc_加仓>ref(yc_加仓,1);
yg_回挡:=sma(high,21,2)*1.05;
yg_卖出:=close<ref(close,1) and high>yg_回挡 and close<yg_回挡;
◆满仓:买进条件 and 加仓条件,linethick0;
drawtext(加仓条件 and 买进条件<>1,low/1.01,'加\n仓'),align0;
drawtext(加仓条件 and 买进条件,low/1.01,'◆\n满\n仓'),align0;
ma20:ma(close,20),linethick0;
tj1:=close>=ma20;
tj2:=close<ma20;
stickline(tj1,low,high,0,0),color1122ff;
stickline(tj1,open,close,7,0),color1122ff;
stickline(tj2,low,high,0,0),color22ff55;
stickline(tj2,open,close,7,0),color22ff55;
a1:=amount/vol;
a2:=low<a1*0.9;
a3:=(close-ref(close,1))/ref(close,1)*100>1.2;
a4:=low<ma(close,5)*0.921;
a5:=vol<ma(vol,5)*1.5;
ff1:a2 and a3 and a4 and a5,linethick0;
drawtext(ff1,low*0.95,'底'),pxup8,colorff00;
stickline(ff1,high,low,0.5,0),colorff00;
stickline(ff1,open,close,9,6),linethick2,colorff00;
drawicon(ff1,low,4),pxup6;
a0:=barscount(close);
a3:=sysparam(3);
a2:=sysparam(2);
a4:=sysparam(4);
a5:=sysparam(5);
nn0:=a3-a2;
nn:=a0-a2;
hh1:=(a4-a5)/8;
hh2:=hh1/4;
ll1:=llv(low,nn0);
ll2:=ll1[a3];
y0:=a0>=a2;
vv0:=if(y0=1 and sysparam(1)>=a0,vol,0);
c1:=if(between(close,a4-0*hh1,a4-1*hh1),vv0,0);
c2:=if(between(close,a4-1*hh1,a4-2*hh1),vv0,0);
c3:=if(between(close,a4-2*hh1,a4-3*hh1),vv0,0);
c4:=if(between(close,a4-3*hh1,a4-4*hh1),vv0,0);
c5:=if(between(close,a4-4*hh1,a4-5*hh1),vv0,0);
c6:=if(between(close,a4-5*hh1,a4-6*hh1),vv0,0);
c7:=if(between(close,a4-6*hh1,a4-7*hh1),vv0,0);
c8:=if(between(close,a4-7*hh1,a4-8*hh1),vv0,0);
c9:=if(between(close,a4-8*hh1,a4-9*hh1),vv0,0);
c10:=if(between(close,a4-9*hh1,a4-10*hh1),vv0,0);
v1:=strtonum(numtostr(if(islastbar,sum(c1,nn0),0),2));
v2:=strtonum(numtostr(if(islastbar,sum(c2,nn0),0),2));
v3:=strtonum(numtostr(if(islastbar,sum(c3,nn0),0),2));
v4:=strtonum(numtostr(if(islastbar,sum(c4,nn0),0),2));
v5:=strtonum(numtostr(if(islastbar,sum(c5,nn0),0),2));
v6:=strtonum(numtostr(if(islastbar,sum(c6,nn0),0),2));
v7:=strtonum(numtostr(if(islastbar,sum(c7,nn0),0),2));
v8:=strtonum(numtostr(if(islastbar,sum(c8,nn0),0),2));
v9:=strtonum(numtostr(if(islastbar,sum(c9,nn0),0),2));
v10:=strtonum(numtostr(if(islastbar,sum(c10,nn0),0),2));
av0:=max(v1,max(v2,max(v3,max(v4,max(v5,max(v6,max(v7,max(v8,max(v9,v10)))))))));
x1:=v1/av0>=nn/nn0 and nn>=0;
x3:=v3/av0>=nn/nn0 and nn>=0;
x5:=v5/av0>=nn/nn0 and nn>=0;
x7:=v7/av0>=nn/nn0 and nn>=0;
fillrgn(v1/av0>=nn/nn0 and nn>=0,a4-0*hh1,a4-1*hh1+hh1*0.5),color666666;
fillrgn(v2/av0>=nn/nn0 and nn>=0,a4-1*hh1,a4-2*hh1+hh1*0.5),color666666;
fillrgn(v3/av0>=nn/nn0 and nn>=0,a4-2*hh1,a4-3*hh1+hh1*0.5),color666666;
fillrgn(v4/av0>=nn/nn0 and nn>=0,a4-3*hh1,a4-4*hh1+hh1*0.5),color666666;
fillrgn(v5/av0>=nn/nn0 and nn>=0,a4-4*hh1,a4-5*hh1+hh1*0.5),color666666;
fillrgn(v6/av0>=nn/nn0 and nn>=0,a4-5*hh1,a4-6*hh1+hh1*0.5),color666666;
fillrgn(v7/av0>=nn/nn0 and nn>=0,a4-6*hh1,a4-7*hh1+hh1*0.5),color666666;
fillrgn(v8/av0>=nn/nn0 and nn>=0,a4-7*hh1,a4-8*hh1+hh1*0.5),color666666;
a:=barscount(close);
ah:=hhv(high,72);
al:=llv(low,72);
a0:=(ah-al)/21;
b1:=low-a0;
stickline((a+0)/13=floor((a+0)/13),b1,b1-3*a0,1,0);
drawtext((a+0)/13=floor((a+0)/13),b1-2.5*a0,'变'),colorff0000;
x1:=(close+low+high)/3;
x2:=ema(x1,6);
x3:=ema(x2,5);
gr1:=barslast(between("bias.bias2"(6,13,24),0,5));
gr2:=ema(x1,13)>ema(x1,21) and ema(x1,21)>ema(x1,34) and ema(x1,13)>ref(ema(x1,13),1);
gr3:=count("bias.bias2"(6,13,24)>10 and high=hhv(high,gr1),gr1);
gr4:=high=hhv(high,gr1);
gr5:="macd.macd"(12,26,9)<ref("macd.macd"(12,26,9),1);
gr6:=gr2 and gr3 and gr4;
gr7:=gr2 and gr3 and gr4 and gr5;
gr8:=gr6 and gr7;
lc:=ref(close,1);
rsi6:=(sma(max(close-lc,0),6,1))/(sma(abs(close-lc),6,1))*100;
bias5:=(close-ma(close,13))/ma(close,13)*100;
换手:=100*vol/capital;
bb13:=(atan(ema(x1,13)-ref(ema(x1,13),1)))*3.1416*10;
ema8:=ema(close,8);
cc:=(high-close)/(close-open)<0.33;
dd:=close/ref(close,1)-1>=0.0502 and close>ref(close,1) and (open-low)/(close-open)>=1.48 and low<ref(low,1) and low<ref(low,2);
ee:=close/ref(close,1)-1>=0.08;
aa:=vol>ref(vol,1)*1.9 and close>ref(close,1) and close/ref(close,1)-1>=0.049 and cc;
bb:=close/ref(close,1)-1>=0.0502 and close>ref(close,1) and vol>ref(vol,1) and vol>ref(vol,1)*2.5 and cc;
drawtext(filter(aa or bb or dd or ee,34),low,'\n异\n动'),colorffaa66;
注意逃:=if(cross(3*sma((close-llv(low,27))/(hhv(high,27)-llv(low,27))*100,5,1)-2*sma(sma((close-llv(low,27))/(hhv(high,27)-llv(low,27))*100,5,1),3,1),90),60,0);
drawicon(注意逃,high*1.01,5);
drawtext(注意逃,high*1.01,'逃'),shift1,colorff00;
vertline(注意逃),colorff00;
v1:=ref(close,1);
v2:=(sma(max(close-v1,0),6,1))/(sma(abs(close-v1),6,1))*100;
drawicon(if(cross(81,v2),1,0),high*1.03,10);
逃:=if(cross(3*sma((close-llv(low,27))/(hhv(high,27)-llv(low,27))*100,5,1)-2*sma(sma((close-llv(low,27))/(hhv(high,27)-llv(low,27))*100,5,1),3,1),90),60,0);
drawicon(逃,high*1.01,5);
drawtext(逃,high*1.01,'逃'),shift2,colorff00;
vertline(逃),colorff00;
a:=barscount(close);
ah:=hhv(high,200);
al:=llv(low,200);
b0:=(ah-al)/40;
b1:=high+b0;
b2:=low-b0;
stickline((a+0)/34=floor((a+0)/34),b2,b2-3*b0,3,0),colorffff;
drawtext((a+0)/34=floor((a+0)/34),b2-2*b0,'\n时\n间\n窗'),colorffffff;
close>ref(close,1)*1.096,colorffff;
yc:=indexc;
yo:=indexo;
c1:=ema(indexc,250)/ema(close,250);
tj1:=if(barstatus=1,close,ref(close,barslast(barstatus=1)));
tj2:=if(barstatus=1,yc/c1,ref(yc/c1,barslast(barstatus=1)));
x1:=tj1-tj2;
d0:=indexo/c1;
dc:=indexc/c1;
dh:=indexh/c1;
dl:=indexl/c1;
tjg:=close>open or close=open and close>ref(close,1);
tjd:=yc>yo or yc=yo and yc>ref(yc,1);
大盘:stickline(tjd,dh+x1,dl+x1,0,0),colorff00ff;
stickline(tjd,dc+x1,d0+x1,5,0),colorff00ff;
stickline(not(tjd),dl+x1,dh+x1,0,0),colorff00;
stickline(not(tjd),dc+x1,d0+x1,5,0),colorff00;
ma5:=ma(close,5);
ma10:=ma(close,10);
ma30:=ma(close,30);
fa:=barslast(cross(ma10,ma5)) and cross(ma5,ma10);
fb:=fa and ma5>ma30 and ma10>ma30 and ma10>ref(ma10,1);
stickline(fb,low,low-0.09,4,0),colorffffff;
drawtext(fb,low-0.13,'牛'),align0,colorffffff;
zdf:=(close-ref(close,1))/ref(close,1)*100;
stickline(zdf>9.8,open,close,6,0),colorffff;
上一指标公式:长征三号(主图+选股+附图)公式下载 飞狐长征指标 源码
下一指标公式:股底神探(副图指标)公式下载 飞狐神探源码指标 源码
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文自用主图改进版(主图指标)公式下载 飞狐自用指标 源码仅供学习研究。