_SECTION_BEGIN("Intraday OBV");
nd=Day() != Ref(Day(), -1);
br=BarsSince(nd)+1;
diff = C - ref(C,-1);
xv=IIf(diff>=0,V,-v);
tv=Sum(xV,br);
col=IIf(tv>0,colorBrightGreen,colorRed);
Plot(tv , _DEFAULT_NAME(),col,stylethick);
PlotGrid(0,ParamColor("0 Line color",colorWhite));
_SECTION_END();