N日:=2;
MA233:=MA(CLOSE,233);
AAAZ:=(3*C+H+L+O)/6;
VAR101:=(8*AAAZ+7*REF(AAAZ,1)+6*REF(AAAZ,2)+5*REF(AAAZ,3)+4*REF(AAAZ,4)+3*REF(AAAZ,5)+2*REF(AAAZ,6)+REF(AAAZ,8))/36;
VAR201:=(HHV(VAR101,5)+HHV(VAR101,10)+HHV(VAR101,20))/3;
VAR301:=(LLV(VAR101,5)+LLV(VAR101,10)+LLV(VAR101,20))/3;
VAR401:=(HHV(VAR201,5)+HHV(VAR201,10)+HHV(VAR201,20))/3;
VAR501:=(LLV(VAR301,5)+LLV(VAR301,10)+LLV(VAR301,20))/3;
VAR601:=(LLV(VAR101,2)+LLV(VAR101,4)+LLV(VAR101,6))/3;
中线:=VAR601;
M1:=VAR101>VAR601;
M2:=VAR101<=VAR601;
飞行器:M1 AND LAST(M2,N日,1) AND C>中线 AND C>REF(C,1) AND C>MA(CLOSE,144)
AND O<MA(CLOSE,144) AND C>MA233 AND C>MA(CLOSE,60) AND O<MA(CLOSE,60);