飞狐威廉姆斯副图指标
源码
n1:=34; n2:=9; n3:=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;
0;
STICKLINE(X1>=0,0,Var2,8,0),COLORRED ;
绿色主力介入区: STICKLINE(Var3<0,0,Var4,8,0),COLORGREEN;
STICKLINE(X1>=0,0,Var1,8,0),COLORBLUE ;
黄色主力悄悄出货: STICKLINE(Var4<0,0,Var3,8,0),COLORYELLOW;