现将"终极买点指标"改写成选股指标。代码如下:
按CTRL+F键调出"公式管理器",选"其它类型","新建",然后复制下面的代码到指标公式编辑器,测试通过保存即可。
SM1:=MA((2*C+H+L)/4,5);
SM2:=SM1*(200-102)/100;
SM3:=(1-7/100)*DMA(C,ABS((2*C+H+L)/4-MA(C,20))/MA(C,20));
SM4:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
SM5:=3*SMA(SM4,3,1)-2*SMA(SMA(SM4,3,1),3,1);
SM6:=((H+L+C)/3-MA((H+L+C)/3,14))/(0.015*AVEDEV((H+L+C)/3,14));
SM7:=SM2
买点1:=SM7;{WWW.58188.COM}
VAR1:=REF(CLOSE,1);
VAR2:=SMA(MAX(CLOSE-VAR1,0),7,1)/SMA(ABS(CLOSE-VAR1),7,1)*100;
买点2:=FILTER(REF(VAR2,1)<20 AND VAR2>REF(VAR2,1),5);
终极买点:买点1 AND买点2,COLORRED,LINETHICK2;
见下图: