N:=120;
均线:MA(C,N)DOTLINE;
ZD:=IF(CURRBARSCOUNT<=N,CONST(LLV(L,N)),DRAWNULL);
DJ:=BARSSINCE(L=ZD);
均线值:REF(均线,DJ)COLORRED LINETHICK3;
{
选股公式:
N:=120;
均线:=MA(C,N);
ZD:=IF(CURRBARSCOUNT<=N,CONST(LLV(L,N)),DRAWNULL);
DJ:=BARSSINCE(L=ZD);
均线值:=REF(均线,DJ);
XG:=(COUNT(C>均线值,DJ)=1 AND C>均线值||(crOSS(C,均线值))) AND DJ<15;
COUNT(XG,5);
}