2022版本独创最佳短底KDJ优化版本利器(通达信+指标+源码)
指标源码:
N:=9; M1:=3;
M2:=3;
独创:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:SMA(独创,M1,1);
D:SMA(K,M2,1);
J:3*K-2*D;
DDD0:105, POINTDOT;
DDD1:90, POINTDOT;
DDD2:10, POINTDOT;
DDD3:0, POINTDOT;
DDD4:-10, POINTDOT;
RA:=LLV(LOW,35);
RB:=HHV(HIGH,30);
RC:=EMA((CLOSE-RA)/(RB-RA)*4,4)*19;
DDD5:=MA(CLOSE,5),COLORYELLOW,LINETHICK2;
STICKLINE(RC<6 AND 100*(HHV(HIGH,19)-CLOSE)/(HHV(HIGH,19)-LLV(LOW,19))>97 ,0 ,DDD5*1.15 ,2 , 0),COLORYELLOW;
选股源码:
RA:=LLV(LOW,35); RB:=HHV(HIGH,30);
RC:=EMA((CLOSE-RA)/(RB-RA)*4,4)*19;
选股:RC<6 AND 100*(HHV(HIGH,19)-CLOSE)/(HHV(HIGH,19)-LLV(LOW,19))>97;
|