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 helpwanted, Today, 03:06 AM
          1 response
          11 views
          0 likes
          Last Post sarafuenonly123  
          Started by Brevo, Today, 01:45 AM
          0 responses
          9 views
          0 likes
          Last Post Brevo
          by Brevo
           
          Started by aussugardefender, Today, 01:07 AM
          0 responses
          5 views
          0 likes
          Last Post aussugardefender  
          Started by pvincent, 06-23-2022, 12:53 PM
          14 responses
          242 views
          0 likes
          Last Post Nyman
          by Nyman
           
          Started by TraderG23, 12-08-2023, 07:56 AM
          9 responses
          387 views
          1 like
          Last Post Gavini
          by Gavini
           
          Working...
          X