可按Ctrl+D收藏 蚂蚁资源网

蚂蚁资源网

macd公式源码(修改macd参数后有惊人发现)

  • 全部评论(3)
  • 亚亚
  • 金叉并非万能,有时刚刚进入金叉或准金叉状态,也可能是上一波反弹的结束,下一波下跌的开始。只有当金叉周期的前后周期均为上涨趋势,金叉的威力才最大。业绩的持续增长才是技术指标32313133353236313431303231363533e78988e69d8331333363373735的前提和保证。1、0轴上方第一次金叉选股公式:DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);DEA := EMA(DIFF,9);MACD := 2*(DIFF-DEA);select:cross(diff,dea) and dea>-1.0 and dea<0.5 and CLOSE>ref(CLOSE,1) and CLOSE>=ma(c,60);或:DIF:=EMA(CLOSE,12)-EMA(CLOSE,26); DEA:=EMA(DIF,9); XG:DIF>0 AND DEA>0 AND CROSS(DIF,DEA);2、0轴上方二次金叉的选股公式:JC:IF(SUM(IF(MACD>0 AND CROSS(MACD.DIF,MACD.DEA),1,0),0)-HHV(IF(IF(CROSS(MACD.DEA,0),1,0),SUM(IF(MACD>0 AND CROSS(MACD.DIF,MACD.DEA),1,0),0),0),0)=2 AND SUM(IF(MACD>0 AND CROSS(MACD.DIF,MACD.DEA),1,0),0)>REF(SUM(IF(MACD>0 AND CROSS(MACD.DIF,MACD.DEA),1,0),0),1),10,0);3.0轴下方一次金叉的选股公式:DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIFF,9),COLORFFFF00;MACD:=(DIFF-DEA)*2;低位金叉:CROSS(DIFF,DEA) AND DIFF<-0.1;4、0轴下方二次金叉且第二次金叉高于第一次金叉:DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIF,9);AA:=BARSLAST(REF(CROSS(DIF,DEA),1));二次金叉:CROSS(DIF,DEA) AND DIF>REF(DIF,AA+1) AND AA<20 AND DIF<0;5、0轴下方二次金叉选股公式:DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26); {选股设JC=10即可}DEA:=EMA(DIFF,9);MACD:=2*(DIFF-DEA),COLORSTICK;A:=IF(CROSS(0,DEA),1,0);A1:=IF(DIFF<0 AND CROSS(DIFF,DEA),1,0);SS:=IF(A,SUM(A1,0),0);SSB:=HHV(SS,0);SSS:=SUM(A1,0);JC:IF(SSS-SSB=2 AND SSS>REF(SSS,1),10,0);股市平衡论---画线指标公式 指南针指标大全 地尺指标素材 公式编写(2) 主\副图BS指标 加码价与买进价竖线指标 2>1技术6、缩量横盘突破选股:WH01:=(HHV(C,10)-LLV(C,10))/LLV(C,10)*100<=10;WH02:=SUM(VOL,10)/CAPITAL*100<45;WH03:=REF(WH01,1);WH04:=HHVBARS(HIGH,55)>20 OR C=HHV(H,55);WH05:=WH02 AND WH03 AND WH04 AND C>REF(HHV(H,10),1);WH05 AND REF(NOT(WH05),1);7、均线、KDJ、MACD金叉的预警选股公式完全符合以下条件:1、5日线上穿10日线2、MACD金叉3、KDJ金叉(KDJ数值由9、3、3调整为9、9、9)4、成交量指标金叉日线MACD的一个长期参数,对于研判大盘的中长期走势有非常好的帮助,现在拿出来无私奉献给大家,希望对大家有用,只要你觉得不是水货,就顶一下,让更多的人看到。1:MACD(13 ,154,9)2:用它数波浪将不再困难。3:用它可以判断一个中期波段绝对的顶和绝对的底。4:在这里金叉和死叉将非常值钱。通达信预警选股公式A1:=CROSS(MA(C,5),MA(C,10));A2:=CROSS("MACD.DIF","MACD.DEA");A3:=CROSS("KDJ.K"(9,9,9),"KDJ.D"(9,9,9));A4:=CROSS(MA(V,5),MA(V,10));XG:A1 AND A2 AND A3 AND 4;三金叉选股完整源码,绝无未来函数均线、成交量、MACD同时金叉MA1:=MA(CLOSE,5);MA2:=MA(CLOSE,10);AA:=CROSS(MA1,MA2);AAA:=COUNT(AA,3)>=1;T1:=MA(VOL,5);T2:=MA(VOL,10);BB:=CROSS(T1,T2);BBB:=COUNT(BB,3)>=1;DIF:=EMA(CLOSE,12) - EMA(CLOSE,26);DEA:=EMA(DIF,9);MACD:=(DIF-DEA)*2;CC:=CROSS(DIF,DEA);CCC:=COUNT(CC,3)>=1;三金:=AAA AND BBB AND CCC;三金叉:FILTER(三金,3),COLORFF00FF;使用说明:该选股公式适合超级短线,快进快出具有一定的风险因素,此时的股价往往处于拉高拔升阶段。要求使用者特别关注股价所处的位置,如果过于高位防止庄家诱多。低位可大胆搏杀,短期回档被套也有回旋余地。------------------------------------------------------------------ 6、四线粘合N1:=5;N2:=10;N3:=20;M:=1;MA1:=MA(C,N1);MA2:=MA(C,N2);MA3:=MA(C,N3);A3:=V>REF(V,1)*1.5 AND V>MA(V,5);MAX(MA1,MAX(MA2,MA3))/MIN(MA1,MIN(MA2,MA3))<1+0.01*MAND C>O AND V> REF(V,1) AND FINANCE(7)<=300000000AND A3 AND CAPITAL<=300000000;7、均线粘合M:=1;M5:=MA(CLOSE,5);M10:=MA(CLOSE,10);M20:=MA(CLOSE,20);K1:=MAX(MAX(M5,M10),MAX(M10,M20));K2:=MIN(MIN(M5,M10),MIN(M10,M20));A:=MAX(M5,MAX(M10,M20))/MIN(M5,MIN(M10,M20))<1+0.01*M;A1:=(K1/K2-1)<0.005;A2:=(K1/K2-1)<0.005;A3:=V>REF(V,1)*1.5 AND V>MA(V,5);XG:A AND A1 AND A2 AND A3 ;8、多线粘合V0:=EMA(C,5);V1:=EMA(C,10);V2:=EMA(C,15);V3:=EMA(C,30);V4:=EMA(C,60);M1:=1000*V1/V4<=1015 AND 1000*V1/V4>=975;M2:=1000*V2/V4<=1020 AND 1000*V2/V4>=980;M3:=1000*V3/V4<=1015 AND 1000*V3/V4>=985;M4:=M1 AND M2 AND M3 AND CROSS(V0,V1);M5:=M1 AND M2 AND M3 AND CROSS(V0,V3);M4 OR M5;9、MACD天天挣钱选股指标公式DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIFF,9);XG:CROSS(REF(DEA,1),REF(DIFF,1)) AND CROSS(DIFF,DEA);10、短线之王VAR1:=(-100)*(HHV(HIGH,3)-CLOSE)/(HHV(HIGH,3)-LLV(LOW,3));CROSS(VAR1,-87) AND OPEN=1.099*REF(CLOSE,1) AND INDEXC>0.98*REF(INDEXC,1) AND CLOSE<=1.47*LLV(CLOSE,58);--------------------------------------------------------------------- 以上公式经过验证有效!下面公式有待验证。---------------------------------------------------------------------股市平衡论---画线指标公式 指南针指标大全 地尺指标素材 公式编写(2) 主\副图BS指标 加码价与买进价竖线指标 2>1技术【通达信】超准MACD(低位金叉、顶背离、零下二次金叉)-指标公式源码SQX:=(C-MA(CLOSE,13))*100;DIFF:EMA(MA(SQX,7),1),COLORWHITE;DEA:EMA(DIFF,7),COLORYELLOW;MACD:(DIFF-DEA)*2,COLORSTICK;低位金叉:IF(CROSS(DIFF,DEA) AND DIFF<-0.1,15,DRAWNULL),COLORYELLOW,LINETHICK4,CROSSDOT;JCCOUNT:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0));二次金叉:IF(CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1,28,DRAWNULL),COLORFF00FF,LINETHICK4,CROSSDOT;A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));底背离:IF(REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA),40,DRAWNULL),COLORRED,LINETHICK4,CROSSDOT;势:DRAWLINE(A1=0,DEA,底背离,DEA,0),COLORGREEN;{,COLORRED;}A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));顶背离:=REF(CLOSE,A2+1)DIFF AND CROSS(DEA,DIFF),COLORWHITE;顶背离_:IF(REF(CLOSE,A2+1)DIFFAND CROSS(DEA,DIFF),66,DRAWNULL),COLORF08000,LINETHICK4,CROSSDOT;压:DRAWLINE(A2=0,DEA,顶背离,DEA,0),COLORFFBB99;A3:=CROSS(DIFF,DEA) AND DEA<0;
  • 2021-03-21 18:50:01
  • 893811145
  • 展开全部MACD底背离:通达信版、同花顺版DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);DEA:=EMA(DIFF,9);MACD:=2*(DIFF-DEA);QZQ:=BARSLAST(REF(MACD,1)<0 AND MACD>0);QM:=LLVBARS(MACD,QZQ+20);MQDZ:=IF(QM>QZQ,REF(MACD,QM),0);XG1:=MACD<0 AND MACD>MQDZ AND CLOSE=LLV(CLOSE,QZQ+20) AND MQDZ<0;XG:REF(XG1,1)=1 AND MACD>REF(MACD,1);
  • 2021-02-12 09:12:56
  • ee
  • 求大神写通达信和MT4,MACD指标公式,DIF:=EMA(C,12)-EMA(C,26);DEA:=EMA(DIF,9);MACD:=(DIF-DEA)*2;M1:=MACDREF(MACD,1);M2:=DIF<0ANDDEA<0;M3:=(DIF-REF(DEA,1))/REF(DEA,1)*100;M4:=BETWEEN(M3,20,40);MXG:M1ANDM2ANDM4;
  • 2021-02-12 09:12:56
  • 商品推荐