SKDJ月线从低于20开始走上升通道过程中2次金叉的选股指标。
股旁网解答:
LOWV:=LLV(LOW,12);
HIGHV:=HHV(HIGH,12);
RSV:=EMA((CLOSE-LOWV)/(HIGHV-LOWV)*100,3);
K:=EMA(RSV,3);
D:=MA(K,3);
T1:=BARSLAST(CROSS(K,D) AND K<30);
T2:=CROSS(K,D);
T3:=EMA(C,8)>EMA(C,26) AND EMA(C,26)>EMA(C,50);
T4:=EMA(C,50)>REF(EMA(C,50),1) AND EMA(C,26)>REF(EMA(C,26),1);
慢KDJ二次金叉1:=COUNT(T2,T1)=1 AND T2 ;
慢KDJ强势金叉2:=T2 AND T3 AND T4;
慢KDJ二次金叉:慢KDJ二次金叉1 OR 慢KDJ强势金叉2;