先勝公式之二先勝擒龍
var1:=hhv(h,3);
var2:=(if(winner(1.1*c)<0,0,winner(1.1*c))-if(winner(0.9*c)<0,0,winner(0.9*c)))*100;
var3:=if(var1<0,0,var1);
var4:=if(var2<0,0,var2);
主力震倉:pwinner(10,var4),Linethick2,colorff0000;
var5:=cost(10);
var6:=(c-var5)/var5*100;
var7:=count(var6<-2.05,3);
主力吸籌:if(var7>=3,0.5,0),Linethick4,colorffcc66;
var9:=(c-llv(l,27))/(hhv(h,27)-llv(l,27))*100;
var10:=sma(var9,3,1);
var11:=sma(var10,3,1);
var12:=sma(var11,3,1);
買:if(cross(var11,var12) and var11<40,1,0),Linethick2,colorff;
stickline(買,0,0.5,8,0),Linethick2,colorff;
stickline(買,0.45,0.6,2,0),Linethick2;
rsv:=(c-llv(l,6))/(hhv(h,6)-llv(l,6))*1;
短k:=sma(rsv,2,1);
短d:sma(短k,2,1),colorffff;
rsv1:=(c-llv(l,38))/(hhv(h,38)-llv(l,38))*1;
stickline(短k>短d,短k,短d,6,0),Linethick4,colorff00ff;
stickline(短k<=短d,短k,短d,5,0),Linethick3,colorff00;
var6:=(2*c+h+l)/4;
var7:=llv(l,8);
var8:=hhv(h,8);
var9:=ema((var6-var7)/(var8-var7)*100,2);
vara:=ema(0.667*ref(var9,1)+0.333*var9,2);
戰(zhàn)術(shù)線:=var9;
戰(zhàn)略線:=ema(0.382*ref(var9,2)+0.618*var9,12);
aa:=if(戰(zhàn)略線>ref(戰(zhàn)略線,1),5,0);
bb:=if(戰(zhàn)略線<ref(戰(zhàn)略線,1),5,0);
drawicon(aa,0.01,10),Linethick2;
drawicon(bb,0.01,11),Linethick2;
var1:=ref(c,1);
var2:=sma(max(c-var1,0),6,1)/sma(abs(c-var1),6,1)*100;
頂部雷達(dá):=cross(80,var2)*1;
drawtext(cross(80,var2),1,'★見頂 '),Linethick2,coloreeff;股票論壇 www.55188.com
本站僅提供存儲服務(wù),所有內(nèi)容均由用戶發(fā)布,如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請
點擊舉報。