注意:把K线放到最大后退两步,能显示20天K线为好。
源码
DRAWRECTREL(300,125,900,125,80);
DRAWRECTREL(300,250,900,250,80);
DRAWRECTREL(300,375,900,375,80);
DRAWRECTREL(300,500,900,500,80);
DRAWRECTREL(300,625,900,625,80);
DRAWRECTREL(300,750,900,750,80);
DRAWRECTREL(300,875,900,875,80);
STICKLINE(C
STICKLINE(C
DRAWTEXT_FIX(1,0.3,0.875,1,'第一防线'),COLORYELLOW;
DRAWTEXT_FIX(1,0.3,0.75,1,'第二防线'),COLORYELLOW;
DRAWTEXT_FIX(1,0.3,0.625,1,'第三防线'),COLORYELLOW;
DRAWTEXT_FIX(1,0.3,0.5,1,'第四防线'),COLORYELLOW;
DRAWTEXT_FIX(1,0.3,0.375,1,'第五防线'),COLORYELLOW;
DRAWTEXT_FIX(1,0.3,0.25,1,'第六防线'),COLORYELLOW;
DRAWTEXT_FIX(1,0.3,0.125,1,'第七防线'),COLORYELLOW;