最新通达信主图指标 通达信DMI超级股转向公式源码
2016-10-25 15:55 股票知识 zhishi.southmoney.com
N:=14;M:=5;M1:=5;M2:=5;M3:=6;RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
TT:=SMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),
ABS(LOW-REF(CLOSE,1))),N,1);
HD:=HIGH-REF(HIGH,1);
LD:=REF(LOW,1)-LOW;
DMP:=SMA(IF(HD>0 AND HD>LD,HD,0),N,1);
DMM:=SMA(IF(LD>0 AND LD>HD,LD,0),N,1);
TJ:=1;
PDI:DMP*100/TT,COLORRED;
MDI:DMM*100/TT,COLORGREEN;
ADX:SMA(ABS(MDI-PDI)/(MDI+PDI)*100,M,1),COLORYELLOW,LINETHICK1;
ADXR:(ADX+REF(ADX,M))/2,COLORFF9900,LINETHICK1;(股票知识网zhishi.southmoney.com)
TT:=SMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),
ABS(LOW-REF(CLOSE,1))),N,1);
HD:=HIGH-REF(HIGH,1);
LD:=REF(LOW,1)-LOW;
DMP:=SMA(IF(HD>0 AND HD>LD,HD,0),N,1);
DMM:=SMA(IF(LD>0 AND LD>HD,LD,0),N,1);
TJ:=1;
PDI:DMP*100/TT,COLORRED;
MDI:DMM*100/TT,COLORGREEN;
ADX:SMA(ABS(MDI-PDI)/(MDI+PDI)*100,M,1),COLORYELLOW,LINETHICK1;
ADXR:(ADX+REF(ADX,M))/2,COLORFF9900,LINETHICK1;(股票知识网zhishi.southmoney.com)
股票知识网声明:资讯来源于合作媒体及机构,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。