通达信涨幅量尺主图指标公式
2020/1/8 18:29:01
说明:来测测手中的票在本波段中到底涨了多少吧。首先利用指标找到本波段的最低价位,然后依以此为基准计算涨幅百分比,让自己心中有数。
TIAOJIAN:=C=LLV(C,8) AND (C-HHV(C,15))/HHV(C,15)<0.10;
X1:=BACKSET(CROSS(0.5,TIAOJIAN),2);
D:=BACKSET(CROSS(X1,0.5) OR (REF(TIAOJIAN,2)=1 AND REF(TIAOJIAN,1)=0 AND TIAOJIAN=1),1);
DAYS:=BARSLAST(D);
涨幅:100*(C-REF(C,DAYS))/REF(C,DAYS),NODRAW;
低价:IF(CURRBARSCOUNT<=10 ,REF(C,DAYS),DRAWNULL);
DRAWTEXT(ISLASTBAR,REF(C,DAYS),' 0﹪');
涨5﹪:IF(CURRBARSCOUNT<=10 AND H>REF(C,DAYS)*1.05 ,REF(C,DAYS)*1.05,DRAWNULL);
DRAWTEXT(ISLASTBAR AND H>REF(C,DAYS)*1.05,REF(C,DAYS)*1.05,' 5﹪');
涨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﹪');
{投股票网-股票公式网站 www.tou18.cn}
涨15﹪:IF(CURRBARSCOUNT<=10 AND H>REF(C,DAYS)*1.15 ,REF(C,DAYS)*1.15,DRAWNULL);
DRAWTEXT(ISLASTBAR AND H>REF(C,DAYS)*1.15,REF(C,DAYS)*1.15,'15﹪');
涨20﹪:IF(CURRBARSCOUNT<=10 AND H>REF(C,DAYS)*1.2 ,REF(C,DAYS)*1.2,DRAWNULL);
DRAWTEXT(ISLASTBAR AND H>REF(C,DAYS)*1.2,REF(C,DAYS)*1.2,'20﹪');
涨25﹪:IF(CURRBARSCOUNT<=10 AND H>REF(C,DAYS)*1.25 ,REF(C,DAYS)*1.25,DRAWNULL);
DRAWTEXT(ISLASTBAR AND H>REF(C,DAYS)*1.25,REF(C,DAYS)*1.25,'25﹪');
涨30﹪:IF(CURRBARSCOUNT<=10 AND H>REF(C,DAYS)*1.3 ,REF(C,DAYS)*1.3,DRAWNULL);
DRAWTEXT(ISLASTBAR AND H>REF(C,DAYS)*1.3,REF(C,DAYS)*1.3,'30﹪');
涨35﹪:IF(CURRBARSCOUNT<=10 AND H>REF(C,DAYS)*1.35 ,REF(C,DAYS)*1.35,DRAWNULL);
DRAWTEXT(ISLASTBAR AND H>REF(C,DAYS)*1.35,REF(C,DAYS)*1.35,'35﹪');
投 股票网 www. tou18.cn
股市公式下载推荐