MA5:=MA(C,5);
MA10:=MA(C,10);
MA30:=MA(C,30);
XA_5:=BArslAST(crOSS(MA5,MA10));
XA_6:=BARSLAST(CROSS(MA5,MA30));
XA_7:=BARSLAST(CROSS(MA10,MA30));
XA_8:=XA_5>=XA_6 AND XA_6>XA_7 AND XA_5-XA_7<20;
XA_9:=COUNT(CROSS(MA5,MA10),XA_5+1)=1 AND COUNT(CROSS(MA5,MA30),XA_5+1)=1 AND CROSS(MA10,MA30) AND MA5>MA10 AND MA10>MA30;
触发:=XA_8 AND XA_9;
XA_11:=COUNT(触发,BARSLAST(触发)+1)=1 AND COUNT(CROSS(MA30,MA5),BARSLAST(触发)+1)=0;
回踩:L<=MA30 AND C>MA30 AND XA_11 AND BARSLAST(触发)>0;