通达信macd金叉选股公式源码(通达信macd二次金叉
1、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;
2、请高手帮忙写个通达信MACD在零轴之上形成金叉的选股公式,万分感谢!!!!
DIF:EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:EMA(DIF,9);
MACD:=(DIF-DEA)2,COLORSTICK;
距离范围:=RANGE(DEA,-0.2,0.2); {调整值-0.2,0.2,扩大或缩小范围}
XG:CROSS(DIF,DEA) AND 距离范围;
下面是交叉前一天选股
DIF:EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:EMA(DIF,9);
MACD:(DIF-DEA)2,COLORSTICK;
XG:CROSS(MACD,-0.05) AND DEA>0;
这个是无法保证一定在交叉前一天,股价会影响MACD的速度。
3、MACD背离指标通达信指标公式源码
咳 有人答了
4、请高手帮忙编一个通达信60分钟MACD金叉的自动选股公式!
LONG :=26;
SHORT :=12;
M :=9;
DIFF :=EMA(CLOSE,SHORT) - EMA(CLOSE,LONG);
DEA :=EMA(DIFF,M);
MACD :=2(DIFF-DEA), COLORSTICK;
cross(DIFF,DEA);
在时间上选择60分钟就可以
这个只能选择正在穿过的,而不能选择已经穿过1小时或者2小时的股票。你可以选择diff在dea上方的股票,也就是可以这样写
LONG :=26;
SHORT :=12;
M :=9;
DIFF :=EMA(CLOSE,SHORT) - EMA(CLOSE,LONG);
DEA :=EMA(DIFF,M);
MACD :=2(DIFF-DEA), COLORSTICK;
DIFF>DEA;
5、通达信MACD公式,请高手请把下面指标公式里的金叉死叉+个箭头表示谢谢
DIFF:EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:EMA(DIFF,9);
MACD:2(DIFF-DEA), COLORSTICK,LINETHICK2;
低位金叉:=CROSS(DIFF,DEA) AND DIFF<-0.1;
STICKLINE(低位金叉,0,0.08,6,0),COLORYELLOW;
JCCOUNT:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0));
二次金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1;
STICKLINE(二次金叉,0,0.06,6,0),COLORFF00FF;
DRAWICON(二次金叉,DEA0.9,1) ;
DRAWTEXT(二次金叉,0.1,' 二次金叉'),COLORYELLOW;
DRAWICON(CROSS(DIFF,DEA),DEA1.02,1);
DRAWICON(CROSS(DEA,DIFF),DIFF0.98,2);
A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));
底背离:=REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA) AND DIFF<0;
STICKLINE(底背离,0,0.03,6,0),COLOR00FF00;
底背:DRAWLINE(A1=0,DEA,底背离,DEA,0),COLORRED,LINETHICK4;
DRAWTEXT(底背离,DIFF,' 底背离'),COLORFF00FF;
A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));
顶背离:=REF(CLOSE,A2+1)<CLOSE AND REF(DIFF,A2+1)>DIFF AND CROSS(DEA,DIFF);
顶背:DRAWLINE(A2=0,DEA,顶背离,DEA,0),COLORGREEN,LINETHICK4;
6、股票公式 周线MACD金叉 要求不用选股周期 周线直接编入公式内 通达信 懂的给编个 谢谢!
怪哉怪哉,我明明是回答过了呀?
再写一遍
DIF:="MACD.DIF#WEEK";
DEA:="MACD.DEA#WEEK";
XG:CROSS(DIF,DEA);
不懂扣我!
7、请高手选出通达信N日内macd二次金叉的股票公式?
COUNT(CROSS("MACD.MACD",0),N)=2;
股票入门教程
- 中国电科股票 中国电科股票600990
- 中国铝业股吧 中国铝业股吧股票行情分析
- 三六零股吧 三六零股吧千股千评
- 荣华实业股票 荣华实业股票股吧
- 恒大集团和碧桂园谁大 恒大地产与碧桂园地产哪
- 恒瑞医药股吧 恒瑞医药股吧分析讨论社区
- 300570太辰光股票 太辰光股吧东方财富
- 300504股票 天邑股份(300504)股票价格
- 300563股票 300563股票股吧
- 300554三超新材 300554三超新材目标价
- 四川长虹股票股吧 四川长虹股票股吧资金流向
- 拓中股份股票 拓中股份做什么的
- 中科曙光股票股吧 中科曙光股票股吧东方财富讨
- 中日韩自贸区概念股 中曰韩自贸区
- 今日钢材价格表 涟钢今日钢材价格表
- 剑南春股票 剑南春股票分红公告