公式指标平台 股票指标公式源码分享 登录 注册
公式指标平台
未来函数检测
首 页 金钻指标 通达信公式 大智慧公式 同花顺公式 文华财经公式 操盘手公式 东财通公式 飞狐公式 其他公式 公式解答 股票软件 股票池
当前位置:→ 公式指标平台 > 通达信公式 > 正文 → 正文

叠加主图的涨幅测量

发布时间:2013/7/4 7:12:55  浏览次数:

叠加主图的涨幅测量

{涨跌测量}
TIAOJIAN:=C=LLV(C,60) AND (C-HHV(C,15))/HHV(C,15)<0.10;
XA:=BACKSET(CROSS(0.5,TIAOJIAN),2);
DA:=BACKSET(CROSS(XA,0.5) OR (REF(TIAOJIAN,2)=1 AND REF(TIAOJIAN,1)=0 AND TIAOJIAN=1),1);
DAYS:=BARSLAST(DA);
涨幅:100*(C-REF(C,DAYS))/REF(C,DAYS),NODRAW;
低价:IF(CURRBARSCOUNT<=10 ,REF(C,DAYS),DRAWNULL),COLORBLUE;
DRAWTEXT(ISLASTBAR,REF(C,DAYS),'0﹪'),COLORBLUE;
涨10﹪:IF(CURRBARSCOUNT<=10 AND H>REF(C,DAYS)*1.1 ,REF(C,DAYS)*1.1,DRAWNULL);
DRAWTEXT(ISLASTBAR AND H>REF(C,DAYS)*1.1,REF(C,DAYS)*1.1,'10﹪'),COLORWHITE;
涨20﹪:IF(CURRBARSCOUNT<=10 AND H>REF(C,DAYS)*1.2 ,REF(C,DAYS)*1.2,DRAWNULL),COLORRED;
DRAWTEXT(ISLASTBAR AND H>REF(C,DAYS)*1.2,REF(C,DAYS)*1.2,'20﹪'),COLORRED;
涨30﹪:IF(CURRBARSCOUNT<=10 AND H>REF(C,DAYS)*1.3 ,REF(C,DAYS)*1.3,DRAWNULL),COLORYELLOW;
DRAWTEXT(ISLASTBAR AND H>REF(C,DAYS)*1.3,REF(C,DAYS)*1.3,'30﹪');
涨40﹪:IF(CURRBARSCOUNT<=10 AND H>REF(C,DAYS)*1.4 ,REF(C,DAYS)*1.4,DRAWNULL),COLORMAGENTA;
DRAWTEXT(ISLASTBAR AND H>REF(C,DAYS)*1.4,REF(C,DAYS)*1.4,'40﹪'),COLORMAGENTA;
涨50﹪:IF(CURRBARSCOUNT<=10 AND H>REF(C,DAYS)*1.5 ,REF(C,DAYS)*1.5,DRAWNULL),COLORCYAN;
DRAWTEXT(ISLASTBAR AND H>REF(C,DAYS)*1.5,REF(C,DAYS)*1.5,'50﹪'),COLORCYAN;
涨60﹪:IF(CURRBARSCOUNT<=10 AND H>REF(C,DAYS)*1.6 ,REF(C,DAYS)*1.6,DRAWNULL),COLORGREEN;
DRAWTEXT(ISLASTBAR AND H>REF(C,DAYS)*1.6,REF(C,DAYS)*1.6,'60﹪'),COLORGREEN;
涨70﹪:IF(CURRBARSCOUNT<=10 AND H>REF(C,DAYS)*1.7 ,REF(C,DAYS)*1.7,DRAWNULL),COLORGRAY;
DRAWTEXT(ISLASTBAR AND H>REF(C,DAYS)*1.7,REF(C,DAYS)*1.7,'70﹪'),COLORGRAY;
涨80﹪:IF(CURRBARSCOUNT<=10 AND H>REF(C,DAYS)*1.8 ,REF(C,DAYS)*1.8,DRAWNULL),COLORLIBLUE;
DRAWTEXT(ISLASTBAR AND H>REF(C,DAYS)*1.8,REF(C,DAYS)*1.8,'80﹪'),COLORLIBLUE;
涨90﹪:IF(CURRBARSCOUNT<=10 AND H>REF(C,DAYS)*1.9 ,REF(C,DAYS)*1.9,DRAWNULL),COLORLIRED;
DRAWTEXT(ISLASTBAR AND H>REF(C,DAYS)*1.9,REF(C,DAYS)*1.9,'90﹪'),COLORLIRED;
涨100﹪:IF(CURRBARSCOUNT<=10 AND H>REF(C,DAYS)*2.0 ,REF(C,DAYS)*2.0,DRAWNULL),COLORLICYAN;
DRAWTEXT(ISLASTBAR AND H>REF(C,DAYS)*2.0,REF(C,DAYS)*2.0,'100﹪'),COLORLICYAN;
涨150﹪:IF(CURRBARSCOUNT<=10 AND H>REF(C,DAYS)*2.5 ,REF(C,DAYS)*2.5,DRAWNULL),COLORBROWN;
DRAWTEXT(ISLASTBAR AND H>REF(C,DAYS)*2.5,REF(C,DAYS)*2.5,'150﹪'),COLORBROWN;
涨200﹪:IF(CURRBARSCOUNT<=10 AND H>REF(C,DAYS)*3.0 ,REF(C,DAYS)*3.0,DRAWNULL),COLORLIMAGENTA;
DRAWTEXT(ISLASTBAR AND H>REF(C,DAYS)*3.0,REF(C,DAYS)*3.0,'200﹪'),COLORLIMAGENTA;
涨250﹪:IF(CURRBARSCOUNT<=10 AND H>REF(C,DAYS)*3.5 ,REF(C,DAYS)*3.5,DRAWNULL),;
DRAWTEXT(ISLASTBAR AND H>REF(C,DAYS)*3.5,REF(C,DAYS)*3.5,'250﹪');
涨300﹪:IF(CURRBARSCOUNT<=10 AND H>REF(C,DAYS)*4.0 ,REF(C,DAYS)*4.0,DRAWNULL);
DRAWTEXT(ISLASTBAR AND H>REF(C,DAYS)*4.0,REF(C,DAYS)*4.0,'300﹪');

叠加主图的涨幅测量

资源下载链接   资源大小:unknow

关于我们 - 联系我们 - 广告合作 - 下载声明 - 网站帮助 - 友情链接 - 网站地图 - RSS订阅 - TOP
湘ICP备09016573号 增值电信业务经营ICP许可证:湘B2-20210269 湘公网安备43108102000039号
Copyright © GSZB.COM ,All Rights Reserved.
股票公式,股票指标,股票软件,股票知识