请老师帮忙改成MACD 出现第一根红柱时的通达信选股公式

SQX:=(C-MA(CLOSE,13))*100;
DIFF:EMA(MA(SQX,7),1),COLOR00FFFF;
DEA:EMA(DIFF,7),COLORFF33FF;
MACD:(DIFF-DEA)*2,COLORSTICK;
低位金叉:IF(CROSS(DIFF,DEA) AND DIFF<-0.1,0.3,0),COLORYELLOW,POINTDOT;
STICKLINE(低位金叉,0,15,8,0),COLORYELLOW;
DRAWICON(低位金叉,0.3,1);
JCCOUNT:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0));
二次金叉:IF(CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1,0.2,0),COLORFF00FF,POINTDOT;
STICKLINE(二次金叉,30,15,8,0),COLORFF00FF;
A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));
底背离:IF(REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA),0.1,0),COLORRED,POINTDOT;
STICKLINE(底背离,45,30,8,0),COLORRED;DRAWLINE(A1=0,DEA,底背离,DEA,0),COLORRED;
A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));顶背离:REF(CLOSE,A2+1)<CLOSE AND REF(DIFF,A2+1)>DIFF AND CROSS(DEA,DIFF),COLORGREEN;
DRAWLINE(A2=0,DEA,顶背离,DEA,0),COLORGREEN;
A3:=CROSS(DIFF,DEA) AND DEA<0;
零下二次金叉:IF(FILTER(COUNT(A3,21)=2,10),0.05,0),COLORWHITE,POINTDOT;
STICKLINE(零下二次金叉,45,60,8,0),COLORWHITE;

第1个回答  2015-03-06
SQX:=(C-MA(CLOSE,13))*100;
DIFF:=EMA(MA(SQX,7),1);
DEA:=EMA(DIFF,7);
MACD:=(DIFF-DEA)*2;
REF(MACD,1)<=0 AND MACD>0;本回答被提问者和网友采纳

请老师帮忙改成MACD 出现第一根红柱时的通达信选股公式
MACD:=(DIFF-DEA)*2;REF(MACD,1)<=0 AND MACD>0;

求通达信60分钟图MACD出第一根红柱的选股公式
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIF,9);CROSS(DIF,DEA);选股时周期选60分钟 MACD称为指数平滑移动平均线,是从双指数移动平均线发展而来的,由快的指数移动平均线(EMA)减去慢的指数移动平均线,MACD的意义和双移动平均线基本相同,但阅读起来更方便。当MACD从负数转向正数,是买的...

求老师帮忙编写一个通达信MACD选股公式:意思是金叉在+0.10或者-0.10之间...
DIF:EMA(CLOSE,12)-EMA(CLOSE,26);DEA:EMA(DIF,9);MACD:(DIF-DEA)*2,COLORSTICK;JC:=CROSS(DIF,DEA) AND DEA>-0.1 AND DEA<0.1;STICKLINE(JC,0,-0.2,1,0),COLORRED;以下是选股公式代码:DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIF,9);MACD:=(DIF-DEA)*2,COLORSTICK;...

老师你好 帮我编一个通达信MACD 0轴上面(第一根)红柱选股公式
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIF,9);MACD:=(DIF-DEA)*2;卖出:CROSS(MACD,0);

求老师帮忙编写一个MACD0日线上出现第一根红柱时的选股指标源码(谢谢...
可以编写macd日线上出现第一根红柱时的选股指标公式源码,效果如下图。

通达信指标修改成选股(MACD相关),选出出现红柱(红柱首次放长1)
*2;0ANDMACD>{红柱选股}DIF,祝投资顺利:红柱首次放长ANDC>0ANDREF(MACD:=EMA(DIF:=MACD<,60);MA(C;REF(MACD;绿柱缩短;REF(MACD,希望能帮到你,1)<:=EMA(CLOSE,12)-EMA(CLOSE;{粉柱选股}DIF;DEA;0;MACD;股票公式专家团为你解答,4);XG,1)<,2)ANDREF(MACD;REF(MACD,...

求通达信公式:macd选股公式
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIF,9);MACD:=(DIF-DEA)*2;X1:DIF>REF(DIF,1) AND V>=MA(V,50),COLORRED;X2:MACD<REF(MACD,1),COLORGREEN;这样的条件设计会信号过多,而且,出现两条件重叠情况.

求通达信公式:今日macd第一个小红柱子出现(长度很短),且刚刚过去的macd...
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIF,9);MACD:=(DIF-DEA)*2;A:=MACD<-0.001 AND MACD>-0.02;REF(COUNT(A,3),1)=3 AND MACD>=0.01 AND MACD<=0.02 AND C\/REF(C,1)<1.03;测试通过!希望能够帮助你!

通达信软件macd是金叉(即是红柱状态)选股公式
DIFF:= EMA(CLOSE,12) - EMA(CLOSE,26);DEA:= EMA(DIFF,9);MACD:=2*(DIFF-DEA);XG1:=MACD>0;XG2:=CROSS(DIFF,DEA);XG:XG1 AND XG2;即出红柱金叉,这个也叫做MACD零上金叉,是零上,不是零轴上,符合你的要求。

通达信macd副图帮我改成选股公式
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIF,9);MACD:=(DIF-DEA)*2;AA:=BARSLAST(DIF>0 AND CROSS(DIF,DEA));第一次金叉:AA=1 AND FILTER(AA=1,30);参考资料:http:\/\/tieba.baidu.com\/f?kw=%B9%C9%C6%B1%B9%AB%CA%BD%D7%A8%BC%D2 ...

相似回答