作者:黄金地带
点击:
回复:

CPW的个股5三线玄机

CPW的个股5三线玄机

rsv:=(c-llv(l,9))/(hhv(h,9)-llv(l,9))*100;
k:=sma(rsv,3,1);
d:=sma(k,3,1);
j:=3*k-2*d;
a:=((100-2*ref(k,1)+2*k+4*ref(d,1)/3)/3*(hhv(h,9)-llv(l,9))+100*llv(l,9))/100;
b:=((-(2*ref(k,1))+2*k+4*ref(d,1)/3)/3*(hhv(h,9)-llv(l,9))+100*llv(l,9))/100;
a1:=if(cross(d,k),l,0);
a2:=if(cross("551885.R1","551885.R3") and count(cross(50,d),barslast(cross(d,k)))=1 and c<hhv(c,11) and count(cross("551885.R1","551885.R3"),barslast(cross(55,d)))=1 or cross("551885.R2","551885.R1") and count(cross(55,d),barslast(cross(d,k)))=1 and c<hhv(c,10) and count(cross("551885.R2","551885.R1"),barslast(cross(55,d)))=1 or cross(50,d) and ref(c,1)>a and ref(c,1)>ref(o,1),1,0);
b1:ref(a,barslast(a2)),Linethick5,colorff;
b2:if("DR4.B3"<"DR4.B4",ref(b,barslast(a1)),ref(a,barslast(a1))),Linethick5,colorffff;
fillrgn(b1>=b2 and (b1-b2)/b2*100<2,b1,b2),colorffffff;
fillrgn(b1<b2 and abs(b1-b2)/b2*100<2,b1,b2),colorffffff;
stickline(b1<b2 and c>b1 and b1<b2*0.962,b2,b2*0.962,0,0),colorff00;
b3:if(b1<b2 and c>b1 and b1<b2*0.962,b2*0.962,ref(a,barslast(a2))),Linethick5,colorff00ff;

作者:黄金地带  2008-3-13 15:34:18  [回复此主题]