以下是同花顺经过修改的威廉指标公式
同花顺经过修改的威廉指标公式
注:我的威廉指标公式:INPUT:N(7,1,999,1),N1(14,1,999,1),N2(21,1,999,1);
WR1:100-100*(HHV(HIGH,N)-CLOSE)/(HHV(HIGH,N)-LLV(LOW,N));
WR2:100-100*(HHV(HIGH,N1)-CLOSE)/(HHV(HIGH,N1)-LLV(LOW,N1));
WR3:100-100*(HHV(HIGH,N2)-CLOSE)/(HHV(HIGH,N2)-LLV(LOW,N2));
和大家分享!
还需要改进。
WR:100-100*(HHV(HIGH,N)-CLOSE)/(HHV(HIGH,N)-LLV(LOW,N)),
进一步演化:100*【1-(HHV(HIGH,N)-CLOSE)/(HHV(HIGH,N)-LLV(LOW,N))】
进一步演化:100*【(HHV(HIGH,N)-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))-(HHV(HIGH,N)-CLOSE)/(HHV(HIGH,N)-LLV(LOW,N))】
进一步演化:100*【(HHV(HIGH,N)-LLV(LOW,N))-(HHV(HIGH,N)-CLOSE)】/(HHV(HIGH,N)-LLV(LOW,N))
进一步演化:100*(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))
变成三条威廉指标,默认,N1=13,N2=34,N3=89:
WR1:(C-LLV(L,N1))/(HHV(H,N1)-LLV(L,N1))*100;
WR2:(C-LLV(L,N2))/(HHV(H,N2)-LLV(L,N2))*100;
WR3:(C-LLV(L,N3))/(HHV(H,N3)-LLV(L,N3))*100;
简洁否?