精选问答
师傅们:大智慧KDJ.RSI.MACD 指标在5天内分别出现金叉的选股公式请帮我编一个。(5天内分别出现金叉,是”一个“选股公式)

2019-04-22

师傅们:大智慧KDJ.RSI.MACD 指标在5天内分别出现金叉的选股公式请帮我编一个。
(5天内分别出现金叉,是”一个“选股公式)
优质解答
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
DIFF :=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA :=EMA(DIFF,9);
LC := REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
RSI3:=SMA(MAX(CLOSE-LC,0),24,1)/SMA(ABS(CLOSE-LC),24,1)*100;
var1:=cross(k,d); var2:=cross(diff,dea);var3:=cross(rsi1,rsi3);
count(var1,5)>=1 and count(var2,5)>=1 and count(var3,5)>=1;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
DIFF :=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA :=EMA(DIFF,9);
LC := REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
RSI3:=SMA(MAX(CLOSE-LC,0),24,1)/SMA(ABS(CLOSE-LC),24,1)*100;
var1:=cross(k,d); var2:=cross(diff,dea);var3:=cross(rsi1,rsi3);
count(var1,5)>=1 and count(var2,5)>=1 and count(var3,5)>=1;
相关问答