在线检测未来函数

大智慧神偷出山指标公式

来源:Internet,编辑:股旁网,2013-01-22

input: n(2,1,10),m(2,1,10);
var1:=2020830;
date<=var1;
var2:=if(year>=2005 and month>=8,0,1);
var3:=ref(h,1)*1.1;
var4:=h*1.1;
var5:=(var4*v+var3*(capital-v))/capital;
var6:=ref(l,1)*0.9;
var7:=l*0.9;
var8:=(var7*v+var6*(capital-v))/capital;
var9:=ema(var8,30);
vara:=ema(var5,30);
varb:=vara-2;
varc:=if(c<=var9,varb,vara);
vard:=ma(c,80)-ma(c,10)/17;
出手:stickline(varc-varb=0 and var2 and cross((ema(ema(ema(c,n),n),n)-ref(ema(ema(ema(c,n),n),n),1))/ref(ema(ema(ema(c,n),n),n),1)*100,ma((ema(ema(ema(c,n),n),n)-ref(ema(ema(ema(c,n),n),n),1))/ref(ema(ema(ema(c,n),n),n),1)*100,m)),30,0,5,0);
赢:drawtext(filter(varc-varb=0 and cross((ema(ema(ema(c,n),n),n)-ref(ema(ema(ema(c,n),n),n),1))/ref(ema(ema(ema(c,n),n),n),1)*100,ma((ema(ema(ema(c,n),n),n)-ref(ema(ema(ema(c,n),n),n),1))/ref(ema(ema(ema(c,n),n),n),1)*100,m)),4),55,'★黄金买点');
vare:=(c-llv(l,26))/(hhv(h,26)-llv(l,26))*100;
卖出线:sma(sma(vare,3,1),3,1)*var2;
买入线:3*sma(vare,3,1)-2*卖出线*var2;
drawicon(cross(90,买入线),90,2);
顶:stickline(cross(90,买入线),15,0,5,0),colorffffff;
黄金点:stickline(sma(vare,3,1)>卖出线,sma(vare,3,1),卖出线,4,0),colorff0000;
varax:=ema(ref(c,1),4);
{www.gupang.com 股旁网_大智慧指标公式}
色彩峰:=sma(max(c-vara,0),6,1)/sma(abs(c-vara),6,1)*100;
神偷出山:if(varc-varb=0 and var2 and cross((ema(ema(ema(c,n),n),n)-ref(ema(ema(ema(c,n),n),n),1))/ref(ema(ema(ema(c,n),n),n),1)*100,ma((ema(ema(ema(c,n),n),n)-ref(ema(ema(ema(c,n),n),n),1))/ref(ema(ema(ema(c,n),n),n),1)*100,m)) and 卖出线<17 and 色彩峰<5,80,0)*var2,Linethick2;

大智慧神偷出山指标公式

 

相关文章