jrh:=hhv(c,2);
jrl:=llv(c,2);
ma3:=ma(close,3);
ytsl:=(3*close+low+open+high)/6;
r1:=(close>ref(close,1) and close>ref(close,2));
r2:=(ref(r1,1) and close<=ref(close,1) and close>=ref(close,2));
r3:=(ref(r2,1) and close>=ref(close,1) and close<=ref(close,2));
r4:=(ref(r3,1) and close<=ref(close,1) and close>=ref(close,2));
r5:=(ref(r4,1) and close>=ref(close,1) and close<=ref(close,2));
r6:=(ref(r5,1) and close<=ref(close,1) and close>=ref(close,2));
r7:=(ref(r6,1) and close>=ref(close,1) and close<=ref(close,2));
r8:=(ref(r7,1) and close<=ref(close,1) and close>=ref(close,2));
r9:=(ref(r8,1) and close>=ref(close,1) and close<=ref(close,2));
ra:=(ref(r9,1) and close<=ref(close,1) and close>=ref(close,2));
rb:=(ref(ra,1) and close>=ref(close,1) and close<=ref(close,2));
rc:=(ref(rb,1) and close<=ref(close,1) and close>=ref(close,2));
rd:=(close<ref(close,1) and close<ref(close,2));
re:=(ref(rd,1) and close>=ref(close,1) and close<=ref(close,2));
rf:=(ref(re,1) and close<=ref(close,1) and close>=ref(close,2));
r10:=(ref(rf,1) and close>=ref(close,1) and close<=ref(close,2));
r11:=(ref(r10,1) and close<=ref(close,1) and close>=ref(close,2));
r12:=(ref(r11,1) and close>=ref(close,1) and close<=ref(close,2));
r13:=(ref(r12,1) and close<=ref(close,1) and close>=ref(close,2));
r14:=(ref(r13,1) and close>=ref(close,1) and close<=ref(close,2));
r15:=(ref(r14,1) and close<=ref(close,1) and close>=ref(close,2));
r16:=(ref(r15,1) and close>=ref(close,1) and close<=ref(close,2));
r17:=(ref(r16,1) and close<=ref(close,1) and close>=ref(close,2));
r18:=(ref(r17,1) and close>=ref(close,1) and close<=ref(close,2));
r19:=ref(rd or re or rf or r10 or r11 or r12 or r13 or r14 or r15 or r16 or r17 or r18,1) and r1;
r1a:=((ref(r1 or r2 or r3 or r4 or r5 or r6 or r7 or r8 or r9 or ra or rb or rc,1)) and rd);
var3:=if(c<200 ,ma(cost(80),3),2500),nodraw;
var4:=(((high + low) + close) / 3);
var5:=ema(((((open + high) + low) + close) / 4),2330);
var6:=(var5 + ((var5 * 6) / 100));
春买:=r19,nodraw,color00dd00;
秋离场:=r1a,nodraw,color2288ee;
红持股:=r1 or r2 or r3 or r4 or r5 or r6 or r7 or r8 or r9 or ra or rb or rc,nodraw,color0000ff;
阴观望:=rd or re or rf or r10 or r11 or r12 or r13 or r14 or r15 or r16 or r17 or r18,nodraw,color999999;
急速超跌关注:=(close-ma(close,34))/ma(close,34)*100<-14,colorbbbbbb,nodraw;
离场:=if(红持股,jrl,drawnull);
明离场价:=离场,colorff99ff,nodraw;
今离场价:=ref(离场,1)color0000ff,nodraw;
进:=if(阴观望,jrh,drawnull);
明进场价:=进,color33aacc,nodraw;
今进场价:=ref(明进场价,1),color00ff00,nodraw;
stickline(islastbar and (红持股 or ref(红持股,1)=1),今离场价,今离场价,20,1),color0000ff;
stickline(islastbar and (阴观望 or ref(阴观望,1)=1),今进场价,今进场价,20,1),color00ff00;
xx2:ema(ema((close+low+high)/3,3),23),colorgreen, linethick2;
xx3:=ref(xx2,1);
if(xx2>xx3,xx2,drawnull),colorred, linethick2;
b11:=ma(close,1);
b22:=sma(sma(sma(b11,2,1),2,1),2,1) ;
sma2:=ma(b22,3) ;
drawband(b22,rgb(255,0,0),sma2,rgb(0,255,0));
下档线:=(((close - llv(low,13)) / (hhv(high,13) - llv(low,13))) * 100);
rrrsv:=sma(下档线,3,1);
kkk:=sma(rrrsv,3,1);
ddddd:=((3 * rrrsv) - (2 * kkk));
jj12:=(((close - llv(low,55)) / (hhv(high,55) - llv(low,55))) * 100);
rsv24:=sma(jj12,3,1);
k24:=sma(rsv24,3,1);
d24:=((3 * rsv24) - (2 * k24));
压力2:=if(cross(d24,ddddd),high,ref(high,barslast(cross(d24,ddddd)))),colorffffff;
底部:=llv(high,30),color00ff00;
压力位:=if(islastbar,压力2,drawnull),nodraw;
底部位:=if(islastbar,底部,drawnull),nodraw;
stickline(islastbar ,压力位,压力位,40,0),colorff00ff,linethick2;
stickline(islastbar ,底部位,底部位,35,0),color00ffff,linethick2;
b1:=ref(close,1);
b2:=ref(close,2);
b3:=ref(close,3);
b4:=ref(close,4);
cmax:=max(max(max(close,b1),b2),b3);
cmin:=min(min(min(close,b1),b2),b3);
持股:=(close=cmax and (b1>=b2 or b1>=b3)) or ((b1=cmax and (b2=cmin or b3=cmin)) and close>=b2) or
(b2=cmax and b3=cmin and close>=b1) or (b3=cmax and close>=b1 and close>=b2);
stickline(持股,b1,close,3,0),color000099;
变盘:=close=cmax and b1=cmin;
stickline(变盘,b2,close,3,0),color0099ef;
下跌:=(close=cmin and (b1<b2 or b1<b3)) or ((b1=cmin and (b2=cmax or b3=cmax)) and close<b2) or
(b2=cmin and b3=cmax and close<b1) or (b3=cmin and close<b1 and close<b2);
stickline(下跌,b1,close,3,0),color009900;
stickline(b1=cmax and close=cmin,b2,close,3,0),color009900;
买入:=(b1=cmin and close>=b2) or ((b2=cmin and b1<=b3) or
(b3=cmin and b1<=b2) and b2<b4 and close>=b1);
stickline(买入,b1,b2,3,0),color00ffff;
抛售:=(b1=cmax and close<b2) or ((b2=cmax and b1>b3) or
(b3=cmax and b1>b2) and b2>=b4 and close<b1);
stickline(抛售,b1,b2,3,0),colorffffff;
stickline(c>=o,l,h,0,1),colorred;
stickline(c<o,h,l,0,1),colorgreen;
stickline(持股 or 买入,o,c,1.5,0),colorred;
stickline(下跌 or 抛售,o,c,1.5,0),colorgreen;
stickline(c>0,o,c,0,0),colorffffff;
mma:=const(hhv(h,90));
mmb:=const(llv(l,90));
wn:=3;{原码 n:=3;}
wa1:=ref(h,wn)=hhv(h,2*wn+1); wb1:=filter(wa1,wn); wc1:=backset(wb1,wn+1); wd1:=filter(wc1,wn);{高点}
wa2:=ref(l,wn)=llv(l,2*wn+1); wb2:=filter(wa2,wn); wc2:=backset(wb2,wn+1); wd2:=filter(wc2,wn);{低点}
we1:=(ref(llv(l,2*wn),1)+ref(hhv(h,2*wn),1))/2;
we2:=(h+l)/2;{高低点出现在同一k线上时可作取舍}
wh1:=(wd1 and not(wd2 and we1>=we2)) or islastbar or barscount(c)=1;
wl1:=(wd2 and not(wd1 and we1<we2)); wh2:=wd1 and not(wd2 and we1>=we2);
wx1:=ref(barslast(wh1),1)+1; wf1:=backset(wh1 and count(wl1,wx1)>0,llvbars(if(wl1,l,10000),wx1));
wg1:=wf1>ref(wf1,1); wi1:=backset(wg1,2); wld:=wi1>ref(wi1,1);{过滤后低点}
wl2:=wld or islastbar or barscount(c)=1;
wx2:=ref(barslast(wl2),1)+1; wf2:=backset(wl2 and count(wh2,wx2)>0,hhvbars(if(wh2,h,0),wx2));
wg2:=wf2>ref(wf2,1); wi2:=backset(wg2,2); whd:=wi2>ref(wi2,1);{过滤后高点}
wr1:=backset(islastbar,barslast(whd)+1); ws1:=wr1>ref(wr1,1); {前一高}
wt1:=backset(islastbar,barslast(wld)+1); wu1:=wt1>ref(wt1,1); {前一低}
wr2:=backset(ws1,ref(barslast(whd),1)+2); ws2:=wr2>ref(wr2,1); {前二高}
wt2:=backset(wu1,ref(barslast(wld),1)+2); wu2:=wt2>ref(wt2,1); {前二低}
wt3:=backset(wu2,ref(barslast(wld),1)+2); wu3:=wt3>ref(wt3,1); {前三低}
wt4:=backset(wu3,ref(barslast(wld),1)+2); wu4:=wt4>ref(wt4,1); {前四低}
wr3:=backset(ws2,ref(barslast(whd),1)+2); ws3:=wr3>ref(wr3,1); {前三高}
wr4:=backset(ws3,ref(barslast(whd),1)+2); ws4:=wr4>ref(wr4,1); {前四高};
压力1:=drawline(ws2,h,ws1,h,1),color008888; {★压力1:}
支撑1:=drawline(wu2,l,wu1,l,1),color008888;{★支撑1:}
压力2:=drawline(ws3,h,ws2,h,1),color888000; {★压力2:}
支撑2:=drawline(wu3,l,wu2,l,1),color888000;{★支撑2:}
压力3:=drawline(ws4,h,ws3,h,1),color0000cc;{★压力3:}
支撑3:=drawline(wu4,l,wu3,l,1),color0000cc;{★支撑3:};
bsc:=const(max(barslast(ws4),barslast(wu4))*3),nodraw;
if(between(压力1,mma,mmb),压力1,drawnull),color008888,linethick1;
if(between(支撑1,mma,mmb),支撑1,drawnull),color008888,linethick1;
if(between(压力2,mma,mmb),压力2,drawnull),color888000,linethick1;
if(between(支撑2,mma,mmb),支撑2,drawnull),color888000,linethick1;
if(between(压力3,mma,mmb),压力3,drawnull),color0000cc,linethick1;
if(between(支撑3,mma,mmb),支撑3,drawnull),color0000cc,linethick1;
底:=sum(ma(close,10),9)/11.114;
drawtext(cross(low,底) and ref(底,1)>ref(high,1) or cross(high,底),l,'---铁底'),color00ff00;
x1:=(3*close+high+low+open)/6;
x2:=ema(x1,10);
x3:=ref(x2,1);
x4:=(ref(high,1)+ref(low,1))/2;
x5:=ma(close,21)+2*std(close,21);
x6:=ref(close,1);
x7:=(sma(max(close-x6,0),7,1))/(sma(abs(close-x6),7,1))*100;
x8:=cross(79,x7);
x9:=filter(x8,4);
wz1:=pow(ma(close,5),2)+ma(close,5);
wz2:=pow(ma(low,5),2)+ma(low,5);
wz3:=pow(ma(high,5),2)+ma(high,5);
wz4:=(wz1-llv(wz2,9))/(hhv(wz3,9)-llv(wz2,9))*150+65;
dk:=sma(wz4,3,1)*1.5;
dd:=sma(dk,3,1);
dj:=3*dk-2*dd;
wz5:=ema(close,12)-ema(close,26);
wz6:=ema(wz5,9);
wz7:=2*(wz5-wz6);
wz8:=ref(wz7,1);
wz9:=cross(wz8,wz7) and wz8>0;
var1t:=ema(close,8);
var2t:=ema(var1t,20);
var3t:=cross(var1t,var2t);
var4t:=var1t<ma(close,120);
var5t:=(hhv(high,36)-close)/(hhv(high,36)-llv(low,36))*100;
var6t:=sma(var5t,5,1);
var7t:=sma(var6t,8,1);
var8t:=cross(var6t,var7t) and var7t<20;
var9t:=close>llv(close,60)+0.3*llv(close,60) and var8t;
vara:=if(close>1000,var8t,var9t);
起步:=var3t and var4t;
逃遁:=vara;
xl1:=ema(close,10)/100;
xl2:=ma((xl1-ref(xl1,10))/ref(xl1,10),3)*100;
xl3:=ma(xl2,3);
xl4:=sma((close-llv(low,9))/(hhv(high,9)-llv(low,9))*100,3,1);
drawtext(if(cross(3*xl4-2*sma(xl4,3,1),8),87,0) and x2>x3,low,'←反弹'),color0000ff;
drawtext(if(cross((var1t-llv(var1t,4))/(hhv(var1t,4)-llv(var1t,4))*4*25,87.5) and var1t<40,87,0) and x2>x3,low,'←短买'),color0000aa;
drawtext(if(cross(2*(ema((close*2+high+low)/4,12)-ema((close*2+high+low)/4,26)-(ema(ema((close*2+high+low)/4,12)-ema((close*2+high+low)/4,26),2)))*5.8,0.47),low,0) and x2>x3,low,'←加仓'),colorff5ed8;
drawtext(cross(x4,x5),high+c*0.01,'←减'),colorb4ff00;
drawtext(filter((wz9 and dj>250) or x9 ,5),high+c*0.02,'←跑'),colorbcff8b;
stickline(起步>0,high,low,0.8,0),color00ffff;
stickline(起步>0,open,close,5,0),color00ffff;
drawtext(逃遁>0,high,'●←逃'),color7fffd6;
x1p:=(c+l+h)/3;
bb13:=atan(ema(x1p,13)-ref(ema(x1p,13),1))*3.1416*10;
ema8:=ema(c,8);
drawtext(filter(bb13>1 and ema(x1p,13)>ref(ema(x1p,8),1),10),ema8,'∠45上升'),colorwhite;
var3aa:=if((close>ref(close,1)),88,0);
var4aa:=if(((close)/(ref(close,1))>1.05) and ((high)/(close)<1.01) and (var3aa>0),91,0);
drawtext(filter((var4aa>90),45),(low),'★大胆搏 '),color00ffff;
l23:=ma(100*(close-llv(close,34))/(hhv(high,34)-llv(low,34)),5)-20;
l24:=(high+low+close)/3;
l25:=(l24-ma(l24,14))/(0.015*avedev(l24,14));
l26:=(l24-ma(l24,70))/(0.015*avedev(l24,70));
l27:=if(l25>=150 and l25<200 and l26>=150 and l26<200,10,0);
l28:=if(l25<=-150 and l25>-200 and l26<=-150 and l26>-200,-10,l27);
l29:=100-abs((close-ma(close,13))/ma(close,13)*100);
l30:=if(l29<90,l29,100);
l31:=if(l23>0,l23,0);
xl11:=(if(l28>=200 and l25>=150,15,if(l26<=-200 and l25<=-150,-15,l28)))+60;
xl22:=l31>48 and xl11>60 and l30<100;
drawtext(xl22 and count(xl22,30)=1,l,'大笔买入'),colorff00ff;
var3td:=100-3*sma((close-llv(low,42))/(hhv(high,42)-llv(low,42))*100,20,1)+2*sma(sma((close-llv(low,42))/(hhv(high,42)-llv(low,42))*100,20,1),15,1);
var4td:=100-3*sma((open-llv(low,42))/(hhv(high,42)-llv(low,42))*100,20,1)+2*sma(sma((open-llv(low,42))/(hhv(high,42)-llv(low,42))*100,20,1),15,1);
var2td:=var3td<ref(var4td,1) and vol>ref(vol,1) and close>ref(close,1);
{量能饱和}
sat:=if((amount/c)/(hhv(amount,20)/hhv(c,20))*100>100,100,(amount/c)/(hhv(amount,20)/hhv(c,20))*100);
stickline(high<ref(low,1),high,ref(low,1),10,0) ,color888888;
stickline(low>ref(high,1) ,low,ref(high,1),10,0),color888888;
上一指标公式:量神成交量型指标下载 通达信成交量
下一指标公式:缠中说禅走势指标下载 通达信中说
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文新主图指标下载 通达信新主图仅供学习研究。