a=(ZDMR[-1]+BDMR[-1]);
b=(ZDMC[-1]+BDMC[-1]);
a1=SUM(a,1);
b1=-SUM(b,1);
STICKLINE(a1+b1>0,0,a1+b1,9,0),color0000ff;
STICKLINE(a1+b1<0,0,a1+b1,9,0),color00ff00;
三日bbd:SUM(a1+b1,3),colorcyan;
五日bbd:SUM(a1+b1,5),colorred;
十日bbd:SUM(a1+b1,10),colorwhite;