JS技术源码
(2013-04-03 11:04:19)
标签:
股票 |
分类: 程序源码 |
a1:=cyc(5)-ma(c,60);
a2:=cyc(5)-ma(c,20);
FILLRGN(0,a1,a1>0,RGB(255,0,0),a1<0,RGB(0,255,0));
stickline(a1<0 and a2>0 and
ref(a2>0,1)=0,0,-a1,5,8),colorred;
stickline(a1>0 and a2<0 and
ref(a2<0,1)=0,0,-a1,5,8),colorgreen;
简单版
a1:=cyc(5)-ma(c,60);
a2:=cyc(5)-ma(c,20);
FILLRGN(0,a1,a1>0,RGB(255,0,0),a1<0,RGB(0,255,0)),precis0;