Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

1st bar that plots a SMA (or EMA)

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

    1st bar that plots a SMA (or EMA)

    Hi, if I add a new chart to a new workspace then add a SMA (any period, but let's say 1 period to keep it simple), the first bar that plots a SMA value is the 20th bar. I just wanted to confirm if it is possible to show the SMA plot back to the earlier bars.

    Thanks.

    #2
    Hello REI140205,

    It is as expected that indicators are not calculated on the first 20 price bars in charts. This can't be changed and is to ensure the indicator uses enough data to make its calculations. If you like to view indicator values on these price bars, I suggest to load more historical data in the chart.
    JasonNinjaTrader Customer Service

    Comment


      #3
      Thanks for confirming.

      May I suggest a ticket be submitted to change this? Before plotting a SMA, my coding checks that there are sufficient bars, so a 50SMA needs 50 bars before attempting to calculate or plot the SMA. Skipping 20 bars is insufficient above 20SMA, and becomes excessive if one wants a SMA smaller than 20. I don't think it matters much (if at all) until one uses new instruments like the micro e-minis on a monthly chart ... these aren't old enough to have 20bars of data yet.

      Regards.

      Comment


        #4
        Thank you for the suggestion.

        I have submitted this as a feature request to the Development Team. I will follow up with an internal tracking number for your reference as soon as it is created.

        Thanks in advance for your patience.
        JasonNinjaTrader Customer Service

        Comment


          #5
          Thanks for your patience.

          The internal tracking number for your feature request is SFT-4435. We added your vote. Please reference this internal tracking number when contacting Platform Support if you ever have questions regarding this feature request.

          When a feature request is implemented, you'll find a description of the new feature in the release notes:
          JasonNinjaTrader Customer Service

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by elirion, Today, 01:36 AM
          0 responses
          3 views
          0 likes
          Last Post elirion
          by elirion
           
          Started by gentlebenthebear, Today, 01:30 AM
          0 responses
          2 views
          0 likes
          Last Post gentlebenthebear  
          Started by samish18, Yesterday, 08:31 AM
          2 responses
          9 views
          0 likes
          Last Post elirion
          by elirion
           
          Started by Mestor, 03-10-2023, 01:50 AM
          16 responses
          389 views
          0 likes
          Last Post z.franck  
          Started by rtwave, 04-12-2024, 09:30 AM
          4 responses
          33 views
          0 likes
          Last Post rtwave
          by rtwave
           
          Working...
          X