{N1 0 100 34 N2 0 100 9 N3 0 50 3}
X1:=100*(HHV(HIGH,N1)-CLOSE)/(HHV(HIGH,N1)-LLV(LOW,N1));
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;
STICKLINE(X1>=0,0,VAR2,2,0),COLORGREEN;
绿色主力介入区: STICKLINE(VAR3<0,0,VAR4,2,0),COLORGREEN;
STICKLINE(X1>=0,0,VAR1,2,0),COLORBLUE;
黄色主力出货: STICKLINE(VAR4<0,0,VAR3,2,0),COLORYELLOW;
通达信监测主力出货指标公式的选股公式如下: