通信达金叉选股(通达信macd金叉选股公式源码)
内容导航:
Q1:求通达信MTM金叉选股公式!
MTM:=CLOSE-REF(CLOSE,12);
MTMMA:=MA(MTM,6);
RSV:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
CROSS(MTM,MTMMA) AND K>D AND K>50;
Q2:macd低位三次金叉选股公式通达信
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,27);DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA);
JCCOUNT:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0));
三次金叉:CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=3,21)=1;
Q3:请高手把下面指标改个低位金叉的通信达选股公式
低位天数为N可调。暂设40天。
N:=40;
HHJSJDA:=(3*CLOSE+OPEN+LOW+HIGH)/6;
HHJSJDB:=(20*HHJSJDA+19*REF(HHJSJDA,1)+18*REF(HHJSJDA,2)+17*REF(HHJSJDA,3)+16*REF(HHJSJDA,4)+15*REF(HHJSJDA,5)+14*REF(HHJSJDA,6)
+13*REF(HHJSJDA,7)+12*REF(HHJSJDA,8)+11*REF(HHJSJDA,9)+10*REF(HHJSJDA,10)+9*REF(HHJSJDA,11)+8*REF(HHJSJDA,12)
+7*REF(HHJSJDA,13)+6*REF(HHJSJDA,14)+5*REF(HHJSJDA,15)+4*REF(HHJSJDA,16)+3*REF(HHJSJDA,17)+2*REF(HHJSJDA,18)+
REF(HHJSJDA,20))/210,COLORYELLOW;
HHJSJDC:=MA(HHJSJDB,5),COLORRED;
CROSS(HHJSJDB,HHJSJDC) AND LLV(HHJSJDB,3)<=LLV(HHJSJDB,N);
Q4:通达信 CJDX指标,金叉买入选股公式
您点击那个周期选择按钮就行!
不懂扣我!
Q5:macd低位三次金叉选股公式通达信
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,27);DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA);
JCCOUNT:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0));
三次金叉:CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=3,21)=1;
Q6:macd金叉公式
给你个准确率比较高的,源码下面网址里有图片演示,可以
先看看
效果.
通达信
macd零下
金叉
指标公式
DIFF
:=
EMA(CLOSE,12)
-
EMA(CLOSE,26);
DEA
:=
EMA(DIFF,9);
零下金叉:IF(DIFF<0
AND
DEA<0
AND
CROSS(DIFF,DEA),50,0);
Q7:请高手帮忙写一个MACD金叉并且平行向上的选股公式(不含未来),谢谢!
{对“平行向上”--的理解,见下面的表达:}
XG:BARSLAST(CROSS(MACD.DIF,MACD.DEA))<=10 AND ABS(MACD.DIF-MACD.DEA)/MAX(MACD.DIF,MACD.DEA)>=0.1 AND ABS(MACD.DIF-MACD.DEA)/MAX(MACD.DIF,MACD.DEA)<0.5 AND MACD.DIF>MACD.DEA;
===================================
{MACD 必须是在0轴以下金叉。}
XG:BARSLAST(CROSS(MACD.DIF,MACD.DEA))<=10 AND ABS(MACD.DIF-MACD.DEA)/MAX(MACD.DIF,MACD.DEA)<-0.1 AND ABS(MACD.DIF-MACD.DEA)/MAX(MACD.DIF,MACD.DEA)>-0.5 AND MACD.DIF>MACD.DEA AND MACD.DIF<0 AND MACD.DEA<0 ;
本文由锦鲤发布,不代表本站立场,转载联系作者并注明出处:/showinfo-1-3927-0.html