以下是选股指标反转模型(源码贴说明)

a1:=ma(close,5);
 A2:=ma(close,10);
 A3:=ma(close,20);
 A4:=ma(close,30);
 A5:=a1>a2 and a2>a3 ;

BIAS:= (CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100 ;
 A7:= HHV(BIAS,20)< 6;

 A6:= (c-LLV(l,20))/LLV(l,20)*100 > 20 AND ( c-ref(c,20))/ref(c,20)*100 < 10 ;
 A8:=CLOSE > ma(CLOSE,5) and
 REF(CLOSE,1)> REF(ma(CLOSE,5),1) and REF(CLOSE,2)> REF(ma(CLOSE,5),2) and REF(CLOSE,3)> REF(ma(CLOSE,5),3) and REF(CLOSE,4)> REF(ma(CLOSE,5),4) ;
 A9:= CLOSE > REF(CLOSE,5) and REF(CLOSE,5) > REF(CLOSE,10) ;

A9 AND A6 AND A5 AND A7 AND A8;

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。