【大智慧】神偷出山指標公式
攻城獅 2015.11.26 16:27
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.chiang1015.com 概念股網(wǎng)_大智慧指標公式}
色彩峰:=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;
申明:本文為作者投稿或轉(zhuǎn)載,在概念股網(wǎng) http://www.chiang1015.com/ 上發(fā)表,為其獨立觀點。不代表本網(wǎng)立場,不代表本網(wǎng)贊同其觀點,亦不對其真實性負責(zé),投資決策請建立在獨立思考之上。