KJD自制,自己修改优化: RSV=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; a=SMA(RSV,9,1); b=SMA(a,9,1); e=3*a-2*b; D:b; J:e; a1:10; a2:81; a3:33; 顶底信号( 顶尖财经 股票学院: http://www.58188.com ): VAR1:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100; VAR2:=SMA(VAR1,3,1); VAR3:=SMA(VAR2,3,1); VAR4:=SMA(VAR3,3,1); 波:VAR3; 段:VAR4; VAR6:=CROSS(VAR3,VAR4) AND VAR3<20; DRAWTEXT(FILTER(VAR6,10)=1,40,'底'),LINETHICK3; STICKLINE(FILTER(VAR6,10)=1,0,30,10,0),colorgreen; VAR7:=CROSS(VAR4,VAR3) AND VAR3>80; STICKLINE(FILTER(VAR7,5)=1,80,100,10,0),coloryellow; DRAWTEXT(FILTER(VAR7,5)=1,70,'顶'),LINETHICK3,coloryellow; VAR8:=CROSS(VAR2,VAR3) AND VAR3>80 AND VAR3>VAR4; STICKLINE(VAR8,85,100,10,0); 大盘买卖动力: VAR2:=LLV(LOW,6); VAR3:=HHV(HIGH,12); 动力线:EMA((C-VAR2)/(VAR3-VAR2)*4,4),colorred,LINETHICK1; DLX:=动力线; 进五成:IF(CROSS(DLX,0.5),1.2,0.5),colormagenta; 加三成:IF(CROSS(DLX,1.3),1.8,0.5),coloryellow; 减半:IF(CROSS(DLX,3.3),2.1,0.5),colorligreen; 清仓:IF(CROSS(DLX,3.5),2.7,0.5),colorgreen; STICKLINE(C,1.3,1.3,2,0),COLOR777777; STICKLINE(C,3.3,3.3,2,0),COLOR777777; STICKLINE(C,3.5,3.5,2,0),COLORAAAA55; |