N:=7;
TR := 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/TR,COLORFFFFFF;
MDI:DMM*100/TR,COLORYELLOW;
ADX:SMA(ABS(MDI-PDI)/(MDI+PDI)*100,N,1),COLOR0000FF,LAYER0;
{老K股票学习网-股票公式网站 }
春暖:= REF(PDI,1)REF(PDI,1) AND ADX>REF(ADX,1) AND PDI>MDI AND PDI>ADX AND C/REF(C,1)>1.01 ;
STICKLINE(春暖,0,20,2,0 ),COLORFF00FF,LAYER0;
60,COLORFFFF00,POINTDOT;
20,COLOR00FF00,POINTDOT;
Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号
免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!