通达信三彩带MACD指标公式,通达信堪称一绝指标公式
admin888
|通达信三彩带MACD指标公式,通达信堪称一绝指标公式
通达信三彩带MACD指标公式
DIF1:=EMA(CLOSE,24) - EMA(CLOSE,52);
DEA1:=EMA(DIF1,18);
macd1:(DIF1-DEA1)*2,COLORstICK;
DIF11:=EMA(CLOSE,29) - EMA(CLOSE,68.5);
DEA11:=EMA(DIF11,31);
MacD11:(DIF11-DEA11)*2,COLORSTICK;
DRAWBAND(DIF11,RGB(255,100,230),DEA11,RGB(100,100,255));
DRAWBAND(DIF1,RGB(155,50,50),DEA1,RGB(0,100,50));
DIF:=EMA(CLOSE,6) - EMA(CLOSE,13);
DEA:=EMA(DIF,4.5);
MACD:(DIF-DEA)*2,COLORSTICK;
DRAWBAND(DIF,RGB(500,180,280),DEA,RGB(380,280,180));
STICKLINE(MACD11>0,0,MACD11,1.3,0),COLOR8800FF;
STICKLINE(MACD11<0,0,MACD11,1.3,0),COLORFFFF00;
STICKLINE(MACD1>0,0,MACD1,2,0),COLOR0000DD;
STICKLINE(MACD1<0,0,MACD1,2,0),COLORBLUE;
STICKLINE(MACD>0,0,MACD,0.4,0),COLORYELLOW;
STICKLINE(MACD<0,0,MACD,0.4,0),COLOR00DD00;
DIFFFF:DIF11,COLOR8800FF,LINETHICK0;
DEAAAA:DEA11,COLORFFAA00,LINETHICK0;
DIFFF:DIF1,COLORRED,LINETHICK0;
DEAAA:DEA1,COLORBLUE,LINETHICK0;
DIFF:DIF,COLORYELLOW,LINETHICK0;
DEAA:DEA,COLORGREEN,LINETHICK0;
AA:=BArslAST(REF(crOSS(DIF1,DEA1),1));
BB:=REF(CLOSE,AA+1)>CLOSE AND DIF1>REF(DIF1,AA+1) AND CROSS(DIF1,DEA1);
JCCOUNT:=COUNT(CROSS(DIF1,DEA1),BARSLAST(DEA1>=0));
二金:=CROSS(DIF1,DEA1) AND DEA1<0 AND COUNT(JCCOUNT=2,21)=1;
DRAWICON(二金,DEA*1.04,15) ;
DRAWTEXT(二金,-0.05,' 2'),COLORFF00FF;
VAR1:=EMA(CLOSE,12)-EMA(CLOSE,25);
VAR2:=EMA(VAR1,3);
VAR3:=VAR1>VAR2;
VAR4:=VAR1
STICKLINE(VAR3,VAR1,VAR2,1,0),COLORRED;
STICKLINE(VAR4,VAR1,VAR2,1,0),COLORGREEN;
DRAWICON(V>REF(HHV(V,59),1),0,2);
低位金叉:=CROSS(DIFF,DEA) AND DIFF<-0.12;
STICKLINE(低位金叉,0,0.08,6,0),COLORYELLOW;
DRAWTEXT(低位金叉,0.16,' 低'),COLORWHITE;
二次金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1;
STICKLINE(二次金叉,0,0.06,6,0),COLORFF00FF;
DRAWICON(二次金叉,DEA*0.9,1) ;
DRAWTEXT(二次金叉,0.2,' 二次金叉'),COLORYELLOW;
牛熊分界:0,COLORYELLOW,LINETHICK3,POINTDOT;
STICKLINE(VAR3,VAR1,VAR2,3,0),COLORWHITE;
STICKLINE(VAR4,VAR1,VAR2,1,0),COLORGREEN;
通达信堪称一绝指标公式
RSV:=(((CLOSE - LLV(LOW,34)) / (HHV(HIGH,34) - LLV(LOW,34))) * 100);
神仙:MEMA(RSV,3),COLORWHITE;
魔鬼:SMA(SMA(RSV,3,1),3,1),COLORYELLOW;
轨迹:SMA(SMA(SMA(RSV,3,1),3,1),3,1),COLORMAGENTA;
DRAWBAND(神仙,RGB(150, 0, 50 ), 魔鬼,RGB( 0, 60, 60)) ;
DRAWBAND(魔鬼,RGB(100, 0, 0 ), 轨迹,RGB( 0, 50,0)) ;
LSC:=REF(C,1);
RMI:=SMA(MAX(C-LSC,0),5,1)/SMA(Abs(C-LSC),5,1)*100;
RMIM:=SMA(RMI,3,1);
stICKLINE(RMIM>=50,50,RMIM,4,0),COLOR000080;
STICKLINE(RMIM>=50,50,RMIM,3,0),COLOR0000A6;
STICKLINE(RMIM>=50,50,RMIM,2,0),COLOR0000CE;
STICKLINE(RMIM>=50,50,RMIM,1,0),COLOR0000FF;
STICKLINE(RMIM<50,50,RMIM,4,0),COLOR800000;
STICKLINE(RMIM<50,50,RMIM,3,0),COLORB00000;
STICKLINE(RMIM<50,50,RMIM,2,0),COLORD50000;
STICKLINE(RMIM<50,50,RMIM,1,0),COLORFF0000;
STICKLINE(RMIM>80,80,RMIM,5,0),COLORGREEN;
STICKLINE(RMIM<20,20,RMIM,5,0),COLORWHITE;
A:=(C*3+O+H+L)/6;
XJ:=(A+0.618*REF(A,1)+0.382*REF(A,2)+0.236*REF(A,3)+0.146*REF(A,4))/2.382;
LX:=REF(XJ,1);
D1:=(SMA(MAX(XJ-LX,0),5,1)/SMA(ABS(XJ-LX),5,1))*100,COLOR0000FF;
D2:=(SMA(MAX(XJ-LX,0),7,1)/SMA(ABS(XJ-LX),7,1))*100,COLOR00FFFF;
N:=10;M1:=2;M2:=2;
Q_1:=C-REF(C,1);
Q_2:=100*EMA(EMA(Q_1,6),6)/EMA(EMA(ABS(Q_1),6),6);
Q_3:=crOSS(EMA(C,19),EMA(C,7));
Q_4:=CROSS(EMA(C,7),EMA(C,19));
Z1:=L=LLV(L,BArslAST(Q_3)+1);
Z2:=LLV(L,BARSLAST(Q_3)+1);
Z3:=H=HHV(H,BARSLAST(Q_4)+1);
Z4:=HHV(H,BARSLAST(Q_4)+1);
Q_A:=DRAWLINE(Z1,Z2,Z3,Z4,0);
Y1:=H=HHV(H,BARSLAST(Q_4)+1);
Y2:=HHV(H,BARSLAST(Q_4)+1);
Y3:=L=LLV(L,BARSLAST(Q_3)+1);
Y4:=LLV(L,BARSLAST(Q_3)+1);
Q_B:=DRAWLINE(Y1,Y2,Y3,Y4,0);
X01:=LLV(Q_2,2)=LLV(Q_2,7) ;
X2:=COUNT(Q_2<0,2);
X3:=CROSS(Q_2,MA(Q_2,2));
X5:=Q_A>REF(Q_B,1);
买进:=(X01 AND X2 AND X3) AND X4 AND X5;
堪称一绝:STICKLINE(REF(TJ,1)=0 AND TJ>=1 ANDcci<-40 ,80,20,0,-1) ,COLORRED;
地狱底:0,POINTDOT,COLORGRAY;
地狱线:10,POINTDOT,COLORGRAY;
地平线:20,COLORLIMAGENTA;
天际线:80,COLORGRAY;
清仓线:90,POINTDOT;
DRAWICON(CROSS(神仙,魔鬼) AND 神仙<=15,10,40);
DRAWICON((CROSS(神仙,10)),5,1);
DRAWICON((CROSS(魔鬼,rsi)) AND RSI>60,魔鬼,8);
P:神仙;R:魔鬼;G:轨迹;
关注:IF((REF(C,2)-REF(O,2))/REF(O,2)<=-0.002 AND (REF(O,1)-REF(C,2))/REF(C,2)<=0.01
AND (REF(C,1)-REF(O,1))/REF(O,1)<=-0.001 AND (O- REF(O,1))/REF(O,1)<=0
AND (C-O)/O>=0 {AND (C-O)/O<=0.02}
AND (MA(C,60)-C)/C>=0.2 AND CROSS(神仙,10),25,0);
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。