通達信優(yōu)化季KDJ抓中長線大鐵底指標(biāo)公式N:=540;{默認(rèn)參數(shù)設(shè)置原理:一個交易季約60日,故取9,3,3分別×60} M1:=2,1000,180; M2:=2,1000,180; RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100; K:SMA(RSV,M1,1); D:SMA(K,M2,1); J:3*K-2*D; CD:=20; TD:=80; 安全線:IF(J<=40,CD,DRAWNULL),DOTLINE,COLORLIRED; 逃頂線:IF(J>=60,TD,DRAWNULL),DOTLINE,COLORLIGREEN; 鐵底入場:=IF(CROSS(K,D),1,0); DRAWTEXT(鐵底入場,D*0.98,'鐵底入場'),COLORBROWN; DRAWTEXT(鐵底入場,D*0.86,'膽大不怕'),COLORBROWN; DRAWTEXT(鐵底入場,D*0.74,'滿滿發(fā)發(fā)'),COLORBROWN;
|