支撑线:(1-9/100)*MA(C,10),COLORYELLOW,LINETHICK2;
HGW1:=(3*C+H+L+O)/6;
HGW2:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
HGW3:=SMA(HGW2,2,1);
HGW4:=SMA(HGW3,2,1);
HGW8:=3*HGW3-2*HGW4;
HGW9:=CROSS(HGW8,0)AND(H>=支撑线);
VAR1:(8*HGW1+7*REF(HGW1,1)+6*REF(HGW1,2)+5*REF(HGW1,3)+4*REF(HGW1,4)+3*REF(HGW1,5)+2*REF(HGW1,6)+REF(HGW1,8))/36,LINETHICK2,COLORRED;
IF((VAR1<=REF(VAR1,1)),VAR1,DRAWNULL),COLORGREEN,LINETHICK3;
DRAWTEXT_FIX(C>O,0,0.07,0,'HGW8:HGW9'),COLORMAGENTA;
IF((VAR1>=REF(VAR1,1)),VAR1,DRAWNULL),COLORRED,LINETHICK3;
DRAWICON(HGW9,LOW*0.95,25);