TR:=EMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),14);
HD :=HIGH-REF(HIGH,1);
LD :=REF(LOW,1)-LOW;
DMP:=EMA(IF(HD>0 OR HD>LD,HD,0),14);
DMM:=EMA(IF(LD>0 OR LD>HD,LD,0),14);
PDI: DMP*100/TR,colorwhite;
MDI: DMM*100/TR,coloryellow;
趋势线:MA(EMA(PDI,2),10),colorred,LINETHICK2;
STICKLINE(PDI>趋势线,趋势线,PDI,0.05,0),colormagenta;
STICKLINE(PDI>MDI,PDI,趋势线,0.1,0),colorred;
STICKLINE(PDI>MDI,MDI,趋势线,0.1,0),COLORLIRED;
STICKLINE(PDI<趋势线,趋势线,PDI,0.05,0),COLORFF8000;
STICKLINE(PDI
ADXR:EMA(ADX,6),colormagenta;
Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号
免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!