根据论坛【常 乐0909】老师《11月9号发表,(发一个稳健指标,希望对小散有用。。。。)》修改的公式源码及选股公式
根据图形来看,有参考的必要,所以发出,亦请常乐0909老师谅解
源码:
Z:=MA(C,120);
VAR3:=(MA(C,5)-Z)/Z;
VAR4:=MA((CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100,3);
波段进场:IF(CLOSE>Z AND REF(VAR4,1)<30 AND VAR4>REF(VAR4,1) AND REF(VAR4,1)<REF(VAR4,2),80,50);
反弹进场:IF(REF(VAR4,1)<5 AND VAR4>REF(VAR4,1) AND REF(VAR4,1)<REF(VAR4,2) AND VAR3<-0.3,80,50);
超跌进场:IF(CROSS(VAR4,5) AND VAR3<-0.4,80,15);
STICKLINE(C>=MA(C,10),VAR4,REF(VAR4,1),2,0),COLORRED;
STICKLINE(C<MA(C,10),VAR4,REF(VAR4,1),2,0),COLORGREEN;
选股:
Z:=MA(C,120);
VAR3:=(MA(C,5)-Z)/Z;
VAR4:=MA((CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10)),1);
超跌进场:(CROSS(VAR4,VAR3));