通达信KDJ画线指标公式,通达信春江花月指标公式
admin888
|通达信KDJ画线指标公式,通达信春江花月指标公式
通达信KDJ画线指标公式
RSV:=(CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100;
K:=SMA(RSV,9,1);
D:=Sma(K,3,1);
趋势J1:3*K-2*D;
趋势J2:ema(K,3);
stICKLINE(D>=HHV(D,21) AND REF(D,1)
WH:DRAWLINE(D>=HHV(D,21),D,D<=LLV(D,21),D,1);
IF(crOSS(趋势J1,WH) AND CROSS(趋势J2,WH),20,0);
WL:DRAWLINE(REF(D,1)<=REF(LLV(D,21),1),D,D>=HHV(D,21),D,1);
XG:IF(CROSS(WL,趋势J1) AND CROSS(WL,趋势J2),80,100);
通达信春江花月指标公式
stICKLINE(1=1,0,-macd,4,0),COLOR333300;
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;
IF(MACD3>0,-3,DRAWNULL),COLORFFFF00,POINTDOT;
IF(MACD3>0,-2,DRAWNULL),COLORFFFF00,POINTDOT;
IF(C>0,-1,-1),COLORFFFF00,POINTDOT;
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。