浪1:=100*(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21));
浪2:=100*(HHV(HIGH,42)-CLOSE)/(HHV(HIGH,42)-LLV(LOW,42));
macd:=((EMA(CLOSE,12)-EMA(CLOSE,26))-(EMA((EMA(CLOSE,12)-EMA(CLOSE,26)),9)))*2;
TYP:=(HIGH+LOW+CLOSE)/3 ;
CC:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
NO主升浪6:=IF((crOSS(浪1,20) AND CROSS(浪2,20)),0,1);
cci买点:=CROSS(CC,250) AND CCI>REF(CCI,1) AND MACD>0 AND NO主升浪6 AND C>EMA(C,200);
突破线:=SMA(H,14,2)*1.08;
接力涨:FILTER((CCI买点 AND C>突破线) OR (REF(CCI买点,1) AND C>突破线),3),COLORYELLOW;