graphxspace=10;
_section_begin("on balance volume");
ob = obv(); e36 = ema(ob,36); e200 = ema(ob,200);
plot(ob,"",colorwhite,stylenotitle|stylethick);
plot(0,"",colorwhite,stylenolabel|stylenorescale|styledashed,0,0,5,-5);
plot(e200,"",colorbrightgreen,stylenolabel|stylenorescale);
plot(e36, "",colorgold,stylenolabel|stylenorescale|styledashed);
_section_end();
nd = day()!=ref(day(),-1);
lb = day()!=ref(day(),1);
ob = obv();
zero = valuewhen(lb,ob);
plot(zero,"",colorwhite,stylenolabel|stylenorescale|stylestaircase|styledashed);