N:=42;
N1:=42;
卖出线: 99;
阶段卖: 90;
趋势: 3*SMA((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100,5,1),3,1),COLOR0000FF;
底部: 10;
买入警戒: IF(趋势<=10,50,0);
买入信号: IF(crOSS(趋势,底部),100,0);
卖出警戒: IF(趋势>=90,50,100);
wr1:100*(HHV(HIGH,N)-CLOSE)/(HHV(HIGH,N)-LLV(LOW,N)),COLOR00FFFF;
WR2:100*(HHV(HIGH,N1)-CLOSE)/(HHV(HIGH,N1)-LLV(LOW,N1)),COLOR40FF00;
强弱分界线:50,POINTDOT,LINETHICK2,COLOR70DB93;