九毛八公式指标
请老师帮助把条件选股公式1和2;公式指标3要求多头增仓大于1;三个指标合并成一个预警公式 条件选股1:开始控盘 VAR1:=EMA(EMA(CLOSE,9),9); 控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000; 开始控盘:CROSS(控盘,0); 条件选股2:小护士 XX2:=(MA(CLOSE,80)-MA(CLOSE,13)/3); SQX:=MA((CLOSE-XX2)/XX2,10)*0.01; 买4:=IF(REF(SQX,2)=LLV(SQX,20)AND REF(SQX,2)<0.071 AND REF(SQX,2)REF(HIGH,2) AND LOW>REF(HIGH,1)) AND CLOSE>REF(CLOSE,1),60,0); ZTO:EXIST(买4,3); {N天存在}; 公式3:多头增仓 NN:=BARSLAST(DATEREF(DATE,1))+1; KH:=HHV(NN,300); QQ:=VOLINSTK-REF(VOLINSTK,1); SJTJ:=DATE<1590301; K1:=IF(CLOSE>OPEN&&QQ>=0 && SJTJ,QQ,0); KK1:=IF(CLOSE公式模块:
NN:=BArslAST(DATE<REF(DATE,1) OR DATE>REF(DATE,1))+1;
KH:=HHV(NN,300); QQ:=volINSTK-REF(VOLINSTK,1); SJTJ:=DATE<9590301; K1:=IF(CLOSE>OPEN&&QQ>=0 && SJTJ,QQ,0); KK1:=IF(CLOSE<OPEN&&QQ<0 && SJTJ,QQ,0); KKK1:=IF(CLOSE=OPEN,QQ*0.5,0); DO:=SUM(K1,NN)+SUM(KK1,NN)+SUM(KKK1,NN); VAR1:=EMA(EMA(CLOSE,9),9); 控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000; 开始控盘:=crOSS(控盘,0); XX2:=(MA(CLOSE,80)-MA(CLOSE,13)/3); SQX:=MA((CLOSE-XX2)/XX2,10)*0.01; 买4:=IF(REF(SQX,2)=LLV(SQX,20)AND REF(SQX,2)<0.071 AND REF(SQX,2)<REF(SQX,1) AND NOT(REF(LOW,1)>REF(HIGH,2) AND LOW>REF(HIGH,1)) AND CLOSE>REF(CLOSE,1),60,0); ZTO:EXIST(买4,3) AND 开始控盘 AND DO>1;
0>