九毛八公式指标
请帮忙编写RSI三十个交易日中连续两次底背离在第二次底背离时选股(求助中)一下RSI底背离源码请改改 n:=12; LC:=REF(CLOSE,1); RSI:=SMA(MAX(CLOSE-LC,0),N,1)/SMA(ABS(CLOSE-LC),N,1)*100; 底背离:RSI<30 and rsi>REF(RSI,2) AND C公式模块:
N:=12;
LC:=REF(CLOSE,1); rsi:=SMA(MAX(CLOSE-LC,0),N,1)/SMA(ABS(CLOSE-LC),N,1)*100; 底背离:=RSI<30 AND RSI>REF(RSI,2) AND C<REF(C,2); IF(底背离 AND COUNT(底背离,30)=2,1,0);
30>