大智慧威廉金死叉指标公式

INPUT:N(14,1,999,1),N1(28,1,999,1);

wr1:100*(HHV(HIGH,N)-CLOSE)/(HHV(HIGH,N)-LLV(LOW,N));

WR2:100*(HHV(HIGH,N1)-CLOSE)/(HHV(HIGH,N1)-LLV(LOW,N1));

DRAWTEXT(crOSS(WR1,WR2),WR2,'金'), COLORYELLOW ;

DRAWTEXT(CROSS(WR2,WR1),WR1,'死'),COLORBLUE ;