|
P11:=BARSLAST(holdernum);
a11:=ref(holdernum,P11);
主力11:=(-1*(slope(a11,30)+slope(a11,30/3))),colorred;
主力111:=(-1*(slope(a11,3)+slope(a11,2))),colorred;
P:=(HIGH + LOW + CLOSE)/3;
主力:=(P-MA(P,89))*100/(1.5*avedev(P,89))>=100;
c51:=CYC(5),COLORyellow;
c101:=cyc(10),COLORff00ff;
c201:=cyc(20),Colorff9900;
c01:=MAXCYC,color00ff00;
C00:=(C51>=C01 AND C51>=C101 AND C>=C01) OR 主力;
Var1:=1;
月均获利:=EMA(100*WINNER(CLOSE),20),color00ff00;
周均获利:=EMA(100*WINNER(CLOSE),5),colorwhite;
日获利盘:=100*WINNER(CLOSE),colorRED;
买:=日获利盘>=周均获利;
买2:=((HIGH + LOW + CLOSE)/3-MA((HIGH + LOW + CLOSE)/3,70))*100/(1.5*avedev((HIGH + LOW + CLOSE)/3,70))>=70;
买12:=cross(买2,0.6) or (买2=1 and cross(买,0.6));
买1:=cross(买,0.6);
n3:=barslast(cross(买,0.6));
n4:=barslast(cross(0.6,买));
持股:if(n3<n4,n3+1,0),POINTDOT;
统计:(c-ref(c,持股))/ref(c,持股)*100,POINTDOT;
n30:=barslast(cross(C00,0.6));
n40:=barslast(cross(0.6,C00));
强势:if(n30<n40,n30+1,0),POINTDOT;
stickline(C00>=0.7,70000,0,8,0),Color000040;
stickline(C00<0.7,0,70000,8,0),color400000;
c5:CYC(5),COLORyellow;
c10:cyc(10),COLORff00ff;
c20:cyc(20),Colorff9900;
c0:MAXCYC,color00ff00;
V1:=DMA((((HIGH + LOW) + (CLOSE * 2)) / 4),0.9);
HY1:=REF(EMA(V1,3),1);
操盘线:=HY1,;
abcd:=(3*c+l+o+h)/6;
dkx:=(20*abcd+19*ref(abcd,1)+18*ref(abcd,2)+17*ref(abcd,3)+16*ref(abcd,4)+15*ref(abcd,5)+14*ref(abcd,6)
+13*ref(abcd,7)+12*ref(abcd,8)+11*ref(abcd,9)+10*ref(abcd,10)+9*ref(abcd,11)+8*ref(abcd,12)
+7*ref(abcd,13)+6*ref(abcd,14)+5*ref(abcd,15)+4*ref(abcd,16)+3*ref(abcd,17)+2*ref(abcd,18)+
ref(abcd,20))/210,colorwhite;
多空线:=dkx;
TY:=C;
A1:=REF(TY,N)=HHV(TY,2*N+1); B1:=FILTER(A1,N); C1:=BACKSET(B1,N+1); HD:=FILTER(C1,N);
A2:=REF(TY,N)=LLV(TY,2*N+1); B2:=FILTER(A2,N); C2:=BACKSET(B2,N+1); LD:=FILTER(C2,N);
A:=REF(C,BARSLAST(HD));
Z:=REF(L,BARSLAST(LD));
T1:=BARSLAST(HD)<BARSLAST(LD) AND NOT(HD) ;
T2:=BARSLAST(HD)>BARSLAST(LD) AND NOT(LD);
压力:IF(T1,A,A),COLORyellow,linethick1,POINTDOT;
支撑:IF(T2,Z,Z),COLORWHITE,linethick1,POINTDOT;
亚当:=日获利盘;{顶尖财经网www.58188.com}
夏娃:=周均获利;
stickline(亚当>=夏娃,low,high,0.1,0),colorred;
stickline(亚当>=夏娃,close,open,4,0),color0000AA;
stickline(亚当>=夏娃,close,open,3,0),color0000CC;
stickline(亚当>=夏娃,close,open,2,0),color0000DD;
stickline(亚当>=夏娃,close,open,1,0),color0000FF;
stickline(亚当<夏娃,close,open,1,0),colorEEEE00;
stickline(亚当<夏娃,close,open,2,0),colorDDDD00;
stickline(亚当<夏娃,close,open,3,0),colorCCCC00;
stickline(亚当<夏娃,close,open,4,0),colorAAAA00;
stickline(亚当<夏娃,low,high,0.1,0),colorFFff00;
|