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 Harry, 05-02-2018, 01:54 PM
        10 responses
        3,203 views
        0 likes
        Last Post tharton3  
        Started by cre8able, Yesterday, 01:16 PM
        3 responses
        11 views
        0 likes
        Last Post cre8able  
        Started by ChartTourist, Today, 08:22 AM
        0 responses
        6 views
        0 likes
        Last Post ChartTourist  
        Started by LiamTwine, Today, 08:10 AM
        0 responses
        2 views
        0 likes
        Last Post LiamTwine  
        Started by Balage0922, Today, 07:38 AM
        0 responses
        5 views
        0 likes
        Last Post Balage0922  
        Working...
        X