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 StockTrader88, 03-06-2021, 08:58 AM
      45 responses
      3,991 views
      3 likes
      Last Post johntraderuser2  
      Started by TAJTrades, Today, 09:46 AM
      0 responses
      6 views
      0 likes
      Last Post TAJTrades  
      Started by rhyminkevin, Yesterday, 04:58 PM
      5 responses
      62 views
      0 likes
      Last Post dp8282
      by dp8282
       
      Started by realblubb, Today, 09:28 AM
      0 responses
      8 views
      0 likes
      Last Post realblubb  
      Started by AaronKoRn, Yesterday, 09:49 PM
      1 response
      19 views
      0 likes
      Last Post Rikazkhan007  
      Working...
      X