通达信牛熊不愁及

MA5:=MA(C,5);
MA10:=MA(C,10);
MA20:=MA(C,20);
MA60:=MA(C,60);
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;
AA:=CROSS(C,MA5) AND CROSS(C,MA10);
AA1:=CROSS(C,MA20) AND REF(C<O OR C>O,72);
AA2:=J>50 AND (H-C)/C*100<0.5;
AA3:=REF(V<=LLV(V,10),2) ;
AA4:=CROSS(J,D) AND CROSS(J,K) AND REF(C<O OR C>O,39);
DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);
{股票指标网}
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA);
AA5:=MACD>0 AND C/REF(C,1)>1.05;
牛熊不愁:AA AND AA1 AND C>O AND AA2 AND AA5 AND AA4,COLORYELLOW;
{
选股公式:
MA5:=MA(C,5);
MA10:=MA(C,10);
MA20:=MA(C,20);
MA60:=MA(C,60);
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;
AA:=CROSS(C,MA5) AND CROSS(C,MA10);
AA1:=CROSS(C,MA20) AND REF(C<O OR C>O,72);
AA2:=J>50 AND (H-C)/C*100<0.5;
AA3:=REF(V<=LLV(V,10),2) ;
AA4:=CROSS(J,D) AND CROSS(J,K) AND REF(C<O OR C>O,39);
DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA);
AA5:=MACD>0 AND C/REF(C,1)>1.05;
牛熊不愁:AA AND AA1 AND C>O AND AA2 AND AA5 AND AA4,COLORYELLOW;
}
 


来函数检测结果如下:
该公式没有未来函数

解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图