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 demarcog, Today, 12:28 PM
          1 response
          6 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by demarcog, Today, 11:03 AM
          5 responses
          20 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by jo54321, Today, 04:26 AM
          1 response
          9 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by pserrera, Today, 03:26 AM
          1 response
          12 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by maxuscz, Today, 03:01 AM
          1 response
          9 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Working...
          X