支撑线:(1-9/100)*MA(CLOSE,10),COLORYELLOW,LINETHICK2;
VAR1:=(3*CLOSE+HIGH+LOW+OPEN)/6;
VAR2:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR3:=SMA(VAR2,2,1);
VAR4:=SMA(VAR3,2,1);
VAR8:=3*VAR3-2*VAR4;
VAR9:=crOSS(VAR8,0)AND(HIGH>=支撑线);
VAR1:(8*VAR1+7*REF(VAR1,1)+6*REF(VAR1,2)+5*REF(VAR1,3)+4*REF(VAR1,4)+3*REF(VAR1,5)+2*REF(VAR1,6)+REF(VAR1,8))/36,LINETHICK2,COLORRED;
IF((VAR1<=REF(VAR1,1)),VAR1,DRAWNULL),COLORGREEN,LINETHICK3;
IF((VAR1>=REF(VAR1,1)),VAR1,DRAWNULL),COLORRED,LINETHICK3;
DRAWICON(VAR9,LOW*0.95,29);