1.通达信龙头趋势启动选股指标公式源码
2.只显示第一次满足指标条件的源码php皮肤抽奖源码源码怎么写
通达信龙头趋势启动选股指标公式源码
去ST:=NAMELIKE('ST')=0 AND NAMELIKE('*ST')=0 AND NAMELIKE('SST')=0 AND NAMELIKE('S*ST')=0;
去除停牌:=DYNAINFO(4)>0;
去除创业板:=IF(CODELIKE('') OR CODELIKE('') ,0,1) ;
去除科创板:=IF(CODELIKE(''),0,1);
XG:=去ST AND 去除停牌 AND 去除创业板 AND 去除科创板;
MA:=MA(CLOSE,);
MA:=MA(CLOSE,);
HJ_8:=(REF(CLOSE,3)-CLOSE)/REF(CLOSE,3)*>5;
HJ_9:=FILTER(HJ_8,);
HJ_:=BArslAST(HJ_9);
HJ_:=REF(HIGH,HJ_+2);
HJ_:=REF(HIGH,HJ_+1);
HJ_:=REF(HIGH,HJ_);
HJ_:=MAX(HJ_,HJ_);
HJ_:=MAX(HJ_,HJ_);
HJ_:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*>3.5;
HJ_:=HJ_<;
HJ_:=(OPEN-HJ_)/HJ_*<;
HJ_:=(CLOSE-LLV(LOW,HJ_))/LLV(LOW,HJ_)*<;
HJ_:=(CLOSE-REF(OPEN,5))/REF(OPEN,5)*<;
HJ_:=vol/MA(VOL,5)<3.5;
HJ_:=(CLOSE-REF(CLOSE,))/REF(CLOSE,)*<;
HJ_:=HJ_ AND HJ_ AND HJ_ AND HJ_ AND HJ_ AND HJ_ AND HJ_;
boll:=MA(CLOSE,);
UPPER:=BOLL+2*STD(CLOSE,);
PER:=crOSS(C,UPPER);
TPZ1:=MA((L+H+C)/3,5);
TPZ2:=HHV(TPZ1,);
TPZ3:=CROSS(C,TPZ2*0.) OR CROSS(C,TPZ2*0.) ;
TPZ4:=PER AND HJ_ AND TPZ3;
TPZ5:=MA(CLOSE,)+MA(CLOSE,)*/*0.;
TPZ6:=(MA(MA(H,),)-MA(MA(L,),))*1+MA(MA(H,),);
TPZ7:=REF(CTPZ6 AND C>TPZ5 ;
TPZ8:=TPZ4 OR TPZ7;
TPZ9:TPZ8 AND XG AND C/REF(C,1)>1. AND REF(C,1)/REF(C,2)<1. AND REF(C>3.7,1) AND REF(C<,1) AND (CAPITAL/)/<= AND O/REF(C,1)<1. AND C>O,COLORRED;
只显示第一次满足指标条件的源码怎么写
DIF:=EMA(CLOSE,) - EMA(CLOSE,);
DEA:=EMA(DIF,9);
XG:=DIF<DEA AND DIF>REF(DIF,1);
选股:XG=1 AND REF(XG,1)=0;