OK:=EMA(O,60);
CG:=EMA(C,60);
PDU:=IF(OK>REF(OK,1) AND CG>REF(CG,1),1,0);
Z1:=MA(C,13);
ZX:=REF(Z1,18/2+1);
LIFE:=(EMA(C,60)+EMA(C,90))/2;
VAR1:=(2*C+H+L)/4;
SNOOK:=EMA(VAR1,99)*0.91;
A1:=(C-REF(C,1))/REF(C,1)*100;
MA5:=BArslAST(A1>3);
MA20:=IF(MA5>0,1,0);
{ _最新股票指标公式}
STICKLINE(C>ZX AND C>=LIFE,O,C,3,0),COLOR0000FF;
STICKLINE(C>ZX AND C<=SNOOK,O,C,3,0),COLOR00FF00;
STICKLINE(C>ZX AND C>SNOOK AND C
STICKLINE(C>ZX,O,C,1,0),COLORFFFFFF;
DRAWICON(crOSS(C,ZX),L*0.99,1);
DRAWICON(CROSS(ZX,C),H*1.01,3);
BY20:=MA(C,5);
AA:MA(C,20),LINETHICK2,COLOR00FFFF;
CC:IF(BY20>AA,AA,BY20),LINETHICK2,COLOR808080;
选股:=CROSS(C,ZX) AND C>ZX AND MA20=0 ,LINETHICK0;
RB:=BARSCOUNT(C)=ISLASTBAR;
RD:=BARSLAST(RB);
K2:=HHV(H,50);
K1:=LLV(L,50);
T1:=C>ZX AND C>=LIFE;
T2:=C>ZX AND C>SNOOK AND C
T4:=C<=ZX;
T5:=CC>REF(CC,1) AND CC=AA ;
T6:=CC>REF(CC,1) AND CC=AA AND PDU=1;
T7:=CC>REF(CC,1) AND CC=AA AND PDU=1;
T8:=C>ZX AND MA20=0 ;
EEE:=T1+T2+T3+T4+T5+T6+T7+T8 ;
E:=(K2-K1)/(EEE+8) ;
选股:CROSS(C,ZX);