请老师给一个CJDX和KDJ同时出现买卖点的预警公式(大智慧的)!万分感谢!!
这是通达信的源码:VARCA:=1=(ZIG(3,5)>REF(ZIG(3,5),1))AND(REF(ZIG(3,5),1)<=REF(ZIG(3,5),2))AND(...
这是通达信的源码:
VARCA:=1=(ZIG(3,5)>REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)<=REF(ZIG(3,5),2)) AND (REF(ZIG
(3,5),2)<=REF(ZIG(3,5),3));
VAR1:=(2*CLOSE+HIGH+LOW)/4;
VAR2:=EXPMA(EXPMA(EXPMA(VAR1,4),4),4);
J:(VAR2-REF(VAR2,1))/REF(VAR2,1)*100, COLORSTICK;
D:MA(J,3);
K:MA(J,1),LINETHICK2;
SD:CROSS(D,0) AND (REF(VARCA,3)OR REF(VARCA,4))LINETHICK2;
XD:=IF(BACKSET(J>0,1),1,DRAWNULL);
XD1:=IF(LAST(XD=1,3,3),1,DRAWNULL);
DRAWTEXT(FILTER(COUNT(XD1 AND(CROSS(D,K)),12)=2,8)AND CROSS(D,K),D,'必卖'),COLORGREEN;
DRAWTEXT(COUNT(VARCA,3)>=1 AND CROSS(K,D)AND J<=-0.2,K-0.08,'金叉买'),COLORRED;
DRAWTEXT(CROSS(K,0) AND (REF(VARCA,3)OR REF(VARCA,4)),-0.03,'加仓'),COLORYELLOW; 展开
VARCA:=1=(ZIG(3,5)>REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)<=REF(ZIG(3,5),2)) AND (REF(ZIG
(3,5),2)<=REF(ZIG(3,5),3));
VAR1:=(2*CLOSE+HIGH+LOW)/4;
VAR2:=EXPMA(EXPMA(EXPMA(VAR1,4),4),4);
J:(VAR2-REF(VAR2,1))/REF(VAR2,1)*100, COLORSTICK;
D:MA(J,3);
K:MA(J,1),LINETHICK2;
SD:CROSS(D,0) AND (REF(VARCA,3)OR REF(VARCA,4))LINETHICK2;
XD:=IF(BACKSET(J>0,1),1,DRAWNULL);
XD1:=IF(LAST(XD=1,3,3),1,DRAWNULL);
DRAWTEXT(FILTER(COUNT(XD1 AND(CROSS(D,K)),12)=2,8)AND CROSS(D,K),D,'必卖'),COLORGREEN;
DRAWTEXT(COUNT(VARCA,3)>=1 AND CROSS(K,D)AND J<=-0.2,K-0.08,'金叉买'),COLORRED;
DRAWTEXT(CROSS(K,0) AND (REF(VARCA,3)OR REF(VARCA,4)),-0.03,'加仓'),COLORYELLOW; 展开
展开全部
VARCA:=1=(ZIG(3,5)>REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)<=REF(ZIG(3,5),2))
AND (REF(ZIG(3,5),2)<=REF(ZIG(3,5),3));
VAR1:=(2*CLOSE+HIGH+LOW)/4;
VAR2:=EXPMA(EXPMA(EXPMA(VAR1,4),4),4);
J:=(VAR2-REF(VAR2,1))/REF(VAR2,1)*100;
D:=MA(J,3);K:=MA(J,1),LINETHICK2;
XG:COUNT(VARCA,3)>=1 AND CROSS(K,D)AND J<=-0.2;
公式用到未来数据。{个人看法,仅供参考。}
AND (REF(ZIG(3,5),2)<=REF(ZIG(3,5),3));
VAR1:=(2*CLOSE+HIGH+LOW)/4;
VAR2:=EXPMA(EXPMA(EXPMA(VAR1,4),4),4);
J:=(VAR2-REF(VAR2,1))/REF(VAR2,1)*100;
D:=MA(J,3);K:=MA(J,1),LINETHICK2;
XG:COUNT(VARCA,3)>=1 AND CROSS(K,D)AND J<=-0.2;
公式用到未来数据。{个人看法,仅供参考。}
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询