PDC2 - Day before Yesterday's Close of OBV
Code:
_SECTION_BEGIN("OBV PDC2");
ND = Day()!=Ref(Day(),-1);
Ob = OBV();
pdc = ValueWhen(nd,Ref(Ob,-1),2);
if( ParamToggle("OBV PDC2 ", "No|Yes", 1))
Plot(pdc,"",colorRed,styleNoLabel|styleNoRescale|styleDashed);
_SECTION_END();