通达信量价时空和选股源码附图

{量价时空}

N:=9;M:=12;

VAR1:=(L+H+C*4)/6;

EMA12:=EMA(VAR1,N);

VAR2:=(EMA12-REF(EMA12,1))/REF(EMA12,1)*100;

G:=BARSLAST(CROSS(VAR2,0))+1;

DL:=V<REF(LLV(V,M) ,1);

DLZ:=BARSLAST(DL );

XG:C<REF(LLV(L,DLZ) ,1) AND COUNT(V<REF(HHV(V,G),1),5)=5;