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.
    BertrandNinjaTrader Customer Service

    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 hazylizard, Today, 08:38 AM
      2 responses
      8 views
      0 likes
      Last Post hazylizard  
      Started by geddyisodin, Today, 05:20 AM
      2 responses
      17 views
      0 likes
      Last Post geddyisodin  
      Started by Max238, Today, 01:28 AM
      5 responses
      47 views
      0 likes
      Last Post Max238
      by Max238
       
      Started by giulyko00, Yesterday, 12:03 PM
      3 responses
      13 views
      0 likes
      Last Post NinjaTrader_BrandonH  
      Started by habeebft, Today, 07:27 AM
      1 response
      16 views
      0 likes
      Last Post NinjaTrader_ChristopherS  
      Working...
      X