HGW1:=(MA(C,1)+MA(C,3)+MA(C,5)+MA(C,7)+MA(C,9))/5;
HGW2:=(MA(C,2)+MA(C,4)+MA(C,6)+MA(C,8)+MA(C,10))/5;
HGW3:=EMA(HGW1,2);
HGW4:=EMA(HGW2,5);
HGW5:=CROSS(HGW3,HGW4);
HGW6:=EMA(CLOSE,3);
HGW7:=EMA(CLOSE,5);
HGW8:=CROSS(HGW6,HGW7);
HGW9:=HGW6>REF(HGW6,1);
HGW10:=(CLOSE+LOW+HIGH)/3;
HGW16:=ATAN(EMA(HGW10,5)-REF(EMA(HGW10,5),1))*3.1416*10;
HGW18:=HGW16>1 AND EMA(HGW10,5)>REF(EMA(HGW10,3),1);
STICKLINE(HGW8 AND HGW9 AND HGW5 AND HGW18,0,60,3,0),COLORRED;
DRAWTEXT(HGW8 AND HGW9 AND HGW5 AND HGW18,25,'←一丈红'),COLORWHITE;