ABC1:=(CLOSE-LLV(LOW,120))/(HHV(HIGH,120)-LLV(LOW,120))*10;
ABC2:=SMA(ABC1,5,1);
ABC3:=ABC2>MA(ABC2,8);
ABC4:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*10;
ABC5:=SMA(ABC4,3,2);
ABC6:=SMA(ABC5,10,6);
ABC7:=MA(ABC6,3);
ABC8:=SMA(ABC7,3,1);
买入:=ABC6>=ABC7;
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
macd:=(DIF-DEA)*2;
XG:=MACD>0;
QXS:=NOT(CODELIKE('4'));
QKC:=NOT(CODELIKE('688'));
QST:=IF(NAMELIKE('S'),0,1);
QXX:=IF(NAMELIKE('*'),0,1);
QBJ:=NOT(CODELIKE('8'));
YYDS:=QXS AND QST AND QKC AND QXX AND QBJ;
ABC9:=ABC7>REF(ABC7,1);
ABC10:=LLV(LOW,6);
ABC11:=HHV(HIGH,12);
趋势线:=EMA((CLOSE-ABC10)/(ABC11-ABC10)*4,4);
GMA:=MA(趋势线,3);
AA:=C>MA(C,5);
买入1:=BARSLASTCOUNT(趋势线>GMA AND 买入)=1 AND XG;
选股:买入1 AND AA AND YYDS;