通达信金牛取水指标公式,通达信MACD反身向上顶底背离指标公式
admin888
|通达信金牛取水指标公式,通达信MACD反身向上顶底背离指标公式
通达信金牛取水指标公式
difF:=ema(CLOSE,12) - Ema(CLOSE,26);
DEA:=EMA(DIFF,9);
macd:=2*(DIFF-DEA), COLORstICK;
WW:=DEA>REF(DEA,1);
DD:=crOSS(DIFF,REF(DIFF,1));
TT:WW AND DD;
MA1:=MA(C,5);
MA2:=MA(C,10);
MA3:=MA(C,20);
MA4:=MA(C,30);
MA5:=MA(C,40);
MA6:=MA(C,60);
P3:=Abs(MA1-MA2)+ABS(MA2-MA5)+ABS(MA1-MA5);
三线粘合:=IF(P3/C<6/100 AND MA1>REF(MA1,1),444,0)COLORFF00FF,LINETHICK3;
长:=LAST(CLOSE>MA6,30,8) AND LAST(MA1>MA6,20,6) AND LAST(MA2>MA6,20,6);
金牛取水:IF(长 AND C>MA1 AND C>MA2 AND C>MA6 AND 三线粘合AND MA1>REF(MA1,1) ANDvol/REF(MA(VOL,5),1)>1.8AND DIFF>REF(DIFF,1) AND MacD>-0.1AND REF(LOW,2)
AND C>REF(C,5),444,0)COLOR00CCCC,LINETHICK4;
P31:=ABS(MA1-MA2)+ABS(MA2-MA3)+ABS(MA1-MA3);
月三线粘合:=IF(P31/C<5/100,2222,0)COLORFF00FF,LINETHICK3;
牛嘴:=IF(月三线粘合 AND MA1>REF(MA1,1) AND C>MA1 AND C>MA2
AND C>MA6 AND MA1>MA6 AND MA2>MA6 AND DIFF>REF(DIFF,1)
AND MA5>REF(MA5,1) AND MA6>REF(MA6,1) AND MA4>REF(MA5,2)
AND MA6>REF(MA6,2) AND MA6>REF(MA6,3),2888,0)
COLOR0000FF,LINETHICK2;
金牛嘴:IF( 牛嘴 AND MACD>-0.32
AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>1.5/100
AND VOL/REF(MA(VOL,5),1)>1.5,222,0)COLORRED,LINETHICK4;
通达信MACD反身向上顶底背离指标公式
注:
1,macd反身向上选股TT=1.00
2,顶背离是画绿线,底背离时划红线。
2,以上公式放牛郎已测试,可以使用,放牛郎不再解答其他问题。difF:ema(CLOSE,12) - Ema(CLOSE,26);
DEA:EMA(DIFF,9);
MacD:2*(DIFF-DEA), COLORICK;
WW:=DEA>REF(DEA,1);
DD:=crOSS(DIFF,REF(DIFF,1));
TT:WW AND DD;
DRAWICON(CROSS(DIFF,DEA),DEA,1);
低位金叉:=CROSS(DIFF,DEA) AND DIFF<-0.1;
STICKLINE(低位金叉,0,0.3,8,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.2,8,0),COLORFF80FF;
DRAWICON(二次金叉,DEA*0.9,1) ;
A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));
底背离:=REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA);
STICKLINE(底背离,0,0.1,8,0),COLORRED;
DRAWLINE(A1=0,DEA,底背离,DEA,0),COLORRED,LINETHICK2;
A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));
顶背离:=REF(CLOSE,A2+1)
DRAWLINE(A2=0,DEA,顶背离,DEA,0),COLORGREEN,LINETHICK2;
DRAWICON(CROSS(DIFF,DEA),DEA,1);
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。