Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

strategy/indicator synchronization

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

    strategy/indicator synchronization

    when a strategy uses e.g. smaFast = SMA(Fast) & smaSlow = SMA(Slow) are the strategy & SMA series synchronised?

    e.g. current historical bar being processed by strategy[0] is also the current historical bar being processed by smaFast[0]?

    hope this makes sense?

    #2
    Hello delTik,

    When an indicator is called in Configure, this will use the primary data series as the input series.
    Yes, by using the primary series as the input series, the indicator (using the same data) will be in sync with the primary series of the script calling the indicator.

    If you were to create a custom data series and set this to sync with a secondary added data series and used this as the input series for the indicator, at that point it would not be in sync with the primary series and would be in sync with the secondary series.
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    669 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    378 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    111 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    575 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    580 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X