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 elirion, Today, 01:36 AM
    0 responses
    3 views
    0 likes
    Last Post elirion
    by elirion
     
    Started by gentlebenthebear, Today, 01:30 AM
    0 responses
    2 views
    0 likes
    Last Post gentlebenthebear  
    Started by samish18, Yesterday, 08:31 AM
    2 responses
    9 views
    0 likes
    Last Post elirion
    by elirion
     
    Started by Mestor, 03-10-2023, 01:50 AM
    16 responses
    389 views
    0 likes
    Last Post z.franck  
    Started by rtwave, 04-12-2024, 09:30 AM
    4 responses
    33 views
    0 likes
    Last Post rtwave
    by rtwave
     
    Working...
    X