VAR1:=1;VAR2:=((((2*CLOSE)+HIGH)+LOW) / 4);高位:90,COLORFFFF00;低位:20,COLORMAGENTA;VAR4:=LLV(LOW,5);VAR5:=HHV(HIGH,4);C1:(EMA((((VAR2-VAR4)/(VAR5-VAR4))*100),4)*VAR1),COLORFF00FF;C2:(EMA(((0.667*REF(C1,1))+(0.333*C1)),2)*VAR1),COLORFFFFFF;H1:IF( OSS(C2,C1),C2,DRAWNULL),CROSSDOT,LINETHICK7,COLORYELLOW;F1_:IF(CROSS(C2,C1),C2,DRAWNULL),CIRCLEDOT,LINETHICK2,COLORRED;DRAWTEXT(CROSS(C1,C2),REF(C2,1),''),COLORRED;DRAWTEXT(CROSS(C2,C1),REF(C1,1),'卖'),COLORGREEN;H2:IF( CROSS(C1,C2),C1,DRAWNULL),CROSSDOT,LIN