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 tsantospinto, 04-12-2024, 07:04 PM
    5 responses
    67 views
    0 likes
    Last Post tsantospinto  
    Started by cre8able, Today, 03:20 PM
    0 responses
    6 views
    0 likes
    Last Post cre8able  
    Started by Fran888, 02-16-2024, 10:48 AM
    3 responses
    48 views
    0 likes
    Last Post Sam2515
    by Sam2515
     
    Started by martin70, 03-24-2023, 04:58 AM
    15 responses
    115 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by The_Sec, Today, 02:29 PM
    1 response
    8 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Working...
    X