大智慧神偷出山指标公式

[复制链接]
查看137 | 回复0 | 2021-8-21 13:37:16 | 显示全部楼层 |阅读模式

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;

202108211209.jpg

202108211209.jpg

 

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则