线性关系
{mid:=ma(c,20);
vart1:=pow((c-mid),2);
vart2:=ma(vart1,20);
vart3:=sqrt(vart2);
upper:=mid+2*vart3;
lower:=mid-2*vart3;
bo:=ref(mid,1),colorffffff;
ub:ref(upper,1);
lb:ref(lower,1);}
aa1:=ma((2*close+high+low)/4,5);
通1:=aa1*102/100;
通2:=aa1*(200-102)/100;
cc:=abs((2*close+high+low)/4-ma(close,20))/ma(close,20);
dd:=dma(close,cc);
上:(1+7/100)*dd,coloryellow;
下:(1-7/100)*dd,colorwhite;
bo:(上+下)/2,colorcfb53b;
aa:ma(c,5),colorgreen;
if(aa>=ref(aa,1),aa,drawnull),colorgreen,linethick3;
stickline(v/ref(v,1)>2,bo,bo*1.1,1,0),colorred;
drawtext(v/ref(v,1)>2,bo*1.15,'放量'),colormagenta;
stickline(cross(aa,bo),bo,bo*1.1,1,0),coloryellow;
drawtext(cross(aa,bo),bo*0.98,'追?'),coloryellow;
var1:=ma(hhv(high,485),17);
var2:=ma(hhv(high,222),17);
var3:=ma(hhv(high,96),17);
var4:=ma(llv(low,485),17);
var5:=ma(llv(low,222),17);
var6:=ma(llv(low,96),17);
var7:=ma((var4*0.96+var5*0.96+var6*0.96+var1*0.558+var2*0.558+var3*0.558)
/6,17);
var8:=ma((var4*1.25+var5*1.23+var6*1.2+var1*0.55+var2*0.55+var3*0.65)/6,17);
var9:=ma((var4*1.3+var5*1.3+var6*1.3+var1*0.68+var2*0.68+var3*0.68)/6,17);
vara:=ma((var7*3+var8*2+var9)/6*1.738,17);
varb:=if(date<=1341231,vara,vara*day);
varc:=low;
vard:=ref(low,1);
vare:=sma(abs(varc-vard),3,1)/sma(max(varc-vard,0),3,1)*100;
varf:=ma(if(close*1.35<=varb,vare*10,vare/10),3);
var10:=llv(low,30);
var11:=hhv(varf,30);
var12:=1341231;
ss:=if(date<=var12,ma(if(low<=var10,(varf+var11*2)/2,0),3),100000000);
stickline(ss,bo,bo*1.1,1,0),colorcyan;
drawtext(ss=1,bo*0.98,'底'),colorgreen;
n:=14;
m:=6;
tra:=expmema(max(max(high-low,abs(high-ref(close,1))),abs(ref(close,1)-low)),n);
hd :=high-ref(high,1);
ld :=ref(low,1)-low;
dmp:=expmema(if(hd>0&&hd>ld,hd,0),n);
dmm:=expmema(if(ld>0&&ld>hd,ld,0),n);
pdi:=dmp*100/tra;
mdi:=dmm*100/tra;
adx:=expmema(abs(mdi-pdi)/(mdi+pdi)*100,m);
adxr:=expmema(adx,m);
买点:=(cross(pdi, mdi)and cross(pdi, adx)and cross(pdi, adxr))and close>open
and c/ref(c,1)>0.5 and vol>ma(vol,5)*1.5,colorred,linethick3;
drawtext(买点,bo*0.9,'买?'),colorred;
dif:=ema(close,12)-ema(close,26);
dea:=ema(dif,9);
macd:=(dif-dea)*2;
获利筹码:=winner(close)*100;
换手:=vol*100/finance(7)*100;
比昨筹码:=获利筹码-ref(获利筹码,1);
aaa:=macd<0 and macd>ref(macd,1) and 比昨筹码>20;
drawtext(aaa,bo*0.84,'∧'),colorred;
typ := (high + low + close)/3;
cc1:=(typ-ma(typ,14))/(0.015*avedev(typ,14)),colorff00ff;
c1:=sma(cc1,3,1);
c2:=sma(c1,3,1);
c3:=3*c1-2*c2;
cb1:=ema(c3,5);
cb2:=ref(cb1,1);
lc := ref(close,1);
rsi1:=sma(max(close-lc,0),6,1)/sma(abs(close-lc),6,1)*100;
rsi:=(rsi1-50)*5,linethick2,colorffffff;
r1:=sma(rsi,3,1);
d1:=sma(r1,3,1);
j1:=3*r1-2*d1;
rr1:=ema(j1,5);
rr2:=ref(rr1,1);
rr:=rr1>rr2;
rsv:=(close-llv(low,9))/(hhv(high,9)-llv(low,9))*100;
k:=sma(rsv,3,1);
k1:=(k-50)*5,color00ff00;
k2:=sma(k1,3,1);
d2:=sma(k2,3,1);
j2:=3*k2-2*d2;
bb1:=ema(j2,5);
bb2:=ref(bb1,1);
bbb:=rr and not(ref(rr,1)) and (rr1<-100 and bb1<-100)
and cb1<-100,linethick0;
drawtext(bbb,bo*0.84,'底'),colorred;
df:=ema("399005$c",12)-ema("399005$c",26);
da:=ema(df,9);
mad:=(df-da)*2;
ddd:=mad>0 and ref(mad,1)<0;
drawtext(ddd,bo*0.84,'√'),colorred;
lt:=(capital/100)/10000<=10;a1a:=c/dynainfo(3);
jd:=atan((ma(c,5)/ref(ma(c,5),1)-1)*100)*57.3;
vv:=v>1999;px:=jd>30;zz:=ema(close,5)+ema(close,60);
zq:=ema(zz,30);z2:=ref(a1a,1)<1.025 and a1a>1.025 and a1a<1.04;
tj:=zz/zq>0.99 and zz/zq<1.015;
xg:=lt and (z2 and vv and px and tj);
drawtext(xg,bo*0.80,'k'),coloryellow;
生命:=vol*(o+c)/2;
生命线:=sum(生命,88)/sum(vol,88),linethick2;
jccount:=count(cross(c,生命线),21)=2;
二金:=cross(c,生命线) and jccount;
drawtext(二金,bo*0.78,'2'),colorred;
上一指标公式:多头在上的多头粘合庄股目标-股票免费奉送指标下载 通达信庄股粘合
下一指标公式:主图MACD-主图指标下载 通达信源码主图
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文线性关系指标下载 通达信线性仅供学习研究。