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 swestendorf, Today, 11:14 AM
    0 responses
    0 views
    0 likes
    Last Post swestendorf  
    Started by Sparkyboy, Today, 10:57 AM
    0 responses
    3 views
    0 likes
    Last Post Sparkyboy  
    Started by TheMarlin801, 10-13-2020, 01:40 AM
    21 responses
    3,917 views
    0 likes
    Last Post Bidder
    by Bidder
     
    Started by timmbbo, 07-05-2023, 10:21 PM
    3 responses
    153 views
    0 likes
    Last Post grayfrog  
    Started by Lumbeezl, 01-11-2022, 06:50 PM
    30 responses
    812 views
    1 like
    Last Post grayfrog  
    Working...
    X