请求帮改下公式,谢谢了!
发布网友
发布时间:2024-10-29 01:28
我来回答
共1个回答
热心网友
时间:2024-10-29 01:28
资金进场日选股:
VA1:=100-3*SMA((CLOSE-LLV(LOW,65))/(HHV(HIGH,80)-LLV(LOW,65))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,65))/(HHV(HIGH,80)-LLV(LOW,65))*100,20,1),15,1);
VA2:=100-3*SMA((OPEN-LLV(LOW,65))/(HHV(HIGH,80)-LLV(LOW,65))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,65))/(HHV(HIGH,80)-LLV(LOW,65))*100,20,1),15,1);
VA3:=VA1<REF(VA2,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);
R:=WINNER(CLOSE+CLOSE*15/100)*100;
W:=WINNER(CLOSE+CLOSE*0/100)*100;
HH:=R-W;
G:=(WINNER(CLOSE-CLOSE*0.1/100)-WINNER(CLOSE-CLOSE*15/100))*100;
E:=HH<3 AND G<0.5 AND OPEN!=LOW;
Q1:=DYNAINFO(6);
Q2:=IF(LOW>Q1,0,IF(HIGH<Q1,1,(Q1-LOW+0.01)/(HIGH-LOW+0.01)));
Q3:=VOL/WINNER(LOW);
Q4:=REF(HHV(CLOSE,120),1);
Q5:=REF(LLV(CLOSE,120),1);
Q6:=100*(CLOSE-Q5)/(Q4-Q5);
Q7:=Q2>0 OR Q2=1;
Q8:=Q7 AND Q3/REF(Q3,3)>=3 AND Q6<80;
Q9:=REF(Q8,1) OR REF(Q8,2) OR REF(Q8,3) OR REF(Q8,4);
Q10:=Q8 AND Q9;
Q11:=IF(FILTER(Q8,3),5,0);
Q12:=IF(FILTER(Q10,3) OR E,10,0);
资金进场日:IF(Q11>0,8,DRAWNULL);
资金加仓日选股:
VA1:=100-3*SMA((CLOSE-LLV(LOW,65))/(HHV(HIGH,80)-LLV(LOW,65))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,65))/(HHV(HIGH,80)-LLV(LOW,65))*100,20,1),15,1);
VA2:=100-3*SMA((OPEN-LLV(LOW,65))/(HHV(HIGH,80)-LLV(LOW,65))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,65))/(HHV(HIGH,80)-LLV(LOW,65))*100,20,1),15,1);
VA3:=VA1<REF(VA2,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);
R:=WINNER(CLOSE+CLOSE*15/100)*100;
W:=WINNER(CLOSE+CLOSE*0/100)*100;
HH:=R-W;
G:=(WINNER(CLOSE-CLOSE*0.1/100)-WINNER(CLOSE-CLOSE*15/100))*100;
E:=HH<3 AND G<0.5 AND OPEN!=LOW;
Q1:=DYNAINFO(6);
Q2:=IF(LOW>Q1,0,IF(HIGH<Q1,1,(Q1-LOW+0.01)/(HIGH-LOW+0.01)));
Q3:=VOL/WINNER(LOW);
Q4:=REF(HHV(CLOSE,120),1);
Q5:=REF(LLV(CLOSE,120),1);
Q6:=100*(CLOSE-Q5)/(Q4-Q5);
Q7:=Q2>0 OR Q2=1;
Q8:=Q7 AND Q3/REF(Q3,3)>=3 AND Q6<80;
Q9:=REF(Q8,1) OR REF(Q8,2) OR REF(Q8,3) OR REF(Q8,4);
Q10:=Q8 AND Q9;
Q11:=IF(FILTER(Q8,3),5,0);
Q12:=IF(FILTER(Q10,3) OR E,10,0);
资金加仓日:IF(Q12>0,15,DRAWNULL);