昨收:= REF(C,1);
RSI:SMA(MAX(C-昨收,0),6,1)/SMA(ABS(C-昨收),6,1)*100;
WR:=-100*(HHV(HIGH,14)-C)/(HHV(HIGH,14)-LLV(LOW,14));
WR反向:(0-WR)-100;
RSI買點:=RSI<20 AND RSI>REF(RSI,1);
WR反向買點:=WR反向>-80 AND WR反向<REF(WR反向,1);
朋友選股:RSI買點 AND WR反向買點;
STICKLINE(朋友選股,50,-50,2,0)COLORYELLOW;
T0:=BARSCOUNT(C)>12;
T1:=C=LLV(C,12);
T2:=RSI>LLV(RSI,12);
T3:=RSI<21;
TRSI:=T0 AND T1 AND T2 AND T3 AND C/HHV(C,120)<0.7;
RSI成W底:IF(REF(TRSI,1) AND C>REF(C,1),100,0),STICK;
有要這個指標的選股原碼在下面,選股和預(yù)警都可以用
{朋友選股}
LC := REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100,;
WR:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
WR反向:=(0-WR)-100,COLORYELLOW;
RSI買點:=RSI<20 AND RSI>REF(RSI,1);
WR反向買點:=WR反向>-80 AND WR反向<REF(WR反向,1);
T0:=BARSCOUNT(C)>12;
T1:=C=LLV(C,12);
T2:=RSI>LLV(RSI,12);
T3:=RSI<21;
TRSI:=T0 AND T1 AND T2 AND T3 AND C/HHV(C,120)<0.7;
RSI成W底:=IF(REF(TRSI,1) AND C>REF(C,1),100,0);
朋友選股:=RSI買點 AND WR反向買點;
朋友:RSI成W底 OR 朋友選股;
(南方財富網(wǎng)SOUTHMONEY.COM)