请高手把下面源码改写成通达信和同花顺选股公式,测试通过的!万分感谢!
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);DI...
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);
MACD:= 2*(DIFF-DEA);
ZTT:=(C-REF(C,1))*100/REF(C,1);
MP:= MACD >-0.45 and ref(MACD,1)<macd;
次数:=COUNT(MP AND ZTT>9.3,150);{根据老师的思路增加了条件}
LTZ:=CAPITAL*ref(c,1)/1000000;
strfind(stkname,'S',1)=0 and dynainfo(8)>0
AND barpos>30
AND 次数>=2
AND MACD>-0.45
AND ref(MACD,1)<MACD
AND MACD<0.09
AND D<45
AND K<62
AND LTZ<120; 展开
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
DIFF:= EMA(CLOSE,12) - EMA(CLOSE,26);
DEA:= EMA(DIFF,9);
MACD:= 2*(DIFF-DEA);
ZTT:=(C-REF(C,1))*100/REF(C,1);
MP:= MACD >-0.45 and ref(MACD,1)<macd;
次数:=COUNT(MP AND ZTT>9.3,150);{根据老师的思路增加了条件}
LTZ:=CAPITAL*ref(c,1)/1000000;
strfind(stkname,'S',1)=0 and dynainfo(8)>0
AND barpos>30
AND 次数>=2
AND MACD>-0.45
AND ref(MACD,1)<MACD
AND MACD<0.09
AND D<45
AND K<62
AND LTZ<120; 展开
- 你的回答被采纳后将获得:
- 系统奖励15(财富值+成长值)+难题奖励30(财富值+成长值)
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);
MACD:= 2*(DIFF-DEA);
ZTT:=(C-REF(C,1))*100/REF(C,1);
MP:= MACD >-0.45 AND REF(MACD,1)<MACD;
次数:=COUNT(MP AND ZTT>9.3,150);{根据老师的思路增加了条件}
LTZ:=CAPITAL*REF(C,1)/1000000;
ST:=IF(NAMELIKE('ST'),1,0) OR IF(NAMELIKE('S'),1,0) ;
NOT(ST) AND DYNAINFO(8)>0 AND (BARSCOUNT(C)+1)>30 AND 次数>=2
AND MACD>-0.45 AND REF(MACD,1)<MACD AND MACD<0.09 AND D<45 AND K<62 AND LTZ<120;
股票公式专家团为你解答,希望能帮到你,祝投资顺利。
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);
MACD:= 2*(DIFF-DEA);
ZTT:=(C-REF(C,1))*100/REF(C,1);
MP:= MACD >-0.45 AND REF(MACD,1)<MACD;
次数:=COUNT(MP AND ZTT>9.3,150);{根据老师的思路增加了条件}
LTZ:=CAPITAL*REF(C,1)/1000000;
ST:=IF(NAMELIKE('ST'),1,0) OR IF(NAMELIKE('S'),1,0) ;
NOT(ST) AND DYNAINFO(8)>0 AND (BARSCOUNT(C)+1)>30 AND 次数>=2
AND MACD>-0.45 AND REF(MACD,1)<MACD AND MACD<0.09 AND D<45 AND K<62 AND LTZ<120;
股票公式专家团为你解答,希望能帮到你,祝投资顺利。
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询