1樓:
這個畫線公式需要原始碼,以下是通達信畫線指標:
引數設定
aa:=ref(h,n)=hhv(h,2*n+1);
qy:=backset(aa,n+1);
cc:=filter(qy,n) and h=hhv(h,n+1);
ddd:=barslast(cc),nodraw;
gdts:=if(cc,currbarscount,0),nodraw;
dingbuts:=if(ddd,ref(gdts,ddd),gdts),nodraw;
gdcs1:=const(dingbuts),nodraw;
gdcs13:=const(ref(high,gdcs1-1));
dingbuts1:=ref(dingbuts,ddd+1),nodraw;
gdcs2:=const(dingbuts1);
gdcs23:=const(ref(high,dingbuts1-1));
xg1:=backset(islastbar,gdcs1);
xg2:=backset(islastbar,dingbuts1);
stickline(xg2,gdcs23,gdcs23,0.5,1),colorwhite,linethick3;
stickline(xg1,gdcs13,gdcs13,0.5,1),coloryellow,linethick3;
aa1:=ref(l,n1)=llv(l,2*n1+1);
qy1:=backset(aa1,n1+1);
cc1:=filter(qy1,n1) and l=llv(l,n1+1);
dd1:=barslast(cc1);
ddts:=if(cc1,currbarscount,0);
ddts1:=if(dd1,ref(ddts,dd1),ddts);
ddcs1:=const(ddts1);
ddcs13:=const(ref(l,ddcs1-1));
ddts2:=ref(ddts1,dd1+1);
ddcs2:=const(ddts2);
ddcs23:=const(ref(l,ddts2-1));
xd1:=backset(islastbar,ddcs1);
xd2:=backset(islastbar,ddts2);
stickline(xd2,ddcs23,ddcs23,0.5,1),colormagenta,linethick3;
stickline(xd1,ddcs13,ddcs13,0.5,1),colorcyan,linethick3;
m:=intpart(3*n2/5);
aaa:=ref(h,m)=hhv(h,2*m+1);
qyy:=backset(aaa,m+1);
ccc:=filter(qyy,m) and h=hhv(h,m+1);
dddd:=barslast(ccc),nodraw;
gdtss:=if(ccc,currbarscount,0),nodraw;
dingbutss:=if(dddd,ref(gdtss,dddd),gdtss),nodraw;
gdcs11:=const(dingbutss),nodraw;
dingbuts11:ref(dingbutss,dddd+1),nodraw;
gdcs22:=const(dingbuts11);
高點壓力m:drawline(currbarscount=gdcs22,h,currbarscount=gdcs11,h,1),colorbb8000,linethick2;
w:=intpart(3*n3/5);
aa11:=ref(l,w)=llv(l,2*w+1);
qy11:=backset(aa11,w+1);
cc11:=filter(qy11,w) and l=llv(l,w+1);
dd11:=barslast(cc11);
ddtss:=if(cc11,currbarscount,0);
ddts11:=if(dd11,ref(ddtss,dd11),ddtss);
ddcs11:=const(ddts11);
ddts22:=ref(ddts11,dd11+1);
ddcs22:=const(ddts22);
低點支撐m:drawline(currbarscount=ddcs22,l,currbarscount=ddcs11,l,1),colormagenta,linethick2;
zt:=c/ref(c,1)>1.097;
stickline(zt,o,c,-1,0),colormagenta;
zz:=(o+h+l)/3;
**買點:ema(zz,7),colorgreen,linethick1;
tt2:=dma((((high + low) + (close * 2)) / 4.15),0.9);
tt1:=ref(ema(tt2,3),1);
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;
lc:=ref(close,1);
rsi:=((sma(max((close - lc),0),3,1) / sma(abs((close - lc)),3,1)) * 100);
ff:=ema(close,3);
bb1:=l=0,ref(ema(c,14),barslast(cross(a1x,0))+1),drawnull)colorred,linethick1;
休假:if(a1x<0,ref(ema(c,14),barslast(cross(0,a1x))+1),drawnull)colorgreen,linethick1;
stickline(cross(a1x,0),c,o,2,0)coloryellow;
stickline(cross(0,a1x),c,o,2,0)colorgreen;
stickline(cross(a1x,0)or cross(0,a1x),ref(ema(c,14),1),ref(ema(c,14),1)*0.998,2,0)colorwhite;
stickline(islastbar,ref(ema(c,14),1),ref(ema(c,14),1)*0.998,5,0)colorwhite;
2樓:匿名使用者
**在下面**裡
工作線:=ma(close,1);
趨勢線:ma(close,18)colorgreen,linethick2;
強勢線:ma(close,3)colorred,linethick2;
tt2:=dma((((high + low) + (close * 2)) / 4.15),0.9);
tt1:=ref(ema(tt2,3),1);
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;
lc:=ref(close,1);
rsi:=((sma(max((close - lc),0),3,1) / sma(abs((close - lc)),3,1)) * 100);
ff:=ema(close,3);
稻殼1:ema(close,144),pointdot,colorwhite;
稻殼2:ema(c,318);
aa1:=amount/vol;
bb1:=l1.2;
dd1:=l ee1:=vol ff1:=bb1 and cc1 and dd1 and ee1; f:=100*(c-ref(c,1))/ref(c,1); p1:=if(c
p2:=if(c
tt3:=p1=0 and ref(p1,1)=1 and p2=0 and ref(p2,1)=1 ; tt4:=p1=1 and ref(p1,1)=0 and p2=1 and ref(p2,1)=0 ; z1:=ma(c,13); zx:=ref(z1,13/2+1); drawicon(cross(zx,c),h*1.01,2); drawtext(cross(工作線,趨勢線)and j<55,low,'入')colorwhite; drawtext(cross(close,tt1)and j<55,low,'買'),colorred; drawtext(cross(88,rsi),high * 1.02,'頂'),color00ffff; drawtext(ff1,l*0.99,'超短'),color00ff00; stickline(tt3,open,close,3,0),colorff00ff; stickline(tt4,open,close,3,0),colorgreen; tt5:=5; v1:=ma(high,30)*1.15; v2:=ma(high,3)*1.03; v3:=ma(low,3)*0.97; v4:=ma(low,30)*0.85; get:zig(3,tt5)colorwhite,linethick2; 箱頂 peak close,n,1 0.98 箱底 trough close,n,1 1.02 箱高 100 箱頂 箱底 箱底 nodraw var1 399139 c var2 399190 c var3 399132 c var4 399150 c var5 399138 c var6 3992... 點菸用太陽 p max ma v,35 ma v,135 min ma v,35 ma v,135 and p 1.03,cross ma v,135 ma v,5 ma v,5 ma v,35 ma v,135 6000,c p取值 1 越小粘合度越高。符合選股條件,滿足公式條件 輸出 1,否 輸... 布魯斯丶孔 今天的成交量是 100 vol 流通股本是 finace 7 換手率是 100 vol finace 7 如果你的換手率是10 就顯示0.1 你的公式那裡 100 vol finance 7 100 也就是100 vol finace 7 100,也就是輸出就顯示hsl 10 這樣,換手...求,通達信多箱體公式,求通達信的股價突破長期箱體,再次回抽不跌破箱頂的選股公式
求通達信量均線粘合選股公式,求通達信均量線粘合選股公式
求通達信n天最小換手率公式,求通達信N天最小換手率公式