通达信经典MACD指标公式,通达信换手率信号指标公式
admin888
|通达信经典MACD指标公式,通达信换手率信号指标公式
通达信经典MACD指标公式A:=vol*C;
B:=SUM(A,1)/SUM(VOL,1);
B1:=ema(B,17);
资金:=(B-B1)*100/B;
difF:Ema(资金,12)-EMA(资金,26);
DEA: EMA(DIFF,9);
M: 2*(DIFF-DEA), COLORstICK;
{红色立柱}STICKLINE(M>=REF(M,1)AND M>0,0,M,2.2,0),COLOR000088;
STICKLINE(M>=REF(M,1)AND M>0,0,M,1.5,0),COLOR0000AA;
STICKLINE(M>=REF(M,1)AND M>0,0,M,0.5,0),COLOR0000CC;
STICKLINE(M>=REF(M,1)AND M>0,0,M,0.1,0),COLOR0000EE;
{金黄色立柱}STICKLINE(M0,0,M,2.2,0),COLOR338888;
STICKLINE(M0,0,M,1.3,0),COLOR33AAAA;
STICKLINE(M0,0,M,0.9,0),COLOR33CCCC;
STICKLINE(M0,0,M,0.1,0),COLOR33EEEE;
{粉红立柱}STICKLINE(M>REF(M,1)AND M<0,0,M,2.2,0),COLORCC00CC;
STICKLINE(M>REF(M,1)AND M<0,0,M,1.1,0),COLOREE00EE;
STICKLINE(M>REF(M,1)AND M<0,0,M,0.1,0)COLORFF00FF;{绿色立柱}STICKLINE(M<=REF(M,1)AND M<0,0,M,2.2,0),COLOR009900;
STICKLINE(M<=REF(M,1)AND M<0,0,M,1.5,0),COLOR00BB00;
STICKLINE(M<=REF(M,1)AND M<0,0,M,1.1,0),COLOR00DD00;
STICKLINE(M<=REF(M,1)AND M<0,0,M,0.1,0),COLOR00FF00;
IF(DIFF<0,DIFF,0),COLORRED,LINETHICK2;
IF(DIFF<0,0,DIFF),COLORYELLOW,LINETHICK2;
IF(DIFF
IF(DIFF>DEA,DEA,DEA),COLORWHITE,LINETHICK1;
低金叉:=crOSS(DIFF,DEA) AND DIFF<-0.1;
{金黄色立柱}STICKLINE(低金叉,-4,-2,2.5,0),COLOR338888;
STICKLINE(低金叉,-4,-2,1.5,0),COLOR33AAAA;
STICKLINE(低金叉,-4,-2,0.9,0),COLOR33CCCC;
STICKLINE(低金叉,-4,-2,0.1,0),COLOR33EEEE;
STICKLINE(低金叉,-0.4,-2,0.3,1),COLOREE00EE;
DRAWTEXT(低金叉,-3,'低位金叉'),COLORYELLOW;
JCCOUNT:=COUNT(CROSS(DIFF,DEA),BArslAST(DEA>=0));
二金:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1;
{粉红立柱}STICKLINE(二金,0,-2.5,2,0),COLORCC00CC;
STICKLINE(二金,0,-2.5,1.5,0),COLOREE00EE;
STICKLINE(二金,0,-2.5,0.1,0)COLORFF00FF;
DRAWICON(二金,DEA*1.2,23) ;
DRAWTEXT(二金,-2,'二次金叉'),COLORFF00FF;
A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));
底背:=REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1)AND CROSS(DIFF,DEA);
{绿色立柱}STICKLINE(底背,0,2.5,2.5,0),COLOR009900;
STICKLINE(底背,0,2.5,1.4,0),COLOR00BB00;
STICKLINE(底背,0,2.5,0.5,0),COLOR00DD00;
STICKLINE(底背,0,2.5,0.1,0),COLOR00FF00;
STICKLINE(底背,4.5,2.5,0.3,1),COLOR0000FF;
DRAWLINE(A1=0,DEA,底背,DEA,0),COLORRED,LINETHICK2;
DRAWTEXT(底背,2,'底背离'),COLOR00FF00;
A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));
顶背:=REF(CLOSE,A2+1)
{深 青色立柱}{STICKLINE(顶背,2.5,4,3,0),COLORCC0000;
}STICKLINE(顶背,2.5,4,2.5,0),COLORFF4400;
STICKLINE(顶背,2.5,4,1.5,0),COLORFF8800;
STICKLINE(顶背,2.5,4,0.2,0),COLORFFCC00;
STICKLINE(顶背,0.4,2.5,0,0),COLORFFFFFF;
通达信换手率信号指标公式
FJ1:1;
FJ2:2;
FJ3:3;
FJ4:5;
FJ5:8;
FJ6:15
FJ7:25;
stICKLINE(C>0,FJ1,0,5,0 ),COLOR9F5F9F;
STICKLINE(C>0,FJ1,FJ2,5,0 ),COLOR545454;
STICKLINE(C>0,FJ2,FJ3,5,0 ),COLORD8BFD8;
STICKLINE(C>0,FJ3,FJ4,5,0 ),COLORLIRED;
STICKLINE(C>0,FJ4,FJ5,5,0 ),COLOR4F2F4F;
STICKLINE(C>0,FJ5,FJ6,5,0 ),COLORBC8F8F;
STICKLINE(C>0,FJ6,FJ7,5,0 ),COLOR4F4F2F;
HS:DYNAINFO(37)*100,LINETHICK2,COLORYELLOW;
DRAWTEXT(ISLASTBAR,1,'---1'),COLORGREEN;
DRAWTEXT(ISLASTBAR,2,'---2'),COLORGREEN;
DRAWTEXT(ISLASTBAR,3,'---3'),COLORGREEN;
DRAWTEXT(ISLASTBAR,5,'---5'),COLORGREEN;
DRAWTEXT(ISLASTBAR,8,'---8'),COLORGREEN;
DRAWTEXT(ISLASTBAR,15,'---15'),COLORGREEN;
DRAWTEXT(ISLASTBAR,25,'---25'),COLORGREEN;
DRAWTEXT(HS
DRAWTEXT(HS
DRAWTEXT(HS
DRAWTEXT(HS
DRAWTEXT(HS
DRAWTEXT(HS
DRAWTEXT(HS
DRAWTEXT(HS<100 AND HS>=FJ7 AND ISLASTBAR,HS,'-----怪异'),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=40,0.5,'绝对地量'),COLORWHITE;
DRAWTEXT(CURRBARSCOUNT=40,1.5,'成交低靡'),COLORWHITE;
DRAWTEXT(CURRBARSCOUNT=40,2.5,'成交温和'),COLOR5C3317;
DRAWTEXT(CURRBARSCOUNT=40,4,'成交活跃'),COLOR5C3317;
DRAWTEXT(CURRBARSCOUNT=40,6.5,'成交带量'),COLORWHITE;
DRAWTEXT(CURRBARSCOUNT=40,11.5,'成交放量'),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=40,20,'成交巨量'),COLORRED;
DRAWTEXT(CURRBARSCOUNT=40,26,'成交怪异'),COLORYELLOW;
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。