Ah. So smart. laugh

:et me toss you another one. What's happening in this case?
Code:
function run() {
  if (is(INITRUN)) {
    BarPeriod = 60;
    Weekend = 1;
    LookBack = 1001;
    StartDate = 20080101;
    EndDate = 20150301;
    NumWFOCycles = 169;
  }

  vars Price = series(price());

  var uo400 = UO(Price, 400);
  if (Bar == 41712 && !is(LOOKBACK)) {
    print(
      TO_ANY,
      strf("\nAt bar %d in Cycle %d UO400=%f.", Bar, WFOCycle, uo400));
  }
}

Quote:
Made with Gamestudio by oP group 2015
Monte Carlo plugin mounted


wfobug compiling.................
WFO: wfobug 2008..2015
At bar 41712 in Cycle 151 UO400=-0.594472.
At bar 41712 in Cycle 152 UO400=-0.594472.
At bar 41712 in Cycle 153 UO400=-0.594472.
At bar 41712 in Cycle 154 UO400=-0.594471.
At bar 41712 in Cycle 155 UO400=-0.594476.
Time 00:00:03