支撑线:(1-9/100)*MA(C,10),COLORYELLOW,LINETHICK2;
VAR1:=(3*C+H+L+O)/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(H>=支撑线);
VAR10:(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((VAR10<=REF(VAR10,1)),VAR10,DRAWNULL),COLORGREEN,LINETHICK3;
DRAWTEXT_FIX(C>O,0,0.07,0,'VAR8:VAR9'),COLORMAGENTA;
IF((VAR10>=REF(VAR10,1)),VAR10,DRAWNULL),COLORRED,LINETHICK3;
DRAWICON(VAR9,LOW*0.95,25);