MA14:=MA(C,14);
{均线多头排列}
T1:=MA14>MA(C,5) AND MA(C,25)>MA14;
{股价回调14日线不破}
T2:=REF(C,2)>REF(C,1) AND BETWEEN(REF(C,1),MA14,1.02*MA14) AND C>REF(C,1);
{预警选股}
T1 AND T2;
或者这么写

a1:=(close-ma(c,14))/ma(c,14)*100>0;
a2:=COUNT(a1,4)>=4;
a3:=abs(c-ma(c,14))/ma(c,14)<0.005;
a4:=c-ref(c,1)<0;
a5:=c>=ma(c,14);
a2 and a3 and a4 and a5;
 

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