PDI趋势线 吃肉概率很大 通达信副图指标 源码 贴图 有未来
PDI趋势线 吃肉概率很大 通达信副图指标 源码 贴图 有未来
PDI线同时穿多条趋势线后续上涨概率更大~,对于前期比较强势的妖股,回调再次突破趋势线后,吃肉概率很大,祝大家早日捉妖
MTR:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),N);
HD :=HIGH-REF(HIGH,1);
LD :=REF(LOW,1)-LOW;
DMP:=SUM(IF(HD>0&&HD>LD,HD,0),N);
DMM:=SUM(IF(LD>0&&LD>HD,LD,0),N);
PDI: DMP*100/MTR;
MDI: DMM*100/MTR;
ADX: MA(ABS(MDI-PDI)/(MDI+PDI)*100,M) NODRAW ;
ADXR:(ADX+REF(ADX,M))/2 NODRAW;
X轴:20.00,COLORRED,LINETHICK2;
AA1:=REF(PDI,AN1)=LLV(PDI,2*AN1+1);
QY1:=BACKSET(AA1,AN1+1);{WWW.GPXIAZAI.COM}
ACC1:=FILTER(QY1,AN1) AND PDI=LLV(PDI,AN1+1);
JQS:=CROSS(BACKSET(BARSTATUS=2,SUMBARS(ACC1,1)),0.5);
YQS:=CROSS(BACKSET(BARSTATUS=2,SUMBARS(ACC1,2)),0.5);
CYQS:=CROSS(BACKSET(BARSTATUS=2,SUMBARS(ACC1,3)),0.5);
TJ1:=CROSS(PDI,20) NODRAW;
TJ2:=BACKSET(TJ1,BARSLAST(CROSS(PDI,20))+1);
TJ3:=FILTER(TJ2,BARSLAST(CROSS(PDI,20)));
TJ4:=CROSS(BACKSET(BARSTATUS=2,SUMBARS(TJ3,2)),0.5);
上穿距今:BARSLAST(CROSS(PDI,20)) NODRAW;
近趋势线:DRAWLINE(JQS,PDI,TJ4,20,1),COLORYELLOW,LINETHICK2;
远趋势线:DRAWLINE(YQS,PDI,TJ4,20,1),COLORMAGENTA,LINETHICK2;
超远趋势线:DRAWLINE(CYQS,PDI,TJ4,20,1),COLORRED,LINETHICK2;