博易大师指标 支撑助力主图
-
相关简介:TR:=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(HD0 AND HDLD,HD,0),N,1); DMM:=SMA(IF(LD0 AND LDHD,LD,0),N,1); PDI1:=DMP*100/TR,COLORRED; MDI1:=DMM*100/TR,COLORGREEN;
-
文章来源:股海网作者:股海网发布时间:2014-04-13浏览次数:
TR:=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);
PDI1:=DMP*100/TR,COLORRED;
MDI1:=DMM*100/TR,COLORGREEN;
ADX:SMA(ABS(MDI1-PDI1)/(MDI1+PDI1)*100,M,1),COLORYELLOW,LINETHICK2;
ADXR:(ADX+REF(ADX,M))/2,COLORMAGENTA;
STICKLINE(ADX<=REF(ADXR,1),ADX,ADXR,2,0),COLORBLUE;
STICKLINE(ADX>REF(ADXR,1),ADX,ADXR,2,0),COLORRED;
PDI:PDI1,COLORYELLOW;
MDI:MDI1,COLORGREEN;