{起飞}
MA5:=MA(C,5);
MA10:=MA(C,10);
MA20:=MA(C,20);
MA30:=MA(C,30);
MA60:=MA(C,60);
MA120:=MA(CLOSE,120);
AA:=MIN(MIN(MIN(MA5,MA10),MA20),MA30);
BB:=MAX(MAX(MAX(MA5,MA10),MA20),MA30);
DIF:=EMA(CLOSE,6)-EMA(CLOSE,19),,NODRAW;
DEA:=EMA(DIF,9),NODRAW;
MACD:=2*(DIF-DEA),COLORSTICK;
AB:=DEA>REF(DEA,1);
起飞1:LBB AND C>O AND AA>MA60 AND AB,COLORRED;
AA1:=MIN(MIN(MIN(MIN(MA5,MA10),MA20),MA30),MA60);
BB1:=MAX(MAX(MAX(MAX(MA5,MA10),MA20),MA30),MA60);
起飞2:LBB1 AND C>O AND AA1>MA120 AND AB,COLORYELLOW;