1、多空顶底 GUP2:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100; GUP3:=SMA(SMA(GUP2,3,1),3,1)/28.57; GUP4:=EMA(GUP3,5); GUP5:=3*GUP3-2*GUP4; AA:=CROSS(GUP5,GUP3) AND GUP3<2.1 AND C>O; GUP6:=(2*CLOSE+HIGH+LOW)/4; GUP7:=LLV(LOW,13); GUP8:=HHV(HIGH,13); GUP9:=EMA((GUP6-GUP7)/(GUP8-GUP7)*100,13); GUPA:=EMA(0.667*REF(GUP9,1)+0.333*GUP9,2); 多:GUP9,colorred,POINTDOT; 空:EMA(0.382*REF(GUP9,2)+0.618*GUP9,12),colorgreen; STICKLINE(GUP9>GUPA,GUP9,GUPA,6,0),colorred; STICKLINE(GUP9<=GUPA,GUP9,GUPA,6,0),COLORFFCC66; STICKLINE(AA,0,30,40,1),coloryellow; STICKLINE(AA,16,29,38,0),colorred; STICKLINE(AA,1,14,38,0),colorred; STICKLINE(AA,15,15,40,1),coloryellow; STICKLINE(AA,30,50,10,0),coloryellow; STICKLINE(AA,53,55,10,1),colorred; STICKLINE(AA,57,59,10,1),colorred; STICKLINE(AA,61,63,10,1),colorred; STICKLINE(AA,65,67,10,1),colorred; STICKLINE(AA,69,75,12,0),COLORFFCCCC; DRAWTEXT(AA,85,'底'),coloryellow; 2、美人眼KD 就是在KD上面画一直线,加上转折信号的。( 顶尖财经 股票学院: http://58188.com ) RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100; %K:MA(RSV,M1); %D:MA(%K,M2),COLORAA00DD; Y1,COLOR007A00; Y2,COLOR007A00; DIF:=EMA(CLOSE,12)-EMA(CLOSE,26); DEA:=EMA(DIF,9); VAR1:=HHV(DEA,53); VAR2:=LLV(DEA,55); VAR3:=DEA-(DIF-DEA); UP:=IF(DIF>VAR1 AND DEA=VAR1,MAX(LLV(VAR1,10),VAR3),VAR1); DN:=IF(DIF<VAR2 AND DEA=VAR2,MIN(HHV(VAR2,10),VAR3),VAR2); DRAWICON(CROSS(%D,%K) AND %D>74,100,2); DRAWICON(CROSS(%K,%D) AND %D<26,0,1); STICKLINE(DIF<DN,-5,-4,5,0),LINETHICK3,colorred; STICKLINE(DIF>UP,104,103,5,0),LINETHICK3,colorred; 3、箱体轨道 进出线1:MA(C,13); 进出线2:MA(C,21),colorred; 方向线:MA(C,89),colorgreen,LINETHICK2; STICKLINE(进出线1>进出线2,进出线1,进出线2,0,0),colorred; STICKLINE(进出线1<进出线2 ,进出线1,进出线2,0,0),colorblue; DRAWKLINE(H,O,L,C); M:=10; A1:=REF(C,M)=HHV(C,M*2); B1:=FILTER(A1,M); C1:=BACKSET(B1,M+1); HD:=FILTER(C1,M); A2:=REF(C,M)=LLV(C,M*2); B2:=FILTER(A2,M); C2:=BACKSET(B2,M+1); LD:=FILTER(C2,M); AZ1:=REF(H,BARSLAST(HD)); B:=REF(L,BARSLAST(LD)); T1:=BARSLAST(HD); T2:=BARSLAST(HD)>BARSLAST(LD) AND NOT(LD); 箱顶:IF(T1,AZ1,AZ1),POINTDOT,COLORFFC0CB,LINETHICK3,NODRAW; 箱底:IF(T2,B,B),POINTDOT,colorgreen,LINETHICK3,NODRAW; STICKLINE(C,箱顶,箱顶,6,0),colorred; STICKLINE(C,箱底,箱底,6,0),COLORFFC0CB; |