n1:=5;
n2:=10;
n3:=20;
n4:=30;
p:=2;
m:=20;
n:=250;
m1:=55;
w:=21;
p3:=500;
n9:=90;
hr:=hhv(high,m1);
hry:=llv(low,m1);
hry11:=hr*hry;
hry33:sqrt(hry11),colorgreen,linethick2;
if(c>hry33 and hry33 >=ref(hry33 ,1), hry33 ,drawnull),linethick2,colorred;
ma1:ema(close,n1);
ma2:ema(close,n2);
ma3:ema(close,n3),color00ffff;
ma4:ema(close,n4),linethick2;
tj1:=cross(ma1,ma2) and c>o and c>ref(c,1) and c/ref(c,1)>=1.018
or cross(ma1,ma4) and c>o and c>ref(c,1) and c/ref(c,1)>=1.018
or cross(ma2,ma3) and c>o and c>ref(c,1) and c/ref(c,1)>=1.018
or cross(ma1,ma3) and c>o and c>ref(c,1) and c/ref(c,1)>=1.018;
tj2:=(max(ma1,max(ma2,ma3))-min(ma1,min(ma2,ma3)))/
min(ma1,min(ma2,ma3))*100<=p;
xg:=tj1 and tj2;
rsv:=(close-llv(low,9))/(hhv(high,9)-llv(low,9))*100;
k:=sma(rsv,3,1);
d:=sma(k,3,1);
diff:= ema(close,12) - ema(close,26);
dea :=ema(diff,9);
macd:=2*(diff-dea);
做多:=if(k>d and macd>0 and v>1,2,0),colorred;
做空:=if(k<d and macd<0 and v>1,-2,0),color00ff00;
强洗:=if(macd>0 and k<d and v>1,1,0),color0099ff;
弱升:=if(macd<0 and k>d and v>1,-1,0),colorffff00;
stickline(做多 and c>=o,c,o,3,1),colorred;
stickline(做多 and c<o,c,o,3,0),color990099;
stickline(做多 and c<o,c,o,1,0),colorcc00cc;
stickline(做多 and c<o,c,o,0.3,0),colorff00ff;
stickline(做多 and c>=o,c,o,3,1),color0000ff;
{stickline(做多 and c>=o,c,o,1.5,0),color0000dd;
stickline(做多 and c>=o,c,o,0.4,0),color0000ff;}
stickline(做空 and c>=o,l,h,0.1,0),color0000ff;
stickline(做空 and c>=o,c,o,3,1),color00ff00;
{stickline(做空 and c<o,c,o,3,0),color00ff00;
stickline(做空 and c<o,c,o,0.3,0),color00ff00;
stickline(做空 and c<o,c,o,0.3,0),color00ff00;}
stickline(强洗 and c>=o,l,h,0.1,0),color0000ff;
stickline(强洗 and c>=o,c,o,3,1),colorffffff;
stickline(强洗 and c<o,c,o,3,0),color999999;
stickline(强洗 and c<o,c,o,1,0),colorcccccc;
stickline(强洗 and c<o,c,o,0.3,0),colorffffff;
stickline(弱升 and c>=o,c,o,3,1),color00ffff;
stickline(弱升 and c<o,c,o,3,0),color009999;
stickline(弱升 and c<o,c,o,0.3,0),color00ffff;
stickline(filter(tj1,3),c,o,4,0),color0000ff;
drawicon(filter(xg,3),l*0.985,23);
get:=zig(3,3),coloryellow;
pl5:=zig(3,5);
en1:=zig(3,5)>ref(zig(3,5),1) and ref(zig(3,5),1)<=ref(zig(3,5),2) and ref(zig(3,5),2)<=ref(zig(3,5),3);
ex1:=zig(3,5)<ref(zig(3,5),1) and ref(zig(3,5),1)>=ref(zig(3,5),2) and ref(zig(3,5),2)>=ref(zig(3,5),3);
pl10:=zig(3,10);
en2:=zig(3,10)>ref(zig(3,10),1) and ref(zig(3,10),1)<=ref(zig(3,10),2) and ref(zig(3,10),2)<=ref(zig(3,10),3);
ex2:=zig(3,10)<ref(zig(3,10),1) and ref(zig(3,10),1)>=ref(zig(3,10),2) and ref(zig(3,10),2)>=ref(zig(3,10),3);
pl20:=zig(3,20);
en3:=zig(3,20)>ref(zig(3,20),1) and ref(zig(3,20),1)<=ref(zig(3,20),2) and ref(zig(3,20),2)<=ref(zig(3,20),3);
ex3:=zig(3,20)<ref(zig(3,20),1) and ref(zig(3,20),1)>=ref(zig(3,20),2) and ref(zig(3,20),2)>=ref(zig(3,20),3);
pl40:=zig(3,40);
走强1:=barslast(pl5<ref(pl5,1));
走弱1:=barslast(pl5>ref(pl5,1));
走强2:=barslast(pl10<ref(pl10,1));
走弱2:=barslast(pl10>ref(pl10,1));
走强3:=barslast(pl20<ref(pl20,1));
走弱3:=barslast(pl20>ref(pl20,1));
ztjz5:=if(pl10>ref(pl10,1),count(en1,走强2),0);
ztjd5:=if(pl10>ref(pl10,1),count(ex1,走强2),0);
dtjz5:=if(pl10<ref(pl10,1),count(en1,走弱2),0);
dtjd5:=if(pl10<ref(pl10,1),count(ex1,走弱2),0);
ztjz10:=if(pl20>ref(pl20,1),count(en2,走强3),0);
ztjd10:=if(pl20>ref(pl20,1),count(ex2,走强3),0);
dtjz10:=if(pl20<ref(pl20,1),count(en2,走弱3),0);
dtjd10:=if(pl20<ref(pl20,1),count(ex2,走弱3),0);
drawtext(en1 and dtjz5=1,l*0.98,'(a)'),colorffff00;
drawtext(ex1 and dtjd5=2,h*1.02,'(b)'),colorff00ff;
drawtext(en2 and ztjz5=1,l*0.98,'(c)'),color0000ff;
drawtext(en2 and dtjz10=1,l*0.93,'ⅰ'),colorff00ff;
drawtext(ex2 and dtjd10=2,h*1.05,'ⅱ'),colorffff00;
drawtext(en3 and ztjz10=1,l*0.93,'ⅲ'),color0000ff;
drawtext(ex2 and pl20>ref(pl20,1) and ztjd10=1,h*1.03,'①'),linethick3,color00ffff;
drawtext(en2 and pl20>ref(pl20,1) and ztjz10=2,l*0.95,'②'),linethick3,color00ffff;
drawtext(ex2 and pl20>ref(pl20,1) and ztjd10=2 or (ztjd10=0 or ztjd10=2)
and ex2,h*1.03,'③'),linethick3,color00ffff;
drawtext(en2 and pl20>ref(pl20,1) and ztjz10=3,l*0.95,'④'),
linethick3,color00ffff;
tj11:=en2 and ztjz5=1;
tj22:=en1 and pl10>ref(pl10,1) and ztjz5=2;
tj33:=en2 and dtjz10=1;
tj44:=en3 and ztjz10=1;
tj55:=en2 and pl20>ref(pl20,1) and ztjz10=2;
xg22:=tj11 or tj22 or tj33 or tj44 or tj55;
mm:=c>hry33 and hry33 >=ref(hry33 ,1);
qq:=hry33>=ref(hry33 ,1);
xg11:=cross(c,hry33) and qq and mm;
buy1:=last(close>ma(close,55),0,5);
buy2:=exist(close<ma(close,55),5);
buy_1:=close>ma(close,55) && buy1 && buy2;
w18:=filter(exist(xg11 or buy_1,1),5);
stickline(w18,c,(c+o)/2,4,0),colorff00ff;
drawtext(w18,l*0.97,'牛'),color00ffff;
x1:=ref(c,1)/hhv(h,20)<0.82;
x2:=(min(c,o)-l)/(h-l)>0.67;
x3:=(high-max(close,open))/(high-low)<0.33;
x4:=abs(c-o)/c<0.01;
down:=o>c;
x5:=count(down,7)>=5;
xg8:=x1 and x2 and x3 and x4 and x5;
drawtext(xg8,l*0.98,'螺'),color00ffff;
aa:=ref(c,1)/ref(o,1)<0.96;
bb:=c/o>1.03;
cc:=c>ref(o,1);
tj81:=aa and bb and cc;
x81:=ref(c,1)/hhv(h,20)<0.82;
dn:=o>c;
x82:=count(dn,7)>=5;
x83:=c=hhv(c,3);
xg81:=tj81 and x81 and x82;
xg82:=x81 and x82 and x83;
xg88:=xg81 or xg82;
drawtext(xg88,l*0.96,'反'),color00ffff;
x01:=ref(c,1)/hhv(h,21)<0.77;
{down1:=o>c;
x02:=count(down1,9)>=6;}
x03:=abs(c-o)/c<0.008;
x04:=(h-l)/c>0.025;
xg0:=x01 and x03 and x04;
drawtext(xg0,l*0.97,'星'),color00ffff;
s1:=ref(c,1)/llv(l,w)>1.30;
s2:=(h-max(c,o))/(h-l)>0.60;
s3:=abs(c-o)/c<0.03;
s4:=(h-o)/c>0.05 and c<o;
sal1:=s1 and s2 and s3;
sal2:=s1 and abs(c-o)/c>0.05 and c<o;
sal3:=s1 and abs(c-o)/c<0.001;
sal4:=s1 and s4;
sal5:=(h-max(c,o))/(h-l)>0.67 and c<o and s3;
sal:=sal1 or sal2 or sal3 or sal4 or sal5;
lc:=ref(close,1);
rsi:=sma(max(close-lc,0),4.1,1)/sma(abs(close-lc),4.1,1)*100;
黄买:=filter((ref(close,2)<close and rsi<25),7);
黄卖:=filter((ref(close,2)>close and rsi>80),7);
红买:=filter(cross(rsi,11),7);
红卖:=filter(cross(89,rsi),7);
绿买:=filter(cross(rsi,20),7);
绿卖:=filter(cross(80,rsi),7);
sl1:=红卖 and 绿卖;
sl2:=红卖 and 绿卖 and 黄卖;
bu:=红买 and 绿买;
ss1:=cross(ma(c,5),c);
ss2:=(ref(c,1)-c)/ref(c,1)>0.04;
ss3:=o<ref(c,1);
jj1:=ss1 and ss2 and ss3;
ssl:=jj1 and s1;
sal8:=filter(sal or ssl,5);
drawtext(sal8 or sl1 or sl2,h*1.02,'卖'),color00ff00;
stickline(sal8 or sl1 or sl2,c,o,1,0),colorff0000;
drawtext(sal8 and sl1 and sl2,h*1.02,'必卖'),color00ff00;
ma20:=ma(close,20);
aa10:=ma(close,8);
中期大底:=llv(low,30);
支撑:=hhv(ema(((((open + low) + high) + close) / 4),5),60);
压力一:=hhv(low,20);
中线:=ma(close,3);
天:=(ma(low,15) * 0.985);
人:=(ma(low,15) * 0.96);
地:=(((high + low) + close) / 3);
b1:=hhv(地,(4 * 15));
b6:=llv(地,(4 * 15));
b7:=(b1 - b6);{}
b8:=(ma(((地 - b6) / b7),2) * 80);
短期底部:=(llv(high,30) * 0.93);
ma80:=llv(high,30);
压力二:=(sma(high,21,2) * 1.035);
下档线:=(((close - llv(low,13)) / (hhv(high,13) - llv(low,13))) * 100);
rsv8:=sma(下档线,3,1);
k8:=sma(rsv8,3,1);
d8:=((3 * rsv8) - (2 * k8));
j12:=(((close - llv(low,55)) / (hhv(high,55) - llv(low,55))) * 100);
k24:=sma(sma(j12,3,1),3,1);
d24:=((3 * sma(j12,3,1)) - (2 * k24));
压力位:=if(cross(d24,d),high,l);
长期底部:=llv(high,30);
x18:=ema((((((3 * close) + high) + low) + open) / 6),10);
逃遁:=(sma(high,21,2) * 1.05);
tj18:=filter(((((llv(low,0) and ((ma(close,37) - ref(ma(close,37),1))
> 0)) and (low <= 短期底部)) and (winner(close) < 0.05)) and
((close / open)> 0.13)),7);
上一指标公式:撑压趋势 通达信趋势
下一指标公式:涨停雷达 通达信涨停
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文金泉多空主图 通达信多空仅供学习研究。