火星人2010 发表于 2015-5-9 16:47

111111111111111111

木子李大哥 发表于 2016-2-15 16:00

学习一下,看一看

木子李大哥 发表于 2016-2-15 16:21

{N:=14;M:=6}
10,COLORLIRED;
20,COLORYELLOW;
40,COLORLIGREEN;
MTR:= SMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),N,1);
HD:= HIGH-REF(HIGH,1);
LD:= REF(LOW,1)-LOW;
DMP:= SMA(IF(HD>0 AND HD>LD,HD,0),N,1);
DMM:= SMA(IF(LD>0 AND LD>HD,LD,0),N,1);
PDI:= DMP*100/MTR;
MDI: DMM*100/MTR,COLORGREEN;
ADX:SMA(ABS(MDI-PDI)/(MDI+PDI)*100,N,1),COLORRED,LINETHICK2;
ADXR:=ADX+REF(ADX,M))/2,LINETHICK2;
XG:CROSS(ADX,MDI)AND ADX>ADXR;
STICKLINE(XG,20,35,2,0),COLORLIRED;

木子李大哥 发表于 2016-2-15 16:39

{N:=14;M:=6}
10,COLORLIRED;
20,COLORYELLOW;
40,COLORLIGREEN;
MTR:= SMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),N,1);
HD:= HIGH-REF(HIGH,1);
LD:= REF(LOW,1)-LOW;
DMP:= SMA(IF(HD>0 AND HD>LD,HD,0),N,1);
DMM:= SMA(IF(LD>0 AND LD>HD,LD,0),N,1);
PDI:= DMP*100/MTR;
MDI: DMM*100/MTR,COLORGREEN;
ADX:SMA(ABS(MDI-PDI)/(MDI+PDI)*100,N,1),COLORRED,LINETHICK2;
ADXR:=ADX+REF(ADX,M))/2,LINETHICK2;
XG:CROSS(ADX,MDI)AND ADX>ADXR;
STICKLINE(XG,20,35,2,0),COLORLIRED;

阿怯尼 发表于 2016-2-16 00:27

#在这里快速回复#只要不贪,一年翻番.成功率75%的副图及选

不畏艰难 发表于 2017-5-20 19:34

测试结果:L

178448888 发表于 2021-9-25 22:33

{N:=14;M:=6}
10,COLORLIRED;
20,COLORYELLOW;
40,COLORLIGREEN;
MTR:= SMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),N,1);
HD:= HIGH-REF(HIGH,1);
LD:= REF(LOW,1)-LOW;
DMP:= SMA(IF(HD>0 AND HD>LD,HD,0),N,1);
DMM:= SMA(IF(LD>0 AND LD>HD,LD,0),N,1);
PDI:= DMP*100/MTR;
MDI: DMM*100/MTR,COLORGREEN;
ADX:SMA(ABS(MDI-PDI)/(MDI+PDI)*100,N,1),COLORRED,LINETHICK2;
ADXR:=(ADX+REF(ADX,M))/2,LINETHICK2;
XG:CROSS(ADX,MDI)AND ADX>ADXR;
STICKLINE(XG,20,35,2,0),COLORLIRED;

qqaww3 发表于 2021-9-26 08:26

谢谢楼主分享

lajjs 发表于 2022-1-26 16:21


10,COLORLIRED;
20,COLORYELLOW;
40,COLORLIGREEN;
MTR:= SMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),14,1);
HD:= HIGH-REF(HIGH,1);
LD:= REF(LOW,1)-LOW;
DMP:= SMA(IF(HD>0 AND HD>LD,HD,0),14,1);
DMM:= SMA(IF(LD>0 AND LD>HD,LD,0),14,1);
PDI:= DMP*100/MTR;
MDI: DMM*100/MTR,COLORGREEN;
ADX:SMA(ABS(MDI-PDI)/(MDI+PDI)*100,14,1),COLORRED,LINETHICK2;
ADXR:(ADX+REF(ADX,6))/2,LINETHICK2;
XG:CROSS(ADX,MDI)AND ADX>ADXR;
STICKLINE(XG,20,35,2,0),COLORLIRED;

这个没有错误了,可以直接使用
:lol

随缘就是 发表于 2024-5-5 16:34

不好用,需要修改
页: 1 2 3 4 5 [6]
查看完整版本: 只要不贪,一年翻番.成功率75%的副图及选股公式