大智慧选股指标有两个错误,求大神修改
发布网友
发布时间:2022-05-06 15:49
我来回答
共1个回答
热心网友
时间:2023-10-10 17:04
错误很多!其中:未知字符串 ”主动率 “ 没有设定主动率的函数定义,缺少设定,一定是漏掉了吧?
以下部分内容能通过,
NS:=VOL/CAPITAL;
DDD:=BIGORDER(1,2)-BIGORDER(2,2);
DT:=NS*DDD*100;
DD:=DT>=-0.05;
EE:=DDY>=0;
FF1:=CLOSE/REF(CLOSE,1)<=1.025;
FF2:=REF(CLOSE,1)/REF(CLOSE,2)<=1.05;
FF3:=COUNT((CLOSE/REF(CLOSE,1)<=1.4),5)>=1;
FF:=FF1 AND FF2 AND FF3;
小单差:=(1-BIGORDER(1,1)-(1-BIGORDER(2,1)))*100;
GG:=小单差<-1;
{通吃率}
买入:=BIGORDER(1,2)*AMOUNT;
卖出:=BIGORDER(2,2)*AMOUNT;
净额:=买入-卖出;
通吃率:=净额/AMOUNT*100;
HH:=通吃率>=1;
买入单数:=ORDER(1);
卖出单数:=ORDER(2);
单数比:=卖出单数/买入单数;
II:=单数比>=1;
停牌:DYNAINFO(4)=0;
JJ:=NOT(停牌);
{仙人指路}
KK1:=INDEXC/REF(INDEXC,1)<-0.99;
KK2:=H/O>=1.04;
KK3:=H/C>=1.035;
均线上升:=NA(C,5)>MA(C,10) OR MA(C,10)>MA(C,20);
仙人指路:=KK1 AND KK2 AND KK3 AND 均线上升;
黑马扬蹄:={AA AND BB AND CC AND DD AND EE AND} FF{AND GG AND HH AND II}AND JJ;
选股:黑马扬蹄 AND 仙人指路;