原码
{威廉}
N:2,100,42;
N1:2,100,21
WR1慢:100*(HHV(HIGH,N)-CLOSE)/(HHV(HIGH,N)-LLV(LOW,N)),COLORWHITE;
WR2快:100*(HHV(HIGH,N1)-CLOSE)/(HHV(HIGH,N1)-LLV(LOW,N1)),COLORGREEN;
1835166025.PNG
选股预警指标
参数M自己设置;
N:=42;
N1:=21;
M:=90;
WR1慢:=100*(HHV(HIGH,N)-CLOSE)/(HHV(HIGH,N)-LLV(LOW,N));
WR2快:=100*(HHV(HIGH,N1)-CLOSE)/(HHV(HIGH,N1)-LLV(LOW,N1));
XG:WR1慢=WR2快 AND WR2快>M;
|