压力主图源码下载:
持仓:if(close>=sar(4,2,20),sar(4,2,20),
drawnull),circledot,colorred,{color9955ff};
空仓:if(close<=sar(4,2,20),sar(4,2,20),
drawnull),circledot,colorgreen,{colorddff00};
v1:=abs((2*close+high+low)/4-ma(close,20))/ma(close,20);
v2:=(1-7/100)*(dma(close,v1));
v3:=(1+7/100)*(dma(close,v1));
v5:=ma((low+high+close)/3,5);
ma1:=mema(close,5);
ma2:=atan((ma1/ref(ma1,1)-1)*100)*180/3.1416;
ma3:=if(ma2>0,ma2,ma2);
var1:=close=hhv(c,4) and (ref(c,1)>=ref(c,2) or ref(c,1)>=ref(c,3)) or ref(c,1)=hhv(c,4) and close>=ref(c,2) or ref(c,2)=hhv(c,4) and ref(c,3)=llv(c,4) and c>=ref(c,1) or ref(c,3)=hhv
(c,4) and c>=ref(c,1) and c>=ref(c,2);
var2:=close=hhv(c,4) and ref(c,1)=llv(c,4);
var3:=close=llv(c,4) and (ref(c,1)<ref(c,2) or ref(c,1)<ref(c,3)) or ref(c,1)=llv(c,4) and c<ref(c,2) or ref(c,2)=llv(c,4) and ref(c,1)=hhv(c,4) and c<ref(c,1) or ref(c,3)=llv(c,4) and
c<ref(c,1) and c<ref(c,2);
var4:=ref(c,1)=llv(c,4) and c>=ref(c,2) or ref(c,2)=llv(c,4) and ref(c,1)<=ref(c,3) and ref(c,2)<ref(c,4) and c>=ref(c,1);
var5:=ref(c,1)=hhv(c,4) and c<ref(c,2) or (ref(c,2)=hhv(c,4) and ref(c,1)>ref(c,3) or ref(c,3)=hhv(c,4) and ref(c,1)>ref(c,2)) and ref(c,2)>=ref(c,4) and c<ref(c,1);
var6:=v5>ref(v5,1) and ref(v5,1)<ref(v5,2);
var7:=low<hhv(v5,13) and high>hhv(v5,13) and close>ref(c,1) and close>open;
var8:=var7 and count(var6,2);
var9:=100*ema(ema(c-ref(c,1),6),6)/ema(ema(abs(c-ref(c,1)),6),6);
var10:=ema(ma(c,13),13);
var11:=filter((llv(var9,2)=llv(var9,7) and count(var9<0,2) and cross(var9,ma(var9,2)))=1,5);
var12:=filter((hhv(var9,2)=hhv(var9,7) and count(var9>50,2) and cross(ma(var9,2),var9))=1,1);
var13:=sma(ema((c-ref(c,1))/ref(c,1),5)*100,3,1)*10;
var14:=filter(((cross(var13,0) or cross(c,var10)) and var11)=1,3);
var15:=ma(c,18)>=ref(ma(c,18),3) and cross(c,ma(c,18));
var16:=var8 and not(ref(var8,1));
{强攻:if(ma3>ref(ma3,1) and ma3>=0,ma10,drawnull),coloryellow,linethick2;
回调:if(ma3<ref(ma3,1) and ma3>0,ma10,drawnull),colorgreen,linethick2;}
rsv:=(close-llv(low,9))/(hhv(high,9)-llv(low,9))*100;
k:=sma(rsv,3,1);
d:=sma(k,3,1);
j:=3*k-2*d;
金叉:=cross(j,d);
死叉:=cross(d,j);
买1:=(var14 or var15) and var11;
买2:=(var14 or var15) and var4;
买3:=(var14 or var15) and var2;
买4:=(var2 and var11) or (var4 and var11);
买5:=(金叉 and var4) or (金叉 and var2) or (金叉 and var11);
{涨停}
stickline(close>ref(close,1)*1.0985 and close=high,close,open,4,-1),color00ffff;
{跌停}
stickline(close<ref(close,1)*0.9015 and close=low,close,open,4,-1),colorgreen;
{蓝}
stickline(open>=close,close,open,3,0),colorff7700;
stickline(open>=close,close,open,2.2,0),colorff9900;
stickline(open>=close,close,open,1.5,0),colorffbb00;
stickline(open>=close,close,open,0.5,0),colorcyan;
{红}
stickline(close>open,close,open,3,0),color000099;
stickline(close>open,close,open,2.2,0),color0000cc;
stickline(close>open,close,open,1.5,0),color0000ff;
stickline(close>open,close,open,0.5,0),colorcc66ff;
{绿}
stickline(var3,open,(open+close)/2,3,0),color009900;
stickline(var3,open,(open+close)/2,2.2,0),color00bb00;
stickline(var3,open,(open+close)/2,1.5,0),color00dd00;
stickline(var3,open,(open+close)/2,0.5,0),color00ff00;
{灰}
stickline(var4,open,(open+close)/2,3,0),color999999;
stickline(var4,open,(open+close)/2,2.2,0),colorbbbbbb;
stickline(var4,open,(open+close)/2,1.5,0),colordddddd;
stickline(var4,open,(open+close)/2,0.5,0),colorffffff;
stickline(金叉,open,close,0.5,0),coloryellow;
stickline(死叉,open,close,0.5,0),color000099;
drawicon(var16,low-0.02,7);
drawicon(买1 or 买2 or 买3 or 买4 or 买5,low-0.01,1);
drawicon(死叉 or var12 or cross(40,var9),high+0.01,2);
下降压力线:drawline(high>=hhv(high,10),high,low<=llv(low,3),hhv(high,3),1),linethick2;
typ:=(high+low+close)/3;
ncc1:=(typ-ma(typ,14))/(0.015*avedev(typ,14));
nc1:=sma(ncc1,3,1);
nc2:=sma(nc1,3,1);
nc3:=3*nc1-2*nc2;
cb1:=ema(nc3,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,coloryellow;
nr1:=sma(rsi,3,1);
nd1:=sma(nr1,3,1);
nj1:=3*nr1-2*nd1;
rr1:=ema(nj1,5);
rr2:=ref(rr1,1);
rr:=rr1>rr2;
rsvq:=(close-llv(low,9))/(hhv(high,9)-llv(low,9))*100;
nk:=sma(rsvq,3,1);
nk1:=(nk-50)*5,colorred;
nk2:=sma(nk1,3,1);
nd2:=sma(nk2,3,1);
nj2:=3*nk2-2*nd2;
nbb1:=ema(nj2,5);
nbb2:=ref(nbb1,1);
买n入:=rr and not(ref(rr,1)) and (nbb1<-100 and nbb1<-100) and cb1<-100;
drawicon(买n入,l-0.010,5);
卖n出:=ref(rr,1)=1 and not(rr) and cb1>100,linethick0;
drawicon(卖n出,h+0.01,6);
rsv1:=(close-llv(low,27))/(hhv(high,27)-llv(low,27))*100;
k11:=sma(rsv1,5,1);
d11:=sma(k11,5,1);
j11:=3*k11-2*d11;
aa11:=ema(j11,5);
aa22:=ref(aa11,1);
rsv2:=(close-llv(low,9))/(hhv(high,9)-llv(low,9))*100;
k22:=sma(rsv2,3,1);
d22:=sma(k22,3,1);
j22:=3*k22-2*d22;
bb11:=ema(j22,5);
bb22:=ref(bb11,1);
dd:=aa11>aa22 and bb11>bb22;
注意买入:=dd and not(ref(dd,1)) and (aa11<50 or bb11<50);
注意卖出:=ref(dd,1)=1 and not(dd);
drawicon(注意买入,l-0.010,9);
drawicon(注意卖出,h+0.010,10);
stickline(currbarscount=2,l,l,10,0),colorgreen,;
drawnumber(islastbar,ref(l,1),ref(l,1));
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文压力主图下载仅供学习研究。