突发奇想,把俩个威廉合并,取之长处。
适合短线和超短。
RSV:= (HHV(HIGH,N)-CLOSE)/(HHV(HIGH,N)-LLV(LOW,N))*100;
LWR1:SMA(RSV,M1,1);
LWR2:=SMA(LWR1,M2,1);
partline(LWR1,LWR1>=ref(LWR1,1),rgb(0,250,0),LWR1<ref(LWR1,1),rgb(255,0,0)),linethick2;
WR1:100*(HHV(HIGH,N1)-CLOSE)/(HHV(HIGH,N1)-LLV(LOW,N1)),linethick2;
分割:55;
低买:LWR1>55 AND ref(LWR1,1)>LWR1;
DRAWTEXT(低买,LWR1,'M');