胡子---通达信指标原码加使用说明 {AWRSI-BOOLI} 界:STICKLINE(C>0,38,38,1,1),COLORFF9911; 加仓线:STICKLINE(C>0,51,51,1,1),COLORFF1199; N1:=13;N2:=17;N3:=24; LC:=REF(CLOSE,1); RSI1:SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100,COLORAAAAAA; RSI2:SMA(MAX(CLOSE-LC,0),N2,1)/SMA(ABS(CLOSE-LC),N2,1)*100,COLOR77CCDD; RSI3:SMA(MAX(CLOSE-LC,0),N3,1)/SMA(ABS(CLOSE-LC),N3,1)*100,COLORFF11FF; RSI4:SMA(RSI3,8,1),COLOR11DD11; RSI5:SMA(RSI3,7,1),COLOR11DD11; 趋势F:=XMA(((CLOSE-LLV(LOW,48))/(HHV(HIGH,48)-LLV(LOW,48))*50),17)+9,COLOR3377CC; 趋势8:=XMA(((CLOSE-LLV(LOW,53))/(HHV(HIGH,53)-LLV(LOW,53))*50),17)+9,COLOR3377DD; 趋势:EMA(((CLOSE-LLV(LOW,38))/(HHV(HIGH,38)-LLV(LOW,38))*50),17)+18,COLORFF77CC; WR1:XMA(趋势F,7)*1.372,COLOR0011FF; WR2:=WR1*1.0887; WRF:(1.5*(趋势8+RSI5)-(WR2+WR1))+12,COLOR3377FF; {1.股价长期下跌,WR1上穿趋势线为试买入点; 2.WR1在界下上穿WRF时,如果RSI2小于加仓线且RSI2向上收阳就大胆加仓; 3.如果2的条件成立的同时WRF前几天陡降到界下可用50%仓量买入,并按条件2加仓; 4.特别关注股价连续下跌,但WR1背离向上行的个股;}; 选股指标: {AWRSI-BOOLI} 界:=38,COLORFF9911; 加仓线:=51,COLORFF1199; N1:=13;N2:=17;N3:=24; LC:=REF(CLOSE,1); RSI1:=SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100,COLORAAAAAA; RSI2:=SMA(MAX(CLOSE-LC,0),N2,1)/SMA(ABS(CLOSE-LC),N2,1)*100,COLOR77CCDD; RSI3:=SMA(MAX(CLOSE-LC,0),N3,1)/SMA(ABS(CLOSE-LC),N3,1)*100,COLORFF11FF; RSI4:=SMA(RSI3,8,1),COLOR11DD11; RSI5:=SMA(RSI3,7,1),COLOR11DD11; 趋势F:=XMA(((CLOSE-LLV(LOW,48))/(HHV(HIGH,48)-LLV(LOW,48))*50),17)+9,COLOR3377CC; 趋势8:=XMA(((CLOSE-LLV(LOW,53))/(HHV(HIGH,53)-LLV(LOW,53))*50),17)+9,COLOR3377DD; 趋势:=EMA(((CLOSE-LLV(LOW,38))/(HHV(HIGH,38)-LLV(LOW,38))*50),17)+18,COLORFF77CC; WR1:=XMA(趋势F,7)*1.372,COLOR0011FF; WR2:=WR1*1.0887; WRF:=(1.5*(趋势8+RSI5)-(WR2+WR1))+12,COLOR3377FF; {1.股价长期下跌,WR1上穿趋势线为试买入点; 2.WR1在界下上穿WRF时,如果RSI2小于加仓线就大胆加仓; 3.如果2的条件成立的同时WRF前几天陡降到界下可用50%仓量买入,并按条件2加仓;}; BUY:CROSS(WR1,趋势) OR CROSS(WR1,WRF) AND WRF<界 AND RSI2<加仓线; |
