九毛八公式指标
求老师帮写个选股公式 要求RSI6 >80 ,RSI12 >70 , RSI24 > 60, 同时KDJ的J>85 要求飞狐和通达信的,新手在此感谢!!
公式模块:
LC:=REF(CLOSE,1);
rsi6:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100; RSI12:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100; RSI24:=SMA(MAX(CLOSE-LC,0),24,1)/SMA(ABS(CLOSE-LC),24,1)*100; RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; K:=SMA(RSV,3,1); D:=SMA(K,3,1); J:=3*K-2*D; RSI6 >80 AND RSI12 >70 AND RSI24 > 60 AND J>85;