Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

SMA lead time on plot

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

    SMA lead time on plot

    I have plotted ^TICK in a chart as 5-minute candles during the NYSE session. I have added a 5-period SMA (simple moving average) indicator. The input series is ^TICK(5 Minute), the period is 5, it is calculated 'On Bar Close' and the displacement is 0. I would have expected the plot to begin after 5 bars, but instead it is plotting after 20 bars. Changing the inputs has no effect on this 20 bar no-plot area.

    When I said I was going to be starting over from scratch moving to a new platform, I didn't think it would be this much scratch! What am I doing wrong? Screenshot attached.

    #2
    Follow-up: I found the issue. NT requires a minimum of 20 bars for a plot. RTFM I guess. Leaving this up in case anyone else has this question.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    41 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    20 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    27 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    45 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    37 views
    0 likes
    Last Post CarlTrading  
    Working...
    X