手机端
当前位置:爱约股 > 公式技巧 > 写下五天内出现过入市日的选股

写下五天内出现过入市日的选股

 网友求助:

入市日的源码为:

V1:=LLV(LOW,10);
V2:=HHV(HIGH,20);
lyf1:=EMA(((CLOSE-V1)/(V2-V1))*((-100)),3);
VARg5:=((CLOSE)/(REF(CLOSE,5))>=1.15);
VARg6:=BACKSET(VARg5,5);
入市日:IF((VARg6 AND (COUNT(VARg6,5)=1) or (CLOSE>=HHV(HIGH,HIGH))
AND ((CLOSE)/(REF(CLOSE,1))>1.098) AND (REF(VOL,LOW)>REF(VOL,34))
AND (REF(VOL,LOW)>REF(VOL,1)) AND (LYF1>(-93))
AND (REF(VOL,LOW)>REF(VOL,8))),60,0),Stick,COLOR00FF00,linethick5;

不胜感激!!!
 

 

解答如下:

V1:=LLV(LOW,10);
V2:=HHV(HIGH,20);
LYF1:=EMA(((CLOSE-V1)/(V2-V1))*((-100)),3);
VARG5:=((CLOSE)/(REF(CLOSE,5))>=1.15);
VARG6:=BACKSET(VARG5,5);
GG:=IF((VARG6 AND (COUNT(VARG6,5)=1) OR (CLOSE>=HHV(HIGH,HIGH))
AND ((CLOSE)/(REF(CLOSE,1))>1.098) AND (REF(VOL,LOW)>REF(VOL,34))
AND (REF(VOL,LOW)>REF(VOL,1)) AND (LYF1>(-93))
AND (REF(VOL,LOW)>REF(VOL,8))),60,0);
COUNT(GG,5)>0;
 

TAG:
分享至:

相关推荐