Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Bug when rendering built in SMA plot

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

    Bug when rendering built in SMA plot

    Hi,
    I think I just found a weird bug. Create a daily chart, of anything. Add the simple SMA indicator. I used a period of 5. The plot does not complete the last few bars, or, I should say, it appears not to render the plot, because if you scroll the chart further left, the plot does in fact complete. So, it seems for some reason, the SMA plot is not seeing the correct number of bars within the chart space?

    Anyway, simple video attached to demonstrate. Latest NT8. SMA(5) is orange plot.

    #2
    OK, small update - I found it does this if the displacement is not zero. In my case, it was set to 1.

    Comment


      #3
      Hello pjsmith,

      Thank you for your post and subsequent update.

      Just to confirm, you were able to resolve the issue by changing the displacement setting?

      Comment


        #4
        Yes, that is correct. Change displacement from 1 to 0, and the issue no longer appears to exist. Only tested, but that seemed to be the case.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CarlTrading, 03-31-2026, 09:41 PM
        1 response
        43 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
        29 views
        1 like
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        46 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        38 views
        0 likes
        Last Post CarlTrading  
        Working...
        X