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 NullPointStrategies, Today, 05:17 AM
      0 responses
      20 views
      0 likes
      Last Post NullPointStrategies  
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      119 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      63 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      41 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      45 views
      0 likes
      Last Post TheRealMorford  
      Working...
      X