Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

SMA lookback further?

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

    SMA lookback further?

    When trying to use strategies that use long dated SMA ie. 100 days, it is not calculating the correct value?

    I am trying to backtest from 1/1/2011 - present and its not looking back 100 days from Jan 1/1 to calculate the correct the SMA? When I try to chart it, it simply starts the 100 day SMA in Feb?

    thanks

    #2
    Dirygoatee,

    Please ensure that you are using something along the lines of

    SMA(period)[lookback], so SMA(100)[0] would suffice.

    Please let me know if I may assist further.
    Adam P.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    61 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    40 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    21 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    23 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    51 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X