YM1:=MA(C,15)*1.005;
YM2:=POW((C-YM1),2);
YM3:=MA(YM2,15);
YM4:=SQRT(YM3);
YM5:=YM1+2*YM4;
YM6:=BARSCOUNT(CLOSE)>=10;
YM7:=EMA((3*CLOSE+HIGH+LOW+OPEN)/6,20);
YM8:=HHV(YM7,5);
YM9:=YM7-(YM8-YM7);
YM10:=YM8=YM9 AND REF(YM8,1)>REF(YM9,1);
YM11:=YM8=YM9 AND BARSLAST(YM10)<=4;
GS:=YM6 AND C>=O AND V>=REF(V,1)*2;
YMD:=FILTER(YM11 AND GS AND C/REF(C,1)>1.03,5);
星辰线:REF(YM1,1),COLORFFFFFF,LINETHICK3;
启航线:REF(YM5,1),COLOR00FFFF,LINETHICK3;
U:IF(星辰线>REF(星辰线,1),星辰线,DRAWNULL),COLORRED,LINETHICK3;
D:IF(星辰线<REF(星辰线,1),星辰线,DRAWNULL),COLORGREEN,LINETHICK3;
DRAWTEXT_FIX(C>O,0,0.07,0,'GS:YMD'),COLORMAGENTA;
DRAWICON(CLOSE>启航线 AND YMD,LOW,9);
DRAWICON(REF(C,1)>启航线 AND CLOSE<启航线,HIGH,2);