VAR1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR2:=crOSS(3*SMA(VAR1,3,1)-2*SMA(SMA(VAR1,3,1),3,1),MA(3*SMA(VAR1,3,1)-2*SMA(SMA(VAR1,3,1),3,1),2)) AND C>O;
VAR3:=((REF(C,3)-REF(C,1))/C)*100>6;
VAR4:= CLOSE>REF(CLOSE,1)*1.03 ;
VAR5:= REF(((H-O)/C)*100<2,1);
VAR6:=REF(C<O,2) AND REF(C<O,1);
VAR7:=((H-C)/C)*100<2 AND H>REF(H,1);
VAR8:=((REF(O,1)-REF(C,1))/C)*100>1;
VAR9:=((REF(O,2)-REF(C,2))/C)*100<9;
GHmacd:="MACD.MACD">REF("MACD.MACD",1) AND "MACD.MACD"<0;
黎明之星:=VAR2 AND VAR3 AND VAR4 AND VAR5 AND VAR6 AND VAR7 AND VAR8 AND VAR9 AND GHMACD;
STICKLINE(黎明之星,0,5,6,0),COLORFF0080;
DRAWTEXT(黎明之星,4,' ↙黎明之星★'),COLOR00FFFF;