SVM1:=(MA(CLOSE,20)-MA(CLOSE,60))/MA(CLOSE,60)*200;
SVM2:=-(MA(CLOSE,20)-MA(CLOSE,60))/MA(CLOSE,60)*200;
KM:=IF(SVM1>0,SVM1,0);
KKM:=-IF(SVM2>0,SVM2,0);
DNN:=HHV(KM,9);
DXX:=HHV(-KKM,9);
SV1:=(CLOSE-MA(CLOSE,20))/MA(CLOSE,20)*200;
SV2:=-(CLOSE-MA(CLOSE,20))/MA(CLOSE,20)*200;
K:=IF(SV1>0,SV1,0);
KK:=-IF(SV2>0,SV2,0);
XNN:=HHV(K,3);
XXX:=HHV(-KK,3);
MA20:=MA(CLOSE,20);
HJMS:=HHV(KM,9);
PJMS:=HHV(-KKM,9);
PU:=HHV(-KK,3);
HY:=HHV(K,3);
DLLD:=CROSS(XNN,XXX) AND DXX=0 AND MA20>REF(MA20,1);
M5:MA(C,5);
M20:MA(C,20);
M60:MA(C,60);
STICKLINE(DLLD,L,L*0.98,6,0),LINETHICK1,COLORRED;
STICKLINE(DLLD,L,L*0.99,0.2,0),COLORYELLOW;
STICKLINE(DLLD,L*0.98,L*0.97,2,0),LINETHICK1,COLORYELLOW;
“金刚指”的选股公式如下:
源码
SVM2:=-(MA(CLOSE,20)-MA(CLOSE,60))/MA(CLOSE,60)*200;
KKM:=-IF(SVM2>0,SVM2,0);
DXX:=HHV(-KKM,9);
SV1:=(CLOSE-MA(CLOSE,20))/MA(CLOSE,20)*200;
SV2:=-(CLOSE-MA(CLOSE,20))/MA(CLOSE,20)*200;
K:=IF(SV1>0,SV1,0);
KK:=-IF(SV2>0,SV2,0);
XNN:=HHV(K,3);
XXX:=HHV(-KK,3);
MA20:=MA(CLOSE,20);
XG:CROSS(XNN,XXX) AND DXX=0 AND MA20>REF(MA20,1);