飞狐玄黄未完副图指标
-
相关简介:飞狐玄黄未完副图指标 源码 TR := SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),14); HD := HIGH-REF(HIGH,1); LD := REF(LOW,1)-LOW; DMP:= SUM(IF(HD0 AND HDLD,HD,0),14); DMM:= SUM(IF(LD0 AND LDHD,LD,0),14); PDI:=DMP*100/TR; MDI:=DMM*100/TR; gg1
-
文章来源:股海网作者:股海网发布时间:2016-04-02浏览次数:
飞狐玄黄未完副图指标
源码
TR := SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),14);
HD := HIGH-REF(HIGH,1);
LD := REF(LOW,1)-LOW;
DMP:= SUM(IF(HD>0 AND HD>LD,HD,0),14);
DMM:= SUM(IF(LD>0 AND LD>HD,LD,0),14);
PDI:=DMP*100/TR;
MDI:=DMM*100/TR;
gg1:=pdi-mdi;
gg:=ma(gg1,34);
空头量:if(cross(10,gg),0,gg), linethick2;
多头量:if(cross(gg,-30) or cross(gg,-17) ,0,gg), linethick2;
多头衰竭:7,CROSSDOT,colorred;
空头衰竭:-20,CROSSDOT,colorgreen ;