说明:来测测手中的票在本波段中到底涨了多少吧。首先利用指标找到本波段的最低价位,然后依以此为基准计算涨幅百分比,让自己心中有数。
TIAOJIAN:=C=LLV(C,8) AND (C-HHV(C,15))/HHV(C,15)REF(C,DAYS)*1.1,REF(C,DAYS)*1.1,’10﹪’);
{概念股网-股票公式网站 }
涨15﹪:IF(CURRBARSCOUNTREF(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(CURRBARSCOUNTREF(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(CURRBARSCOUNTREF(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(CURRBARSCOUNTREF(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(CURRBARSCOUNTREF(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﹪’);