大智慧红绿白源码简单趋势指标免费下载
DRAWGBKLAST(CLOSE》0,STRIP(RGB(95,95,95),RGB(0,0,0),0));
ZF:=(C/REF(C,1)-1)*100;
趋势:SUM(ZF,3),COLORFFFFFF,LINETHICK2;
PARTLINE(趋势,趋势》REF(趋势,1) AND 趋势》=0,RGB(255,0,0),趋势《REF(趋势,1) AND 趋势》0,RGB(0,255,0)),LINETHICK2;
超涨:IF(MA(ZF,3)》=5,15,0),COLOR0000FF;
WK:=趋势=LLV(趋势,4) AND 趋势-HHV(趋势,4)《=0-20 AND HHV(趋势,4)》=8;
挖坑:IF(WK,0-10,0),COLOR00FFFF;
超跌:IF(MA(ZF,3)《=0-5,0-15,0),COLOR00FF00;
CZSJ:=BARSLAST(超涨=15);
CDSJ:=BARSLAST(超跌=0-15);
DRAWTEXTABS(5,5,‘1’),linethick1,COLOR00EEff;
CZQY:=CZSJ《=8 AND CZSJ《=CDSJ AND COUNT(MA(趋势,3)》=0-5,CZSJ)=CZSJ;
CDQY:=CDSJ《=8 AND CDSJ《=CZSJ AND COUNT(MA(趋势,3)《=5,CDSJ)=CDSJ;
关注期:IF(CZQY,CZSJ+1,0),COLORFF00FF,POINTDOT;
跟踪期:IF(CDQY,0-CDSJ-1,0),COLORFF8800,POINTDOT;
{以下设置副图显示方式}
STICKLINE(CZQY,REF(趋势,CZSJ),REF(趋势,CZSJ),8,1),COLORFF00FF;
STICKLINE(CDQY,REF(趋势,CDSJ),REF(趋势,CDSJ),8,1),COLORFF8800;
VERTLINE(超涨=15,2),COLOR0000FF;
VERTLINE(超跌=0-15,2),COLOR00FF00;
Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号
免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!