再给改一个DMI红蓝区 [博易POBO]
咨询内容:
再给改一个DMI红蓝区
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;
MDI: DMM*100/TR,COLORYELLOW;
趋势线:MA(EMA(PDI,2),10),COLORRED,LINETHICK2;
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),COLORFF8000;
STICKLINE(PDI<MDI,PDI,MDI,0.1,0),COLORBLUE;
ADX: EMA(ABS(MDI-PDI)/(MDI+PDI)*100,6),COLORGREEN;
ADXR:EMA(ADX,6),COLORMAGENTA;
20;
10;
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;
MDI: DMM*100/TR,COLORYELLOW;
趋势线:MA(EMA(PDI,2),10),COLORRED,LINETHICK2;
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),COLORFF8000;
STICKLINE(PDI<MDI,PDI,MDI,0.1,0),COLORBLUE;
ADX: EMA(ABS(MDI-PDI)/(MDI+PDI)*100,6),COLORGREEN;
ADXR:EMA(ADX,6),COLORMAGENTA;
20;
10; 来源 程序化久久网
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;
MDI: DMM*100/TR,COLORYELLOW;
趋势线:MA(EMA(PDI,2),10),COLORRED,LINETHICK2;
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),COLORFF8000;
STICKLINE(PDI<MDI,PDI,MDI,0.1,0),COLORBLUE;
ADX: EMA(ABS(MDI-PDI)/(MDI+PDI)*100,6),COLORGREEN;
ADXR:EMA(ADX,6),COLORMAGENTA;
20;
10;
来源:程序化99网( WWW.CXH99.COM )
博易技术人员: 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;
MDI: DMM*100/TR,COLORYELLOW;
趋势线:MA(EMA(PDI,2),10),COLORRED,LINETHICK2;
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),COLORFF8000;
STICKLINE(PDI<MDI,PDI,MDI,0.1,0),COLORBLUE;
ADX: EMA(ABS(MDI-PDI)/(MDI+PDI)*100,6),COLORGREEN;
ADXR:EMA(ADX,6),COLORMAGENTA;
20;
10; 来源 程序化久久网
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信号:cxh99cxh99 进行 有偿收费 编写!
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容