买线:=ema(c,2);
卖线:=ema(slope(c,21)*20+c,42);
bu:=cross(买线,卖线);
sel:=cross(卖线,买线);
drawtext(bu,low,'b'),colorred,linethick3;
drawtext(sel,high,'s'),colormagenta,linethick3;;买:zig(3,10);
卖:ma(买,2);
drawicon(cross(买,卖),l-close/15,"buy");
drawicon(cross(卖,买),h+close/15,"sell");
n:=13;
bc:=(h*0.382+l*0.618+o*0.382+c*0.618)/2;
lj:=if(indexc=c,bc,(bc+amount/(v*100))/2),colorgray;
ht:=ref((hhv(lj,n*0.691)+hhv(lj,n)+hhv(lj,n*1.309))/3,1),linethick,colorred;
lt:=ref((llv(lj,n*0.691)+llv(lj,n)+llv(lj,n*1.309))/3,1),linethick,colorgreen;
zt:=(ht+lt)/2,linethick,coloryellow;
stickline(islastbar=1 and lj<zt,ht,lt,n*8,0),colorblue;
stickline(islastbar=1 and lj=zt,ht,lt,n*8,0),colorgray;
stickline(islastbar=1 and lj>zt,ht,lt,n*8,1),colorwhite;
stickline(islastbar=1,zt,zt,n*8,0),colorwhite;
箱顶:ht,colorwhite,nodraw;
箱底:lt,colorwhite,nodraw;
箱中:zt,colorwhite,nodraw;
n2:=102;
m:=7;
aa:=ma((2*close+high+low)/4,5);
薛通a:aa*n2/100,colorwhite,dotline;
薛通b:aa*(200-n2)/100,colorwhite,dotline;
drawband(薛通a,rgb(120,80,60),薛通b,rgb(0,100,0));
drawkline(h,o,l,c);
bt11:=ma(c,1);
持币:sma(sma(sma(bt11,2,1),2,1),2,1),colorcyan,linethick2;
sma22:=ma(持币,3);
持股:if(持币>sma22,持币,drawnull),colormagenta,linethick2;
stickline(持币,c,o ,1,0 ),colorgreen;
stickline(c>持股,c,o ,1,0 ),colorred;
x1:=(c+l+h)/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 h=hhv(h,gr1),gr1);
gr4:=h=hhv(h,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;
bb13:=atan(ema(x1,13)-ref(ema(x1,13),1))*3.1416*10;
ema8:=ema(c,8);
drawtext(filter(bb13>1 and ema(x1,13)>ref(ema(x1,8),1),10),ema8,'∠角'),colorff80ff,linethick2;
var6:=ref(c,1);工作线17:ema(close,17),coloryellow;
中期线50:ema(close,50),linethick2;
var1:=(close*2+high+low)/4;
sk:= ema(var1,13)-ema(var1,73);
var11:=zig(3,6)>ref(zig(3,6),1)
and ref(zig(3,6),1)<=ref(zig(3,6),2)
and ref(zig(3,6),2)<=ref(zig(3,6),3);
var12:=zig(3,6)<ref(zig(3,6),1)
and ref(zig(3,6),1)>=ref(zig(3,6),2)
and ref(zig(3,6),2)>=ref(zig(3,6),3);
var13:=zig(3,22)>ref(zig(3,22),1)
and ref(zig(3,22),1)<=ref(zig(3,22),2)
and ref(zig(3,22),2)<=ref(zig(3,22),3);
var14:=zig(3,22)<ref(zig(3,22),1)
and ref(zig(3,22),1)>=ref(zig(3,22),2)
and ref(zig(3,22),2)>=ref(zig(3,22),3);
var15:=zig(3,51)>ref(zig(3,51),1)
and ref(zig(3,51),1)<=ref(zig(3,51),2)
and ref(zig(3,51),2)<=ref(zig(3,51),3);
var16:=zig(3,51)<ref(zig(3,51),1)
and ref(zig(3,51),1)>=ref(zig(3,51),2)
and ref(zig(3,51),2)>=ref(zig(3,51),3);
var17:=zig(3,72)>ref(zig(3,72),1)
and ref(zig(3,72),1)<=ref(zig(3,72),2)
and ref(zig(3,72),2)<=ref(zig(3,72),3);
var18:=zig(3,72)<ref(zig(3,72),1)
and ref(zig(3,72),1)>=ref(zig(3,72),2)
and ref(zig(3,72),2)>=ref(zig(3,72),3);
var19:=ema(c,2)-ema(c,150);
买点1:=(var11+var13+var15+var17);
买点2:=(var13+var15+var17);
卖点1:=(var12+var14+var16+var18);
卖点2:=(var14+var16+var18);
stickline( 买点1>0 ,h,l, 10,1),colorwhite,linethick1;stickline( 买点1>0,o,c,6,0),colorwhite,linethick1;
stickline( 买点2>0 ,h,l, 10,1),colorwhite,linethick1;stickline( 买点2>0,o,c,6,0),colorred,linethick1;
stickline( 卖点1>0,h,l, 11,5),colorblue,linethick1;stickline( 卖点1>0,o,c,6,0),colorbrown,linethick1;
stickline( 卖点2>0,h,l, 11,5),colorblue,linethick1;stickline( 卖点2>0,o,c,6,0),colorwhite,linethick1;
drawtext(卖点2>0, h,'顶'),colorblue,linethick3;
drawtext(买点2>0, l,'底'),colorff00ff,linethick3;;
gjtj1:=100*(c-llv(l,5))/(hhv(c,5)-llv(l,5));
gjtj2:=100*(c-llv(l,10))/(hhv(c,10)-llv(l,10));
gjtj3:=100*(c-llv(l,20))/(hhv(c,20)-llv(l,20));
gjtj4:=100*(c-llv(l,30))/(hhv(c,30)-llv(l,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;
huangjin1:=barslast(cross(50,gjtj1))<3 and barslast(cross(gjtj1,50))<3;
huangjin2:=barslast(cross(gjtj4,gjtj1))<2 and gjtj1>gjtj4;
xg:=barslast(cross(gjtj4,gjtj1))<5 and gjtj1>gjtj4;
drawtext(count(xg,3)=1 and xg and c>ma(c,20),l-0.02,'暴'),colorred;买:zig(3,10);
ma(c,3);
t1:=const(hhvbars(v,n));
x:=30;
x1:=const(ref(hhvbars(v,x),t1+1)+t1+1);
y:=(ma(c,5)-ma(c,30))/ma(c,5)*100;
yy1:=c>ma(c,5) and open<ma(c,5);
yy3:=c>ma(c,10) and open<ma(c,10);
yy5:=c>ma(c,30) and open<ma(c,30);
drawtext(yy1 and yy5 and yy3,low*0.97,'龙'),colorred;
var1:=hhv(high,25);
var2:=llv(low,25);
var3:=ema((close-var2)/(var1-var2)*100,20);
var4:=ema((close-var2)/(var1-var2)*100,5);
var5:=cross(var4,var3);
drawicon(cross(var4,var3) ,low*0.97,11);
vard:=ema(close,21)-ema(close,8);
vare:=ema(vard,5);
var10:=if(troughbars(3,16,1)=0 and high>low+0.04,4,0);
var11:=zig(3,6)>ref(zig(3,6),1) and ref(zig(3,6),1)<=ref(zig(3,6),2) and ref(zig(3,6),2)<=ref(zig(3,6),3);
var12:=zig(3,6)<ref(zig(3,6),1) and ref(zig(3,6),1)>=ref(zig(3,6),2) and ref(zig(3,6),2)>=ref(zig(3,6),3);
var13:=zig(3,22)>ref(zig(3,22),1) and ref(zig(3,22),1)<=ref(zig(3,22),2) and ref(zig(3,22),2)<=ref(zig(3,22),3);
var14:=zig(3,22)<ref(zig(3,22),1) and ref(zig(3,22),1)>=ref(zig(3,22),2) and ref(zig(3,22),2)>=ref(zig(3,22),3);
var15:=zig(3,51)>ref(zig(3,51),1) and ref(zig(3,51),1)<=ref(zig(3,51),2) and ref(zig(3,51),2)<=ref(zig(3,51),3);
var16:=zig(3,51)<ref(zig(3,51),1) and ref(zig(3,51),1)>=ref(zig(3,51),2) and ref(zig(3,51),2)>=ref(zig(3,51),3);
var17:=zig(3,72)>ref(zig(3,72),1) and ref(zig(3,72),1)<=ref(zig(3,72),2) and ref(zig(3,72),2)<=ref(zig(3,72),3);
var18:=zig(3,72)<ref(zig(3,72),1) and ref(zig(3,72),1)>=ref(zig(3,72),2) and ref(zig(3,72),2)>=ref(zig(3,72),3);
买2:=(var11+var13+var15+var17);
卖1:=(var12+var14+var16+var18),linethick2;
买1:=var10;
drawtext(买1>0,low-0.01,'\n买\n\n1'),colorred,align0;
drawtext(买2>0,low-0.01,'\n买\n\n2'),colorgreen,align0;
lc:=ref(close,1);
rsi:=sma(max(close-lc,0),4.1,1)/sma(abs(close-lc),4.1,1)*100;
drawicon(cross(84,rsi) ,h*1.03,5);
drawicon(cross(rsi,11) ,l*0.99,4);
var27:=ref(close,1);
var28:=sma(max(close-var27,0),5.5,1)/sma(abs(close-var27),6,1)*100;
上一指标公式:石林买卖指标公式 源码 同花顺买卖
下一指标公式:大资金进入进出指标公式 源码 同花顺进出
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文艾尚客箱体指标公式 源码 同花顺箱体仅供学习研究。