个股大盘 大智慧指标 源码 贴图 赚钱才是硬道理

2018-09-04 09:51:00来源:本站整理浏览:227

 x1:=(c-ref(c,1))/ref(c,1)*100;

x2:=(indexc-ref(indexc,1))/ref(indexc,1)*100;
xx:=x1-x2;
a1:ma(x1,2),linethick0;
a2:ma(x1,4),linethick0;
a3:ma(x1,10),linethick0;
a4:ma(x1,15),linethick0;
a5:ma(x1,30),linethick0;
a6:ma(x1,60),linethick0;
a7:ma(x1,120),linethick0;
FILLRGN(a1,0,a1>0,RGB(255,255,0),a1<0,RGB(0,255,0));
FILLRGN(a2,0,a2>0,RGB(255,0,0),a2<0,RGB(0,205,0));
FILLRGN(a3,0,a3>0,RGB(155,0,0),a3<0,RGB(0,155,0));
FILLRGN(a4,0,a4>0,RGB(125,0,0),a4<0,RGB(0,125,0));
FILLRGN(a5,0,a5>0,RGB(95,0,0),a5<0,RGB(0,95,0));
FILLRGN(a6,0,a6>0,RGB(65,0,0),a6<0,RGB(0,65,0));
FILLRGN(a7,0,a7>0,RGB(35,0,0),a7<0,RGB(0,35,0));

xx/3,color3d;


5,DOTLINE,COLORWHITE;
7,DOTLINE,COLORYELLOW;
-5,DOTLINE,COLORRED;
-7,dotline,colorgreen;

DRAWTEXTABS(5 ,5 ,'今日相对大盘涨幅:'+xx+'%');
DRAWTEXTABS(170 ,5 ,'连强:'+last(xx>0)+'天'),colorred;
DRAWTEXTABS(240 ,5 ,'连弱:'+last(xx<0)+'天'),colorgreen;
DRAWFLAGTEXT(5 ,5 ,'相对大盘涨幅:'+xx+'%');

个股大盘 大智慧指标 源码 贴图 点击下载个股大盘 大智慧指标 源码 贴图 

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式