MM9:=BARSCOUNT(C);
MM1:=EMA(C,9);
MM2:=EMA(C,55);
MM3:=EMA(C,145);
MM4:=REF(MM3,1);
MM5:=EMA(C,20);
MM6:=REF(MM5,1);
MM7:=(H+L)/2;
MM8:=EMA(C,300);
LL250:=IF(MM9<250,LLV(LOW,0),LLV(LOW,250));{如果上市天数小于250天,则返回历史最低价的最低值,否则返回250日内最低价的最低值}
HH120:=IF(MM9<120,HHV(HIGH,0),HHV(HIGH,120));{如果上市天数小于120天,则返回历史最高价的最高值,否则返回120日内最高价的最高值}
XX1:=IF(CT1:=(C-REF(C,1))/REF(C,1)>=0.05 AND vol>REF(HHV(XX1,10),1) AND (VOL/REF(VOL,1)>1.20) AND MM3>=MM4 AND MM5>=MM6 AND C>MM5 AND C>MM1 AND C>MM2 AND C>MM3 AND C>MM8 AND C>MM7 AND C>LL250*1.2 AND C>(HH120*0.85);
突破:BARSSINCEN(T1,5)=0;
牛牛:IF(REF(T1,2) AND REF(C,1)1.05 AND H>REF(C,2),2,0),LINETHICK2;