参数:之幅度(3 9999 5)
[{涨幅量尺}(有未来函数,不用可删除)]
最低:=TROUGHBARS(L,之幅度,1);{调整之字幅度找到低位起点}
低价:=REF(L,BARSLAST(最低=0));
低价_:DRAWLINE(最低=0,L,ISLASTBAR,低价,0),COLORFFFF00;
FU:=C-低价_;
幅度:=FU/低价_*100,NODRAW;
DRAWTEXT(ISLASTBAR,低价_,'低价_'),COLOR208FFF;
_5%:DRAWLINE(最低=0,L*1.05,ISLASTBAR,低价*1.05,0),COLORFFFF00;
_8%:DRAWLINE(最低=0,L*1.08,ISLASTBAR,低价*1.08,0),COLORFFFF00;
_13%:DRAWLINE(最低=0,L*1.13,ISLASTBAR,低价*1.13,0),COLORFFFF00;
_18%:DRAWLINE(最低=0,L*1.18,ISLASTBAR,低价*1.18,0),COLORFFFF00;
_25%:DRAWLINE(最低=0,L*1.25,ISLASTBAR,低价*1.25,0),COLORFFFF00;
DRAWTEXT(ISLASTBAR,_5%,'5%'),COLOR208FFF;
DRAWTEXT(ISLASTBAR,_8%,'8%'),COLOR208FFF;
DRAWTEXT(ISLASTBAR,_13%,'13%'),COLOR208FFF;
DRAWTEXT(ISLASTBAR,_18%,'18%'),COLOR208FFF;
DRAWTEXT(ISLASTBAR,_25%,'25%'),COLOR208FFF;
禁止商业用途源码;