通达信暴涨前源码附图
-
相关简介:希望高手再次优化,精准再精准 N:=3; M:=7; A:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),N); A1:=HIGH-REF(HIGH,1); A2:=REF(LOW,1)-LOW; DMP:=SUM(IF(A10 AND A1A2,A1,0),N); DMM:=SUM(IF(A20 AND A2A1,A2,0),N); PDI:=DMP*100/A; MDI:=DMM*100/A; ADX:
-
文章来源:股海网作者:股海网发布时间:2019-06-20浏览次数:
希望高手再次优化,精准再精准
N:=3;
M:=7;
A:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),N);
A1:=HIGH-REF(HIGH,1);
A2:=REF(LOW,1)-LOW;
DMP:=SUM(IF(A1>0 AND A1>A2,A1,0),N);
DMM:=SUM(IF(A2>0 AND A2>A1,A2,0),N);
PDI:=DMP*100/A;
MDI:=DMM*100/A;
ADX:=MA((ABS(MDI-PDI))/(MDI+PDI)*100,M);
ADXR:=(ADX+REF(ADX,M))/2;
暴涨前:IF(ADX>90 AND PDI=0,3,0),LINETHICK2,COLORFFFFFF;
上一篇:通达信三色球(公式主图选股源码 K线图)
下一篇:通达信精准背离源码附图