主力活动(通达信)

买卖超级提示主副图(大智慧)

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)COLORRED;

绿色主力介入: STICKLINE(VAR3<0,0,VAR4,2,0)COLORGREEN;

STICKLINE(X1>=0,0,VAR1,2,0)COLORBLUE;

黄色主力出货: STICKLINE(VAR4<0,0,VAR3,2,0)COLORYELLOW;

主力介入:VAR3<0,COLORGREEN;

主力出货:VAR4<0,COLORYELLOW;

尾盘买进再优化指标源码(通达信)