Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Indicators plot first value after 20 bars

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

    Indicators plot first value after 20 bars

    I notice that all indicators, including a basic one such as SMA only begin plotting after the 20th chart bar.

    What is controlling this behavior and is there any way to alter this behavior?

    #2
    Hello GARZONJ,

    Thanks for your post.

    This is because indicators use a default BarsRequiredToPlot value of 20. New indicators can be made with this set to a lesser value to have plots appear further back. This was included as a general optimization to avoid drawing items early on when the indicator may not have calculated a valid plot value yet.



    Please let us know if we can be of further assistance.

    Comment


      #3
      Hi Jim,
      Other platforms use "preload bar" functionality.
      https://ninjatrader.com/support/foru...8-preload-bars
      This ensures, everything flies right from the start because all indicators are already set (as long as you have a data feed also covering this preloadbar period, which usually is not a problem). Can't understand why NT doesn't take this up. Just offer to load data for a certain number of earlier periods.
      Thanks for considering.
      NT-Roland

      Comment


        #4
        Hello NT-Roland,

        I have submitted a feature request for this behavior and I will follow up with a tracking number after I have received it.

        EDIT: Ticket ID SFT-4356

        We collect interest in feature requests before determining if the feature should be implemented. For that reason we cannot offer an ETA or promise of fulfillment. Upon implementation, the number for the ticket ID can be publicly found in the Release Notes page of the help guide. I will provide a link below.

        Release Notes - https://ninjatrader.com/support/help...ease_notes.htm

        Thanks for your feedback!
        Last edited by NinjaTrader_Jim; 11-08-2019, 11:41 AM.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        576 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        334 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        101 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        553 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        551 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X