VAR1:=EMA(CLOSE,6)-EMA(CLOSE,13);
VAR2:=EMA(VAR1,4);
VAR3:=crOSS(VAR1,VAR2);
VAR4:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
九天1:=FORCAST(EMA(REF(CLOSE,2),1),7);
九天2:FORCAST(EMA(CLOSE,16),7),COLOR00FF00,LINETHICK3;
九天3:FORCAST(EMA(CLOSE,55),7),DOTLINE,COLORFF80FF;
九天5:IF(MA(CLOSE,5)>九天2 OR C>九天2,九天2,DRAWNULL),COLOR0000FF,LINETHICK3;
九天6:IF(九天2>=九天3,九天3,DRAWNULL),DOTLINE,COLOR0000FF;
龙飞1:=MA(CLOSE,5)>九天2 OR C>九天2;
龙飞2:=九天2>=九天3;
龙飞3:=龙飞1 AND 龙飞2;
MA5:MA(C,5),COLORFFFFFF;
VAR11:=vol>REF(V,1)*1.9 AND C>=OPEN;
STICKLINE(VAR11 AND C>OPEN,C,O,2,0),COLOR00FFFF;
VAR12:=VAR11 AND C>OPEN;
VAR13:=C>MA(C,60);
VAR14:=HHV(HIGH,20);
龙飞九天:=BARSLASTCOUNT(九天5 AND VAR12)=1 AND VAR13 AND VAR14>HIGH;
DRAWICON(龙飞九天,LOW,34);
DRAWTEXT(龙飞九天,L*0.99,' ★龙飞九天'),COLOR00FFFF;