高:90, LINETHICK2 ,colorgreen;
低:10, LINETHICK2 ,colorgreen;
界:50, LINETHICK2 ,colorwhite;
VAR1:=SMA(MAX(OPEN-REF(OPEN,1),0),5,1)/SMA(ABS(OPEN-REF(OPEN,1)),5,1)*100;
VAR2:=SMA(MAX(CLOSE- REF(CLOSE,1),0),5,1)/SMA(ABS(CLOSE- REF(CLOSE,1)),5,1)*100;
VAR3:=SMA(MAX(HIGH-REF(HIGH,1),0),5,1)/SMA(ABS(HIGH-REF(HIGH,1)),5,1)*100;
VAR4:=SMA(MAX(LOW- REF(LOW,1),0),5,1)/SMA(ABS(LOW- REF(LOW,1)),5,1)*100;
VAR5:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
短:SMA(VAR5,5,1),colorwhite;
中:SMA(短,3,1),colorgreen,LINETHICK2;
领先:3*短-2*中,colormagenta,LINETHICK2;
DRAWKLINE(VAR3,VAR1,VAR4,VAR2);
STICKLINE(短>0 AND 短-中>=0,79,80,6,0),coloryellow;
STICKLINE(短>0 AND 短-中<0,79,80,6,0),COLORFF8000;
STICKLINE(短>0 AND 短-中>=0,49,50,6,0),coloryellow;
STICKLINE(短>0 AND 短-中<0,49,50,6,0),COLORFF8000;
STICKLINE(短>0 AND 短-中>=0,19,20,6,0),coloryellow;
STICKLINE(短>0 AND 短-中<0,19,20,6,0), COLORFF8000;