通达信综合金叉选股公式副图
2016-10-18 21:23:00来源:本站整理浏览:222
综合金叉选股
{1-MACD30分线}
DIF30:=(EMA(CLOSE,12/4)-EMA(CLOSE,26/4));
DEA30:=(EMA(DIF30,9/4));
JRS1:=DIF30>=DEA30;
DIF60:=EMA(CLOSE,12/2)-EMA(CLOSE,26/2);
DEA60:=EMA(DIF60,9/2);
JRS2:=DIF60>=DEA60;
{3-MACD日线}
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
JRS3:=DIF>=DEA;
{4-KDJ日线}
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9));
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
JRS4:=J>=K;
{5-MACD周线}
周MD:=MACD.DIF#WEEK;
周MA:=MACD.DEA#WEEK;
JRS5:=周MD>=周MA;
{6-KDJ周线}
周K:="KDJ.K#WEEK" ;
周D:="KDJ.D#WEEK" ;
JRS6:=周K>=周D;
JRS:=JRS1 AND JRS2 AND JRS3 AND JRS4 AND JRS5 AND JRS6;
XG:CROSS(JRS,0.8);
- 上一篇公式:通达信买卖监控 拐点探究 副图源码 说明
- 下一篇公式:低位放量涨停选股源码