以下是大智慧神偷出山(副图)指标

大智慧神偷出山(副图)指标

{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);
色彩峰:=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,;

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。