Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

BUG: Low[] and High[] rounding error with FX

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    BUG: Low[] and High[] rounding error with FX

    Hi team,

    I have found a rounding bug with FX and the Low[] High[] array. To repeat this error, try and access the Low or High of a previous bar, for example Low[3] or High[4].

    Continually accessing this same bar will yield different results, for example 1.3379 and 1.3380 are common, even though the high or low of a previous bar has not changed.

    Could this be something to do with IB quoting to 5 decimal places? I.e. 0.00005

    Thanks
    Last edited by burnzau; 01-14-2013, 03:43 AM.

    #2
    Thanks for the report - which 'quote currencies in' setting are you using for IB? HalfPip?

    This would be set under Tools > Options > Data.

    Comment


      #3
      Thanks. My setting was on pip. I've now changed it to 1/10th pip and I think this may have solved the issue. Sorry you can delete this thread if you want.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CarlTrading, 03-31-2026, 09:41 PM
      1 response
      71 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      39 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      63 views
      2 likes
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      62 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      53 views
      0 likes
      Last Post CarlTrading  
      Working...
      X