N1:=38;
N2:=8;
N3:=7;
X1: 100*(HHV(HIGH,N1)-CLOSE)/(HHV(HIGH,N1)-LLV(LOW,N1)),LINETHICK0,COLORYELLOW;
VAR1:= 100*(HHV(HIGH,N2)-CLOSE)/(HHV(HIGH,N2)-LLV(LOW,N2));
VAR2:= 100*(HHV(HIGH,N3)-CLOSE)/(HHV(HIGH,N3)-LLV(LOW,N3));
VAR3:= VAR1-X1;
VAR4:= X1-VAR1;
IF(X1>=0,VAR2,8),COLORFF00FF;
绿色主力介入区: IF(VAR3<0,VAR4,0),LINETHICK2,STICK,COLOR00FF00;
IF(X1>=0,VAR1,8),COLORWHITE;
黄色主力悄出货: IF(VAR4<0,VAR3,0),LINETHICK2,STICK,COLORFFFF00;