通达信春江花月夜指标公式,通达信短线BBD指标公式
admin888
|通达信春江花月夜指标公式,通达信短线BBD指标公式
通达信春江花月夜指标公式
DI:=ema(C,3)-Ema(C,13);
DE:=EMA(DI,9);
macd:=2*(DI-DE)*10;
DI2:=EMA(C,5)-EMA(C,26);
DEA2:=EMA(DI2,9);
MacD2:=2*(DI2-DEA2)*10;
difF3:=EMA(C,7)-EMA(C,89);
DEA3:=EMA(DIFF3,21);
MACD3:=2*(DIFF3-DEA3)*10;
MMACD5:=MA(MACD3,3);
stICKLINE(1=1,0,REFDATE(LLV(-MACD3,1000),DATE),4,0),COLOR333300;
IF(MACD3<0,-MACD3,DRAWNULL)LINETHICK4,COLOR646400;
STICKLINE(MACD3<0,0,-MACD3,4,0),LINETHICK4,COLOR646400;
IF(MACD2<0,-MACD2,DRAWNULL)LINETHICK4,COLOR333333;
STICKLINE(MACD2<0,0,-MACD2,4,0),COLOR333333;
IF(MACD<0,-MACD,DRAWNULL)LINETHICK4,COLOR004444;
STICKLINE(MACD<0,0,-MACD,4,0),COLOR004444;
IF(MACD3>=0,MACD3,DRAWNULL)LINETHICK4,COLOR00CC00;
STICKLINE(MACD3>=0,0,MACD3,4,0),COLOR00CC00;
IF(MACD2>=0,MACD2,DRAWNULL)LINETHICK4,COLOR009900;
STICKLINE(MACD2>=0,0,MACD2,4,0),COLOR009900;
STICKLINE(MACD>=0,0,MACD,4,0),COLOR006600;
STICKLINE(MACD3>=0,0,-MACD3*0.8,4,0),COLOR666600;
STICKLINE(MACD2>=0,0,-MACD2*0.8,4,0),COLOR663300;
STICKLINE(MACD>=0,0,-MACD*0.8,4,0),COLOR333300;
小花:IF(MACD>=0 AND REF(MACD,1)<0,1,DRAWNULL),
crOSSDOT,LINETHICK6,COLORFF33FF;
IF(MACD>=0 AND REF(MACD,1)<0,1,DRAWNULL),POINTDOT,LINETHICK4,COLOR00CCFF;
春雪:IF(CROSS(MMACD5,MACD3),MACD3*1.2,DRAWNULL),CROSSDOT,
LINETHICK2,COLORFFFFFF;
红帆:STICKLINE(CROSS(MACD3,MMACD5) AND MACD3<0,MACD3*1.1,MACD3*1.1-0.5,16,1),COLORFFFFFF;
STICKLINE(CROSS(MACD3,MMACD5) AND MACD3<0,MACD3*1.1+3,MACD3*1.1+0.3,8,0),COLOR0000FF;
STICKLINE(CROSS(MACD3,MMACD5) AND MACD3<0,MACD3*1.1,MACD3*1.1+3.5,0.001,1),COLORFFFFFF;
IF(MACD>=0,-9,DRAWNULL),COLORFFFF00,POINTDOT;
IF(MACD2>=0,-8,DRAWNULL),COLORFFFF00,POINTDOT;
IF(C>0,-7,-7),COLORFFFF00,POINTDOT;
IF(MACD3>0,-6,DRAWNULL),COLORFFFF00,POINTDOT;
IF(MACD3>0,-5,-5),COLORFFFF00,POINTDOT;
IF(C>0,-4,-4),COLORFFFF00,POINTDOT;
通达信短线BBD指标公式
VAR111:=IF(DATE<10000000 AND DATE>1000000,1,0);
AL:=(C+L+H)/3;
ao:=SMA(AL,5,1)-Sma(AL,13,1)*VAR111;
bbd:(AO-SMA(AO, 3,1))*100,COLORFFCCFF,NODRAW;
BBDA:SMA(BBD,5,2),COLORRED,LINETHICK0;
RSV1:=BBD*VAR111;
RSV2:=BBDA*VAR111;
{BBD彩色柱体}VAR11:=IF(DATE<10000000 AND DATE>1000000,1,0);
BBD1:=IF(BBD>=REF(BBD,1)*VAR11,BBD,DRAWNULL)*VAR111;
stICKLINE(BBD1,0,BBD,3,0),COLOR000088;
STICKLINE(BBD1,0,BBD,1.5,0),COLOR0000AA;
STICKLINE(BBD1,0,BBD,1,0),COLOR0000CC;
STICKLINE(BBD1,0,BBD,0.5,0),COLOR0000FF;
STICKLINE(BBD2,0,BBD*VAR11,3,0),COLOR888800;
STICKLINE(BBD2,0,BBD*VAR11,1.5,0),COLORAAAA00;
STICKLINE(BBD2,0,BBD*VAR11,1,0),COLORCCCC00;
STICKLINE(BBD2,0,BBD*VAR11,0.5,0),COLORFFFF00;
SV1:=BArslAST(REF(crOSS(RSV1,RSV2),1));
SV1A:=REF(CLOSE,SV1+1)>CLOSE AND RSV1>REF(RSV1,SV1+1) ANDCROSS(RSV1,RSV2)*VAR11;上涨
BBD:IF(SV1A,RSV2,DRAWNULL),COLORRED;
DRAWTEXT(SV1A,RSV2,'─B底背'),COLOR0033FF;
SV2:=BARSLAST(REF(CROSS(RSV2,RSV1),1));
SV2A:=REF(CLOSE,SV2+1)
下跌BBD:IF(SV2A,RSV2,DRAWNULL),COLORFFFF00;
DRAWICON(((((LLV(BBD,4) > 0) AND (BBD < REF(BBD,1)))AND (REF(BBD*VAR11,1) > REF(BBD,2))) AND (REF(BBD*VAR111,2) > REF(BBD,3))),BBD,2*VAR111)*VAR111;
DRAWICON(((((HHV(BBD*VAR111,4) < 0) AND (BBD*VAR11 > REF(BBD,1)))AND (REF(BBD,1) < REF(BBD,2))) AND (REF(BBD,2)
dif:=ema(CLOSE,12)-EMA(CLOSE,26)*10;
DEA:=EMA(DIF,9);
上涨:(DIF-DEA)*2,COLOR0000EE,LINETHICK0;
下跌:上涨,COLORCYAN,NODRAW,LINETHICK0;
VARF:=TROUGHBARS(3,15,1)<4;
多空:=EMA((CLOSE-MA((2*CLOSE+HIGH+LOW)/4,30))
/MA((2*CLOSE+HIGH+LOW)/4,30)*100,3),LINETHICK1,COLORWHITE;
STICKLINE(FILTER(VARF=1,5) AND 多空<-10,下跌,0,3.2,1),COLOR00FFFF;
STICKLINE(FILTER(VARF=1,5),下跌,0,3,0),COLORAA00AA;
STICKLINE(FILTER(VARF=1,5),下跌,0,2.3,0),COLORBB00BB;
STICKLINE(FILTER(VARF=1,5),下跌,0,1.6,0),COLORCC00CC;
STICKLINE(FILTER(VARF=1,5),下跌,0,0.9,0),COLORDD00DD;
STICKLINE(FILTER(VARF=1,5),下跌,0,0.2,0),COLOREE00EE;
明天见底:FILTER(VARF=1,3) OR CROSS(多空,0) OR CROSS(多空,10),COLORFF00FF,NODRAW;
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。