Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Prevent NT to round EMA value to integer

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

    Prevent NT to round EMA value to integer

    Hello,

    Does anybody know how to prevent NT to round off EMA values to an integer?

    NT does this rounding for instance when an EMA is calculated on YM, an instrument that has its OHLC in integer values. When calculated on NQ, which has its OHLC in a multiple of .25, everything is ok; EMA values such as 1738.69 are plotted in a chart.

    I wonder if this rounding also happens in Strategy-code because that could lead to wrong trading decisions....

    Thanks!

    #2
    Its only rounded for display purposes. In indicators and strategies, the actual double value precision is maintained.
    RayNinjaTrader Customer Service

    Comment


      #3
      Hi Ray,

      Thanks for your quick response. As I said, this can lead to wrong decisions. For instance, when I buy because the Close Crossed Above my EMA, in reality it could be that this cross happened bacause the EMA was rounded down. Is there a way to always see the unrounded EMA value?
      Last edited by Nick88; 03-10-2008, 08:08 AM.

      Comment


        #4
        This is not supported at this time but is on our list to be changed later this year.
        RayNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by ghoul, Today, 06:02 PM
        1 response
        10 views
        0 likes
        Last Post NinjaTrader_Manfred  
        Started by jeronymite, 04-12-2024, 04:26 PM
        3 responses
        44 views
        0 likes
        Last Post jeronymite  
        Started by Barry Milan, Yesterday, 10:35 PM
        7 responses
        20 views
        0 likes
        Last Post NinjaTrader_Manfred  
        Started by AttiM, 02-14-2024, 05:20 PM
        10 responses
        180 views
        0 likes
        Last Post jeronymite  
        Started by DanielSanMartin, Yesterday, 02:37 PM
        2 responses
        13 views
        0 likes
        Last Post DanielSanMartin  
        Working...
        X