上收:=C;
箱顶:=MA(REF(HHV(上收,30),1),2),COLOR0000FF,LINETHICK2;
买线:=EMA(C,2);
卖线:=EMA(SLOPE(C,21)*20+C,42);
跟:crOSS(买线,卖线)AND 箱顶>=REF(箱顶,1);
上收:=C;
箱顶:=MA(REF(HHV(上收,30),1),2),COLOR0000FF,LINETHICK2;
买线:=EMA(C,2);
卖线:=EMA(SLOPE(C,21)*20+C,42);
跟:crOSS(买线,卖线)AND 箱顶>=REF(箱顶,1);