炒股指标

显示 收起

通达信涨幅量尺买卖指标公式

通达信涨幅量尺买卖指标公式:包含未来函数:BACKSET

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%');
涨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%');

通达信涨幅量尺买卖指标公式实例图解:

通达信涨幅量尺买卖指标公式