通达信MACD二次金叉指标公式,通达信大小黑马指标公式
admin888
|通达信MACD二次金叉指标公式,通达信大小黑马指标公式
通达信MACD二次金叉指标公式
dif:ema(C,12)-Ema(C,26),COLORRED;
DEA:EMA(DIF,9);
macd:2*(DIF-DEA),COLORstICK;
JCCOUNT:=COUNT(crOSS(DIF,DEA),BArslAST(DEA>=0));
二次金叉:=CROSS(DIF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1;
DRAWICON(二次金叉,DEA*0.9,1);
A1:=BARSLAST(REF(CROSS(DIF,DEA),1));
底背离:=REF(CLOSE,A1+1)>CLOSE AND DIF>REF(DIF,A1+1) AND CROSS(DIF,DEA);
底背:DRAWLINE(A1=0,DEA,底背离,DEA,0),COLORWHITE,LINETHICK2;
A2:=BARSLAST(REF(CROSS(DEA,DIF),1));
顶背离:=REF(CLOSE,A2+1)
顶背:DRAWLINE(A2=0,DEA,顶背离,DEA,0),COLOR824173,LINETHICK2;
通达信大小黑马指标公式
A11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*Sma((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1);
黑马线:=ema(A11,5);
A41:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;
趋势线:=(MA(3*SMA(A41,6,1)-2*SMA(SMA(A41,5,1),5,1),2));
DRAWTEXT(crOSS(趋势线,0)AND 黑马线<40,50,'大黑马'),COLORFFFF00;
{下面可以单独成立 砸锅卖田买}趋势线1:=(CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*130;
AAA:=((REF(趋势线1,1)=REF(趋势线1,1))OR (REF(CROSS(-30,趋势线1),1) AND CROSS(趋势线1,-30)) OR 趋势线1=-30;
DRAWTEXT(AAA,75,'买'),COLORYELLOW;
买:IF(AAA,75,0),COLORYELLOW;
{小黑马}A:=V*100/CAPITAL;
小黑马:=MA(A,180);
difF0:=(EMA(DCLOSE,12)-EMA(DCLOSE,26))*100;
DEA0:=EMA(DIFF0,9);
macd0:=2*(DIFF0-DEA0);
黑马:(MacD0>REF(MACD0,1)*2.5 AND MACD0>15),COLORFF00FF;
stICKLINE(黑马,00,50,1.0,0),COLORMAGENTA;
DRAWTEXT(黑马,20,'小黑马'),COLORWHITE;
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。