VAR1:=C;
VAR2:=REF(C,2),COLORGREEN;
VAR22:=MA(C,5);
VAR23:=MA(C,26);
VAR21:=MA((3*H+C)/4,2),COLORLICYAN;
飞龙1:=FORCAST(EMA(VAR2,1),7),COLORGREEN;
飞龙2:FORCAST(EMA(VAR1,16),7),COLOR00FF00,LINETHICK3;
飞龙3:FORCAST(EMA(VAR1,55),7),DOTLINE,COLORFFFF00;
飞龙5:IF(VAR22>飞龙2 OR C>飞龙2,飞龙2,DRAWNULL),COLOR0000FF,LINETHICK3;{--飞龙}
飞龙6:IF(飞龙2>=飞龙3,飞龙3,DRAWNULL),DOTLINE,COLOR0000FF;
在天1:=VAR22>飞龙2 OR C>飞龙2;
在天2:=飞龙2>=飞龙3;
在天3:=在天1 AND 在天2;
STICKLINE((CLOSE/REF(CLOSE,1))>1.0984 AND C>O,C,O,1,0),COLORFF77FF;
MA5:MA(C,5),COLORWHITE;
擒龙:=vol>REF(V,1)*1.9 AND C>=OPEN;
STICKLINE(擒龙 AND C>OPEN,C,O,2,0),COLORYELLOW;
动力:=擒龙 AND C>OPEN;{--飞龙}
STICKLINE((CLOSE/REF(CLOSE,1))>1.0974 AND C>O,(C+O)/2,C,2,0),COLORMAGENTA;
ZM:=C>MA(C,60);
双红:=BARSLASTCOUNT(飞龙5 AND 动力)=1 AND ZM;
DRAWICON(双红,L,1);
DRAWTEXT(双红 ,L*0.99,'飞龙★启动'),COLORYELLOW;