网友求助:
选股公式。通达信通不过。
lc:=REF(C,1);
RSI6:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
MA6:MA(RSI6,7);
SELECT CROSS(RSI6,MA6*0.98) and MA6>REF(MA6,1)*0.92;
解答如下:
LC:=REF(C,1);
RSI6:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
MA6:=MA(RSI6,7);
SELECT: CROSS(RSI6,MA6*0.98) AND MA6>REF(MA6,1)*0.92;