您的位置:查股网 > 查股公式 > 2468改编[查股公式]
股票行情消息查询:
大盘云图

2468改编[查股公式]

2022/8/23 9:18:47

{2468改编PDI指标}

MTR:=EXPMEMA(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:=EXPMEMA(IF(HD>0&&HD>LD,HD,0),14);

DMM:=EXPMEMA(IF(LD>0&&LD>HD,LD,0),14);

PDI:  DMP*100/MTR,COLORRED;

MDI:  DMM*100/MTR,COLORGREEN;

DRAWBAND(PDI,RGB(255,0,0),MDI,RGB(0,55,250));

ADX:= EXPMEMA(ABS(MDI-PDI)/(MDI+PDI)*100,6);

ADXR:=EXPMEMA(ADX,6);

STICKLINE(PDI,PDI,0,0.00001,0),COLORRED;

20,DOTLINE;

40,DOTLINE;

{IF(PDI<REF(PDI,1),PDI,DRAWNULL),COLORCYAN;}

STICKLINE(CROSS(20,PDI),PDI,0,0.0001,0),COLORGREEN;

STICKLINE(CROSS(PDI,20),0,PDI,0.0001,0),COLORYELLOW;

上穿: CROSS(PDI,MDI),COLORRED,NODRAW;

下穿: CROSS(MDI,PDI),COLORCYAN,NODRAW;

DRAWICON(上穿,PDI,25);

DRAWICON(下穿,PDI,24);

顶: PDI>40,COLORWHITE,NODRAW;

底: MDI>40,COLORCYAN,NODRAW;

STICKLINE(PDI>40,40,PDI,1,0),COLORWHITE;

STICKLINE(MDI>40,0,PDI,1,0),COLORCYAN;

相关文章列表
天天查股公式列表

股票公式分类

查股网:股票行情消息 实时DDX在线 资金流向 千股千评 业绩报告 十大股东 最新消息 超赢数据 大小非解禁 停牌复牌 股票分红查询 股票评级报告
广告客服:315126368   843010021
天天查股网免费查股,本站内容与数据仅供参考,不构成投资建议,据此操作,风险自担,股市有风险,投资需谨慎。 沪ICP备15043930号-29