DRAWBAND(20,RGB(0,80,120),0,RGB(0,200,0));
DRAWBAND(95,RGB(0,200,0),100,RGB(0,200,0));
DRAWTEXT_FIX(1,0.8,0.1,0,’绿头底部,翻红转势’),COLORWHITE;
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;
mdi:=DMM*100/MTR;
ADX:=EXPMEMA(ABS(MDI-PDI)/(MDI+PDI)*100,6);
ADXR:=EXPMEMA(ADX,6);
DRAWBAND(ADX,RGB(250,0,00),ADXR,RGB(100,80,200));
MDI1:DMM*100/MTR,COLORGREEN;
98;
黑:IF(ADX<20,19,0);
40;
60;
DRAWBAND(19,RGB(0,200,00),MDI1,RGB(0,200,0));
DRAWBAND(19,RGB(0,0,00),黑,RGB(0,0,0));
PDI1:DMP*100/MTR,LINETHICK2,COLORYELLOW;
高危区:95;

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。