通达信最新指标公式 通达信MACD波段线副图公式源码
2017-11-15 11:49 股票知识 zhishi.southmoney.com
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
DPYJ:=(K+D)/2,LINETHICK2 ;
基本线:=EMA(DPYJ,5)/1.5 ;
基本线2:=EMA(DPYJ,2)/1.5,COLORRED;
AAA:=(C*2+H+L)/4*10;
DF:=EMA(AAA,13)-EMA(AAA,34);
DEAA:=EMA(DF,5);
MACD:2*(DF-DEAA)*5.5,COLOR00FFFF,LINETHICK1;
MACDFS:= IF(MACD<=0,MACD,0),COLOR00FF00,LINETHICK2;
STICKLINE(MACDFS>REF(MACDFS,1),MACDFS,0,0.5,0),COLOR00FF00;
MACDZS:=IF(MACD>=0,MACD,0),COLORFF00FF,LINETHICK2;
STICKLINE(MACDZS>REF(MACDZS,1),MACDZS,0,0.5,0),COLORFF00FF;
VAR2AAA:=REF(LOW,1);
VAR3AAA:=SMA(ABS(LOW-VAR2AAA),13,1)/SMA(MAX(LOW-VAR2AAA,0),13,1)*100;
VAR4AAA:=EMA(IF(CLOSE*1.2,VAR3AAA*13,VAR3AAA/13),13);
VAR5AAA:=LLV(LOW,34);(股票知识网zhishi.southmoney.com)
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
DPYJ:=(K+D)/2,LINETHICK2 ;
基本线:=EMA(DPYJ,5)/1.5 ;
基本线2:=EMA(DPYJ,2)/1.5,COLORRED;
AAA:=(C*2+H+L)/4*10;
DF:=EMA(AAA,13)-EMA(AAA,34);
DEAA:=EMA(DF,5);
MACD:2*(DF-DEAA)*5.5,COLOR00FFFF,LINETHICK1;
MACDFS:= IF(MACD<=0,MACD,0),COLOR00FF00,LINETHICK2;
STICKLINE(MACDFS>REF(MACDFS,1),MACDFS,0,0.5,0),COLOR00FF00;
MACDZS:=IF(MACD>=0,MACD,0),COLORFF00FF,LINETHICK2;
STICKLINE(MACDZS>REF(MACDZS,1),MACDZS,0,0.5,0),COLORFF00FF;
VAR2AAA:=REF(LOW,1);
VAR3AAA:=SMA(ABS(LOW-VAR2AAA),13,1)/SMA(MAX(LOW-VAR2AAA,0),13,1)*100;
VAR4AAA:=EMA(IF(CLOSE*1.2,VAR3AAA*13,VAR3AAA/13),13);
VAR5AAA:=LLV(LOW,34);(股票知识网zhishi.southmoney.com)
股票知识网声明:资讯来源于合作媒体及机构,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。