请高手把里面的乱七八糟的东西去掉,那些字还有那些小圆圈都去掉 ,留一个干净的寂寞的1/2理论这样看的清楚一点
参数
x 1 300 190
y 1 300 170
{寂寞的1/2理论}
顶:REFDATE(HHV(H,X),DATE),COLORWHITE;
A19:REFDATE(LLV(L,Y)+(HHV(H,X)-LLV(L,Y))*0.191,DATE),COLORYELLOW;
A38:REFDATE(LLV(L,Y)+(HHV(H,X)-LLV(L,Y))*0.382,DATE),COLORMAGENTA;
A50:REFDATE(LLV(L,Y)+(HHV(H,X)-LLV(L,Y))*0.5,DATE),COLORRED,LINETHICK2;
A61:REFDATE(LLV(L,Y)+(HHV(H,X)-LLV(L,Y))*0.618,DATE),COLORMAGENTA;
A80:REFDATE(LLV(L,Y)+(HHV(H,X)-LLV(L,Y))*0.809,DATE),COLORYELLOW;
低:REFDATE(LLV(L,Y),DATE),COLORWHITE;
M5:MA(CLOSE,5),COLORWHITE;
M10:MA(CLOSE,10),COLORYELLOW;
M20:MA(CLOSE,20)COLORMAGENTA;
M30:MA(CLOSE,30),COLORGREEN;
M60:MA(CLOSE,60),COLORGRAY;
龙撑:IF(CLOSE>SAR(10,2,20),SAR(10,2,20),DRAWNULL),POINTDOT,LINETHICK4,COLORRED;
龙压:IF(CLOSE<SAR(10,2,20),SAR(10,2,20),DRAWNULL),POINTDOT,LINETHICK4,COLORGREEN;
STICKLINE(IF((C-REF(C,1))*100/REF(C,1)>=(10-0.01*100/REF(C,1)),1,0),OPEN,CLOSE,2,0),COLORMAGENTA ;
STICKLINE(IF((REF(C,1)-C)*100/REF(C,1)>=(10-0.01*100/REF(C,1)),1,0),OPEN,CLOSE,2,0),COLORGREEN;
M:=REF(C,BARSLAST(FILTER(BACKSET(FILTER(REF(C,10)=HHV(C,2*10+1),10),10+1),10)));
N:=REF(C,BARSLAST(FILTER(BACKSET(FILTER(REF(C,10)=LLV(C,2*10+1),10),10+1),10)));
T1:=BARSLAST(FILTER(BACKSET(FILTER(REF(C,10)=HHV(C,2*10+1),10),10+1),10))<BARSLAST(FILTER(BACKSET(FILTER(REF(C,10)=LLV(C,2*10+1),10),10+1),10)) AND NOT(FILTER(BACKSET(FILTER(REF(C,10)=HHV(C,2*10+1),10),10+1),10)) ;
T2:=BARSLAST(FILTER(BACKSET(FILTER(REF(C,10)=HHV(C,2*10+1),10),10+1),10))>BARSLAST(FILTER(BACKSET(FILTER(REF(C,10)=LLV(C,2*10+1),10),10+1),10)) AND NOT(FILTER(BACKSET(FILTER(REF(C,10)=LLV(C,2*10+1),10),10+1),10));
峰:IF(T1,M,M),COLORRED,POINTDOT;
STICKLINE(T1,M,M,9,0),COLORRED;
谷:IF(T2,N,N),COLORGREEN,POINTDOT;
STICKLINE(T2,N,N,9,0),COLOR80FF00;
MA18:=MA(CLOSE,18);
A:=(3*C+L+O+H)/6;
X:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+
14*REF(A,6)+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8*REF(A,12)
+7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+
REF(A,20))/210;
MTM:=C-REF(C,1);
DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
CB:=EMA(X,13);
卖:=IF(HHV(DX,2)=HHV(DX,7) AND COUNT(DX>50,2) AND CROSS(MA(DX,2),DX),1,0);
DRAWTEXT(FILTER(卖=1,1),HIGH*1.02,'卖'),COLORWHITE;
买:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2)),1,0);
DRAWTEXT(FILTER(买=1,5),L-0.03,'买'),COLORRED;
RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
K4:=SMA(RSV,3,1);
D4:=SMA(K4,3,1);
J4:=3*K4-2*D4;
BDGD:=HHV(J4,2)=HHV(J4,8) AND J4>80;
注意:=IF(CROSS(REF(J4-0.01,1),J4) AND REF(BDGD,1),1,0);
DRAWTEXT(注意 AND 卖<1 OR 卖>1,HIGH*1.02,'减'),COLORFFFF50;
加仓A:=SMA(EMA((C-REF(C,1))/REF(C,1),5)*100,3,1)*10;
跟:=IF(MA18>=REF(MA18,3) AND CROSS(CLOSE,MA18),1,0);
DRAWTEXT(MA18>=REF(MA18,3) AND CROSS(CLOSE,MA18),L-0.20,'跟'),COLOR7F52AF;
BB1:=L<AMOUNT/ V*0.9;
CC1:=(C-REF(C,1))/REF(C,1)*100>1.2;
DD1:=L<MA(C,5)*0.921;
EE1:=V<MA(V,5)*1.5;
DRAWTEXT(BB1 AND CC1 AND DD1 AND EE1,L-0.15,'鼠'),COLOR4080FF;
DRAWTEXT(FILTER((AMOUNT/ V AND BB1 AND CC1 AND DD1),20),L-0.2,'入'),COLORWHITE;
DRAWTEXT(CROSS(EMA(100*(C-LLV(LOW,7))/(HHV(H,7)-LLV(LOW,7)),3),20),L-0.08,'主流'),COLORWHITE;
DRAWTEXT(CURRBARSCOUNT=60,LLV(L,60)*1.1,'=【论坛】='),COLORYELLOW;
DRAWTEXT(ISLASTBAR,顶*0.99,'最高'),COLORWHITE;
DRAWTEXT(ISLASTBAR,A19,'%19.8'),COLORYELLOW;
DRAWTEXT(ISLASTBAR,A38,'%38.2'),COLORMAGENTA;
DRAWTEXT(ISLASTBAR,A50,'1/2'),COLORRED;
DRAWTEXT(ISLASTBAR,A61,'%61.8'),COLORMAGENTA;
DRAWTEXT(ISLASTBAR,A80,'%80.9'),COLORYELLOW;
DRAWTEXT(ISLASTBAR,低,'最低'),COLORWHITE;
|