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 dr0832, Today, 07:02 PM
          0 responses
          1 view
          0 likes
          Last Post dr0832
          by dr0832
           
          Started by mlurskint8, Today, 05:27 PM
          3 responses
          15 views
          0 likes
          Last Post NinjaTrader_ShawnB  
          Started by SteveTheCPA, Today, 04:54 PM
          0 responses
          5 views
          0 likes
          Last Post SteveTheCPA  
          Started by Unsuitable, Today, 02:42 PM
          2 responses
          9 views
          0 likes
          Last Post Unsuitable  
          Started by ralett, Today, 11:52 AM
          4 responses
          25 views
          0 likes
          Last Post ralett
          by ralett
           
          Working...
          X