在线检测未来函数

飞狐江恩斜率

来源:Internet,编辑:股旁网,2010-05-24

江恩斜率源码:
input: gll(-6,-14,12),p(20,1,80);
var1e:=(c-llv(l,p))/(hhv(h,p)-llv(l,p))*100;
var2e:=sma(sma(var1e,3,1),3,1);
var3e:=ema(var2e,5);
bb:=var3e;
gz:=3*var2e-2*var3e;
f:=ema(gz,3);
drawicon(cross(gz,f) and count(gz<20,5)>=1,-5,4);
drawicon(cross(gz,f) and count(gll<-6,3)>=1,-13,4);
var1:=ma(amount/100*v,5);
var2:=ma(amount/100*v,13);
var3:=ma(amount/100*v,34);
var4:=dma(c,v/capital);
cys13:=(c-var2)/var2*70;
abs(winner(c)-winner(o))*100+5,volstick;
stickline(cys13>0,3,-3,4,0),colorwhite;
stickline(cys13<=0,-3,1,4,0),Color4D9CFF;
stickline(cys13<=-5,-20,-3,8,0),colorblue;
drawicon(cys13<=0 and gll<gll and c>ref(c,1),-8,6);
低:5,pointdot,Linethick2;
吸:20,pointdot,ColorC8A6AB;
45;
强:70,ColorC8D9AB;
顶:95,pointdot,ColorF830EA;
c0:=(h+l+c)/3;
a1:=hhv(c0,15);
a2:=llv(c0,15);
a3:=a1-a2;
江恩斜率:ema((c0-a2)/a3,2)*100,colorffff00;
partline(江恩斜率>ref(江恩斜率,1),江恩斜率),Linethick4,colorffffff;
partline(江恩斜率>20 and 江恩斜率>ref(江恩斜率,1),江恩斜率),Linethick4,colorffff00;
stickline(江恩斜率<45,45,江恩斜率,1,0),pointdot,colorff0000;
drawicon(cross(45,江恩斜率),60,5);
var2x:=(c-llv(l,8))/(hhv(h,8)-llv(l,8))*100;
讯雷测庄:=(ema(var2x,3)-50)*2;
drawicon(cross(讯雷测庄,-50),-20,6);
bias1w:=(c-ma(c,6))/ma(c,6)*100;
bias2w:=(c-ma(c,12))/ma(c,12)*100;
bias3w:=(c-ma(c,24))/ma(c,24)*100;
mm:=(bias1w+2*bias2w+3*bias3w)/6;
mn:=ma(mm,3);
stickline(mn<gll,50,60,8,0),colorff00f0;
stickline(mn<-9,50,60,6,0),colorff0000;
stickline(mn<-12,50,60,6,0),colorffffff;
mav:=(c*2+h+l)/4;
sk:=ema(mav,1)-ema(mav,40);
sd:=ema(sk,5);
b:=(sk-sd)*100;
t:=(c-llv(1.02*l,20))/(hhv(h,20)-llv(l,20))*100;
q1:=(hhv(h,13)-c)/(hhv(h,13)-llv(l,13))*120;
短线阻力:=if(a1>100,100,if(a1<-5,-5,a1));
短线能量:=if(b<-20,-20,if(b>100,100,b));
趋势线:=1.06*(3*sma((c- llv(l,27))/(hhv(h,27)-llv(l,27))*100,5,1)-2*sma(sma((c-llv(l,27))/(hhv(h,27)-llv(l,27))*100,5,1),3,1)-50)+50;
var2a:=(2*c+h+l+o)/5;
var3a:=llv(l,34);
var4a:=hhv(h,34);
ska:=ema((var2a-var3a)/(var4a-var3a)*100,13);
sda:=ema(ska,3);
stickline(cross(趋势线,8.5),20,45,3,0),colorff00ff;
stickline(cross(87,趋势线),40,100,3,0),colorffffff;
var1k:=(l+h+2*c)/4;
var2k:=ref(var1k,1);
var3k:=sma(var1k-var2k,6,1)/sma(abs(var1k-var2k),6,1)*100;
mms:=ma(var3k,1)+50;
mmm:=ema(mms,8);
mml:=ema(mms,24);
mmc:=ema(mmm,40);
stickline(mms>=100,110,105,10,0),coloryellow;
stickline(mms<0,50,40,6,0),colorgreen;
rsi1:=sma(max(c-ref(c,1),0),6,1)/sma(abs(c-ref(c,1)),6,1)*100;
drawicon(cross(80,rsi1),110,9);
drawtext(cross(80,rsi1),115,'--r');
drawicon(cross(rsi1,20),-10,8);
drawtext(cross(rsi1,20),-15,'--r');

 

相关文章