麻烦老师画个竖线

08-01 20:04发布

 PDI 上穿MDI ,画红色竖线

PDI下穿MDI, 画绿色竖线
ADX下穿ADXR,画白色竖线
ADX上穿ADXR, 画白色竖线
谢谢老师 
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&&HD>LD,HD,0),14);
DMM:=EMA(IF(LD>0&&LD>HD,LD,0),14);
PDI: DMP*100/TR,COLORWHITE,LINETHICK2;
MDI: DMM*100/TR,COLORYELLOW,LINETHICK2;
趋势线:MA(EMA(PDI,2),10),COLORRED,LINETHICK3;
STICKLINE(PDI>趋势线,趋势线,PDI,0.05,0),COLORMAGENTA;
STICKLINE(PDI>MDI,PDI,趋势线,0.1,0),COLORRED;
STICKLINE(PDI>MDI,MDI,趋势线,0.1,0),COLORRED;
STICKLINE(PDI<趋势线,趋势线,PDI,0.05,0),RGB(255,128,0);
STICKLINE(PDI
ADX: EMA(ABS(MDI-PDI)/(MDI+PDI)*100,6),COLORMAGENTA,LINETHICK2;
ADXR:EMA(ADX,6),COLORGREEN,LINETHICK2;
20;
DRAWTEXT(CROSSDOWN(PDI,MDI),趋势线,'空'),COLORCYAN;
DRAWTEXT(CROSS(PDI,MDI),趋势线,'多'),COLORYELLOW;

 PDI 上穿MDI ,画红色竖线
PDI下穿MDI, 画绿色竖线
ADX下穿ADXR,画白色竖线
ADX上穿ADXR, 画白色竖线
谢谢老师 
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&&HD>LD,HD,0),14);
DMM:=EMA(IF(LD>0&&LD>HD,LD,0),14);
PDI: DMP*100/TR,COLORWHITE,LINETHICK2;
MDI: DMM*100/TR,COLORYELLOW,LINETHICK2;
趋势线:MA(EMA(PDI,2),10),COLORRED,LINETHICK3;
STICKLINE(PDI>趋势线,趋势线,PDI,0.05,0),COLORMAGENTA;
STICKLINE(PDI>MDI,PDI,趋势线,0.1,0),COLORRED;
STICKLINE(PDI>MDI,MDI,趋势线,0.1,0),COLORRED;
STICKLINE(PDI<趋势线,趋势线,PDI,0.05,0),RGB(255,128,0);
STICKLINE(PDI
ADX: EMA(ABS(MDI-PDI)/(MDI+PDI)*100,6),COLORMAGENTA,LINETHICK2;
ADXR:EMA(ADX,6),COLORGREEN,LINETHICK2;
20;
DRAWTEXT(CROSSDOWN(PDI,MDI),趋势线,'空'),COLORCYAN;
DRAWTEXT(CROSS(PDI,MDI),趋势线,'多'),COLORYELLOW;
付费偷看设置
发送
1条回答
无知无畏
1楼 · 08-01 20:32.采纳回答
 精彩回答 1  元偷偷看…… 0人看过

相关问答