通达信七道防线公式 有了他大部分不会被套

2016-01-06 12:45:00来源:本站整理浏览:239

通达信七道防线公式 有了他大部分不会被套

注意:把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<REF(C,1),H,L,0,0),COLORCYAN;
STICKLINE(C<REF(C,1),C,O,0,0),COLORBLUE;
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;

再送打老鼠洞公式

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);
DRAWRECTREL(300,965,900,965,80);
STICKLINE(C<REF(C,1),H,L,0,0),COLORCYAN;
STICKLINE(C<REF(C,1),C,O,0,0),COLORBLUE;
DRAWTEXT_FIX(1,0.6,0.965,1,"老鼠打洞"),COLORYELLOW;
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;

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式