I believe I have discovered a bug since upgrading to MC 8.7.7634 64 bit. I can confirm the following issue does not occur on version 8.5 Release (Build 6851).
I have a chart displaying hourly bars and am using the following code.
Code: Select all
If barstatus(1) = 2 then begin
print("Barnumber=", Barnumber+MaxBarsBack, " Open= ", open:1:5, " Close= ", close:1:5);
End;
NB. The Data Window on my chart displays the correct open and close values.
I'm using;
- intrabarordergeneration
- Extended backtesting Mode with bid and ask data
- Backtesting Precision is set to use Bar Magnifier, without "Skip ticks with identical prices" enabled.
Regards
Champski